Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.461 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 10 Sep 2024 18:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:09:09 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 10 Sep 2024 18:06:09 GMT Expires: Tue, 10 Sep 2024 18:13:09 GMT Keep-Alive: timeout=3 ETag: W/"971-1725990773578" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:07:09 GMT Content-Length: 0 Date: Tue, 10 Sep 2024 18:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:07:10 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:07:10 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:13:10 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: text/json;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=232 Connection: keep-alive Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:06:10 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:11:10 GMT Content-Length: 11 Date: Tue, 10 Sep 2024 18:06:09 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 10 Sep 2024 18:13:10 GMT Content-Length: 0 Date: Tue, 10 Sep 2024 18:06:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 10-Sep-2024 18:06:07.125 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 10-Sep-2024 18:06:08.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-Sep-2024 18:06:08.457 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:08.459 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:08.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33031"] 10-Sep-2024 18:06:09.107 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33031"] 10-Sep-2024 18:06:09.113 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:09.163 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33031"] 10-Sep-2024 18:06:09.176 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33031"] 10-Sep-2024 18:06:09.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 10-Sep-2024 18:06:09.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-Sep-2024 18:06:09.191 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:09.191 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:09.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43645"] 10-Sep-2024 18:06:09.334 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43645"] 10-Sep-2024 18:06:09.349 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:09.352 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43645"] 10-Sep-2024 18:06:09.376 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43645"] 10-Sep-2024 18:06:09.378 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 10-Sep-2024 18:06:09.379 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-Sep-2024 18:06:09.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 10-Sep-2024 18:06:09.400 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-Sep-2024 18:06:09.400 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:09.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:09.532 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 10-Sep-2024 18:06:09.707 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 10-Sep-2024 18:06:09.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39637"] 10-Sep-2024 18:06:09.835 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39637"] 10-Sep-2024 18:06:09.837 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:09.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39637"] 10-Sep-2024 18:06:09.848 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39637"] 10-Sep-2024 18:06:09.851 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 10-Sep-2024 18:06:09.852 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-Sep-2024 18:06:09.853 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:09.853 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:09.860 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41943"] 10-Sep-2024 18:06:09.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41943"] 10-Sep-2024 18:06:09.869 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:09.872 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41943"] 10-Sep-2024 18:06:09.880 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41943"] 10-Sep-2024 18:06:09.883 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 10-Sep-2024 18:06:09.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-Sep-2024 18:06:09.886 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:09.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:09.892 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39713"] 10-Sep-2024 18:06:09.924 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39713"] 10-Sep-2024 18:06:09.927 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:09.929 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39713"] 10-Sep-2024 18:06:09.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39713"] 10-Sep-2024 18:06:09.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 10-Sep-2024 18:06:09.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-Sep-2024 18:06:09.938 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 10-Sep-2024 18:06:09.939 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-Sep-2024 18:06:09.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:09.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:09.947 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34529"] 10-Sep-2024 18:06:10.001 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34529"] 10-Sep-2024 18:06:10.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.006 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34529"] 10-Sep-2024 18:06:10.014 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34529"] 10-Sep-2024 18:06:10.017 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 10-Sep-2024 18:06:10.021 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-Sep-2024 18:06:10.023 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.033 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36143"] 10-Sep-2024 18:06:10.043 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36143"] 10-Sep-2024 18:06:10.047 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.049 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36143"] 10-Sep-2024 18:06:10.059 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36143"] 10-Sep-2024 18:06:10.065 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 10-Sep-2024 18:06:10.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-Sep-2024 18:06:10.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41159"] 10-Sep-2024 18:06:10.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41159"] 10-Sep-2024 18:06:10.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.101 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41159"] 10-Sep-2024 18:06:10.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41159"] 10-Sep-2024 18:06:10.108 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 10-Sep-2024 18:06:10.110 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 10-Sep-2024 18:06:10.111 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.112 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.125 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46089"] 10-Sep-2024 18:06:10.135 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46089"] 10-Sep-2024 18:06:10.141 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.143 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46089"] 10-Sep-2024 18:06:10.148 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46089"] 10-Sep-2024 18:06:10.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 10-Sep-2024 18:06:10.150 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 10-Sep-2024 18:06:10.151 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 10-Sep-2024 18:06:10.153 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 10-Sep-2024 18:06:10.153 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.154 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.159 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41347"] 10-Sep-2024 18:06:10.170 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41347"] 10-Sep-2024 18:06:10.173 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.175 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41347"] 10-Sep-2024 18:06:10.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41347"] 10-Sep-2024 18:06:10.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 10-Sep-2024 18:06:10.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 10-Sep-2024 18:06:10.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.199 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-44631"] 10-Sep-2024 18:06:10.312 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-44631"] 10-Sep-2024 18:06:10.313 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.318 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-44631"] 10-Sep-2024 18:06:10.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-44631"] 10-Sep-2024 18:06:10.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 10-Sep-2024 18:06:10.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 10-Sep-2024 18:06:10.329 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Sep-2024 18:06:10.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 10-Sep-2024 18:06:10.347 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40479"] 10-Sep-2024 18:06:10.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40479"] 10-Sep-2024 18:06:10.375 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Sep-2024 18:06:10.377 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40479"] 10-Sep-2024 18:06:10.383 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40479"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.192 sec Testcase: testUseContentTypeExpiresConfiguration took 0.194 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.47 sec Testcase: testConfiguration took 0.031 sec Testcase: testNullContentType took 0.052 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.078 sec Testcase: testUseDefaultConfiguration2 took 0.048 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.041 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.032 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.139 sec Testcase: testEmptyContent took 0.061 sec