Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.633 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 21 Feb 2024 10:00:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:03:57 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:57 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 21 Feb 2024 10:00:57 GMT Expires: Wed, 21 Feb 2024 10:07:57 GMT Keep-Alive: timeout=3 ETag: W/"971-1708507987146" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:01:58 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 10:00:57 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:01:58 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:57 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:01:58 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:07:58 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:58 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: Wed, 21 Feb 2024 10:00:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:00:58 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:05:58 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 10:00:58 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 21 Feb 2024 10:07:58 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 10:00:58 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 21-Feb-2024 10:00:55.128 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 21-Feb-2024 10:00:56.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 21-Feb-2024 10:00:56.603 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:56.611 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:56.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37639"] 21-Feb-2024 10:00:57.010 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37639"] 21-Feb-2024 10:00:57.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:57.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37639"] 21-Feb-2024 10:00:57.065 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37639"] 21-Feb-2024 10:00:57.077 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 21-Feb-2024 10:00:57.080 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 21-Feb-2024 10:00:57.124 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:57.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:57.150 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39713"] 21-Feb-2024 10:00:57.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39713"] 21-Feb-2024 10:00:57.174 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:57.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39713"] 21-Feb-2024 10:00:57.185 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39713"] 21-Feb-2024 10:00:57.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 21-Feb-2024 10:00:57.198 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 21-Feb-2024 10:00:57.199 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 21-Feb-2024 10:00:57.210 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 21-Feb-2024 10:00:57.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:57.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:57.435 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Feb-2024 10:00:57.706 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38399"] 21-Feb-2024 10:00:57.729 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38399"] 21-Feb-2024 10:00:57.732 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:57.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38399"] 21-Feb-2024 10:00:57.739 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38399"] 21-Feb-2024 10:00:57.746 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 21-Feb-2024 10:00:57.755 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 21-Feb-2024 10:00:57.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:57.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:57.853 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 21-Feb-2024 10:00:57.854 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 21-Feb-2024 10:00:57.857 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:57.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 21-Feb-2024 10:00:57.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45307"] 21-Feb-2024 10:00:57.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 21-Feb-2024 10:00:57.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 21-Feb-2024 10:00:57.994 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:57.994 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46547"] 21-Feb-2024 10:00:58.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46547"] 21-Feb-2024 10:00:58.013 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.015 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46547"] 21-Feb-2024 10:00:58.016 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46547"] 21-Feb-2024 10:00:58.020 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 21-Feb-2024 10:00:58.021 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 21-Feb-2024 10:00:58.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 21-Feb-2024 10:00:58.023 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 21-Feb-2024 10:00:58.063 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.064 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.069 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46471"] 21-Feb-2024 10:00:58.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46471"] 21-Feb-2024 10:00:58.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.080 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46471"] 21-Feb-2024 10:00:58.081 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46471"] 21-Feb-2024 10:00:58.089 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 21-Feb-2024 10:00:58.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 21-Feb-2024 10:00:58.173 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.173 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.179 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36303"] 21-Feb-2024 10:00:58.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36303"] 21-Feb-2024 10:00:58.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.190 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36303"] 21-Feb-2024 10:00:58.191 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36303"] 21-Feb-2024 10:00:58.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 21-Feb-2024 10:00:58.196 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 21-Feb-2024 10:00:58.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.207 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44437"] 21-Feb-2024 10:00:58.211 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44437"] 21-Feb-2024 10:00:58.214 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44437"] 21-Feb-2024 10:00:58.218 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44437"] 21-Feb-2024 10:00:58.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 21-Feb-2024 10:00:58.222 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 21-Feb-2024 10:00:58.245 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.255 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33075"] 21-Feb-2024 10:00:58.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33075"] 21-Feb-2024 10:00:58.262 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.265 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33075"] 21-Feb-2024 10:00:58.266 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33075"] 21-Feb-2024 10:00:58.269 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 21-Feb-2024 10:00:58.270 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 21-Feb-2024 10:00:58.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 21-Feb-2024 10:00:58.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 21-Feb-2024 10:00:58.279 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.284 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37455"] 21-Feb-2024 10:00:58.289 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37455"] 21-Feb-2024 10:00:58.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.293 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37455"] 21-Feb-2024 10:00:58.293 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37455"] 21-Feb-2024 10:00:58.299 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 21-Feb-2024 10:00:58.300 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 21-Feb-2024 10:00:58.303 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.303 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40307"] 21-Feb-2024 10:00:58.322 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40307"] 21-Feb-2024 10:00:58.323 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.325 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40307"] 21-Feb-2024 10:00:58.328 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40307"] 21-Feb-2024 10:00:58.331 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 21-Feb-2024 10:00:58.334 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 21-Feb-2024 10:00:58.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 10:00:58.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 10:00:58.350 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37325"] 21-Feb-2024 10:00:58.355 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37325"] 21-Feb-2024 10:00:58.358 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 10:00:58.360 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37325"] 21-Feb-2024 10:00:58.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37325"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.204 sec Testcase: testUseContentTypeExpiresConfiguration took 0.117 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.547 sec Testcase: testConfiguration took 0.134 sec Testcase: testNullContentType took 0.139 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.066 sec Testcase: testUseDefaultConfiguration2 took 0.106 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.026 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.032 sec Testcase: testEmptyContent took 0.033 sec