Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.619 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 21 Feb 2024 15:41:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 21 Feb 2024 15:44:34 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:34 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 21 Feb 2024 15:41:34 GMT Expires: Wed, 21 Feb 2024 15:48:34 GMT Keep-Alive: timeout=3 ETag: W/"971-1708528701761" 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 15:42:34 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 15:41:34 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 15:42:34 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:34 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 15:42:35 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:34 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 15:48:35 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:35 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 15:41:35 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 21 Feb 2024 15:41:35 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:35 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=299 Connection: keep-alive Expires: Wed, 21 Feb 2024 15:46:35 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 15:41:35 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 15:48:35 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 15:41:35 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 21-Feb-2024 15:41:32.265 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 21-Feb-2024 15:41:33.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 21-Feb-2024 15:41:33.397 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:33.398 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:33.620 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43517"] 21-Feb-2024 15:41:33.888 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43517"] 21-Feb-2024 15:41:33.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:33.912 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43517"] 21-Feb-2024 15:41:33.915 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43517"] 21-Feb-2024 15:41:33.932 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 21-Feb-2024 15:41:33.965 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 21-Feb-2024 15:41:34.033 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:34.035 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:34.062 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33551"] 21-Feb-2024 15:41:34.085 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33551"] 21-Feb-2024 15:41:34.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:34.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33551"] 21-Feb-2024 15:41:34.107 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33551"] 21-Feb-2024 15:41:34.112 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 21-Feb-2024 15:41:34.122 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 21-Feb-2024 15:41:34.126 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 21-Feb-2024 15:41:34.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 21-Feb-2024 15:41:34.276 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:34.276 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:34.355 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Feb-2024 15:41:34.533 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36663"] 21-Feb-2024 15:41:34.553 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36663"] 21-Feb-2024 15:41:34.556 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:34.562 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36663"] 21-Feb-2024 15:41:34.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36663"] 21-Feb-2024 15:41:34.566 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 21-Feb-2024 15:41:34.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 21-Feb-2024 15:41:34.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:34.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:34.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42247"] 21-Feb-2024 15:41:34.695 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42247"] 21-Feb-2024 15:41:34.697 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:34.699 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42247"] 21-Feb-2024 15:41:34.700 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42247"] 21-Feb-2024 15:41:34.705 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 21-Feb-2024 15:41:34.707 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 21-Feb-2024 15:41:34.814 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:34.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:34.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40091"] 21-Feb-2024 15:41:34.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40091"] 21-Feb-2024 15:41:34.828 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:34.830 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40091"] 21-Feb-2024 15:41:34.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40091"] 21-Feb-2024 15:41:34.854 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 21-Feb-2024 15:41:34.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 21-Feb-2024 15:41:34.858 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 21-Feb-2024 15:41:34.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 21-Feb-2024 15:41:34.872 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:34.872 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:34.882 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41157"] 21-Feb-2024 15:41:34.900 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41157"] 21-Feb-2024 15:41:34.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:34.905 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41157"] 21-Feb-2024 15:41:34.906 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41157"] 21-Feb-2024 15:41:34.918 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 21-Feb-2024 15:41:34.923 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 21-Feb-2024 15:41:35.002 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.018 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37949"] 21-Feb-2024 15:41:35.021 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37949"] 21-Feb-2024 15:41:35.022 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.024 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37949"] 21-Feb-2024 15:41:35.025 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37949"] 21-Feb-2024 15:41:35.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 21-Feb-2024 15:41:35.041 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 21-Feb-2024 15:41:35.078 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44939"] 21-Feb-2024 15:41:35.097 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44939"] 21-Feb-2024 15:41:35.100 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44939"] 21-Feb-2024 15:41:35.104 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44939"] 21-Feb-2024 15:41:35.112 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 21-Feb-2024 15:41:35.114 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 21-Feb-2024 15:41:35.165 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.174 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 21-Feb-2024 15:41:35.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 21-Feb-2024 15:41:35.180 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.182 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 21-Feb-2024 15:41:35.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 21-Feb-2024 15:41:35.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 21-Feb-2024 15:41:35.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 21-Feb-2024 15:41:35.189 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 21-Feb-2024 15:41:35.190 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 21-Feb-2024 15:41:35.196 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35725"] 21-Feb-2024 15:41:35.215 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35725"] 21-Feb-2024 15:41:35.218 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.220 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35725"] 21-Feb-2024 15:41:35.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35725"] 21-Feb-2024 15:41:35.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 21-Feb-2024 15:41:35.226 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 21-Feb-2024 15:41:35.272 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.272 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 21-Feb-2024 15:41:35.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 21-Feb-2024 15:41:35.285 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 21-Feb-2024 15:41:35.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 21-Feb-2024 15:41:35.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 21-Feb-2024 15:41:35.294 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 21-Feb-2024 15:41:35.323 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 15:41:35.323 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.87-dev] 21-Feb-2024 15:41:35.331 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38323"] 21-Feb-2024 15:41:35.338 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38323"] 21-Feb-2024 15:41:35.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 15:41:35.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38323"] 21-Feb-2024 15:41:35.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38323"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.133 sec Testcase: testUseContentTypeExpiresConfiguration took 0.181 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.012 sec Testcase: testBug63909 took 0.44 sec Testcase: testConfiguration took 0.138 sec Testcase: testNullContentType took 0.139 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.013 sec Testcase: testUseDefaultConfiguration1 took 0.061 sec Testcase: testUseDefaultConfiguration2 took 0.12 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.074 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.075 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.034 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.067 sec Testcase: testEmptyContent took 0.057 sec