Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.15 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 13 Oct 2023 08:12:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:15:58 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 13 Oct 2023 08:12:58 GMT Expires: Fri, 13 Oct 2023 08:19:59 GMT Keep-Alive: timeout=3 ETag: W/"971-1697183448781" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:13:59 GMT Content-Length: 0 Date: Fri, 13 Oct 2023 08:12:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:13:59 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:13:59 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:19:59 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12: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: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:12:59 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:17:59 GMT Content-Length: 11 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 13 Oct 2023 08:19:59 GMT Content-Length: 0 Date: Fri, 13 Oct 2023 08:12:58 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-Oct-2023 08:12:57.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-Oct-2023 08:12:58.218 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Oct-2023 08:12:58.314 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:58.314 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:58.481 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 13-Oct-2023 08:12:58.624 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 13-Oct-2023 08:12:58.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:58.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 13-Oct-2023 08:12:58.658 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39509"] 13-Oct-2023 08:12:58.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-Oct-2023 08:12:58.676 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Oct-2023 08:12:58.762 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:58.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:58.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43369"] 13-Oct-2023 08:12:58.795 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43369"] 13-Oct-2023 08:12:58.797 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:58.800 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43369"] 13-Oct-2023 08:12:58.801 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43369"] 13-Oct-2023 08:12:58.804 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-Oct-2023 08:12:58.805 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Oct-2023 08:12:58.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-Oct-2023 08:12:58.816 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Oct-2023 08:12:58.896 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:58.896 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:58.966 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-Oct-2023 08:12:59.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38975"] 13-Oct-2023 08:12:59.111 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38975"] 13-Oct-2023 08:12:59.112 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.117 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38975"] 13-Oct-2023 08:12:59.118 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38975"] 13-Oct-2023 08:12:59.121 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-Oct-2023 08:12:59.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Oct-2023 08:12:59.126 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41563"] 13-Oct-2023 08:12:59.132 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41563"] 13-Oct-2023 08:12:59.135 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.136 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41563"] 13-Oct-2023 08:12:59.137 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41563"] 13-Oct-2023 08:12:59.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-Oct-2023 08:12:59.141 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Oct-2023 08:12:59.152 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.152 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.157 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40339"] 13-Oct-2023 08:12:59.161 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40339"] 13-Oct-2023 08:12:59.162 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.165 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40339"] 13-Oct-2023 08:12:59.165 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40339"] 13-Oct-2023 08:12:59.169 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-Oct-2023 08:12:59.170 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Oct-2023 08:12:59.171 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-Oct-2023 08:12:59.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Oct-2023 08:12:59.179 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.179 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.186 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37407"] 13-Oct-2023 08:12:59.190 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37407"] 13-Oct-2023 08:12:59.190 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.192 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37407"] 13-Oct-2023 08:12:59.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37407"] 13-Oct-2023 08:12:59.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-Oct-2023 08:12:59.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Oct-2023 08:12:59.202 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.202 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.206 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37045"] 13-Oct-2023 08:12:59.209 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37045"] 13-Oct-2023 08:12:59.210 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.211 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37045"] 13-Oct-2023 08:12:59.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37045"] 13-Oct-2023 08:12:59.215 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-Oct-2023 08:12:59.217 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Oct-2023 08:12:59.220 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.220 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.233 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42949"] 13-Oct-2023 08:12:59.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42949"] 13-Oct-2023 08:12:59.237 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.238 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42949"] 13-Oct-2023 08:12:59.239 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42949"] 13-Oct-2023 08:12:59.242 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-Oct-2023 08:12:59.244 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 13-Oct-2023 08:12:59.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.253 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33783"] 13-Oct-2023 08:12:59.261 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33783"] 13-Oct-2023 08:12:59.264 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.265 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33783"] 13-Oct-2023 08:12:59.265 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33783"] 13-Oct-2023 08:12:59.268 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-Oct-2023 08:12:59.269 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 13-Oct-2023 08:12:59.269 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-Oct-2023 08:12:59.271 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 13-Oct-2023 08:12:59.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38639"] 13-Oct-2023 08:12:59.284 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38639"] 13-Oct-2023 08:12:59.287 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.288 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38639"] 13-Oct-2023 08:12:59.289 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38639"] 13-Oct-2023 08:12:59.291 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-Oct-2023 08:12:59.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 13-Oct-2023 08:12:59.294 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.295 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.299 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33555"] 13-Oct-2023 08:12:59.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33555"] 13-Oct-2023 08:12:59.308 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33555"] 13-Oct-2023 08:12:59.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33555"] 13-Oct-2023 08:12:59.312 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-Oct-2023 08:12:59.314 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 13-Oct-2023 08:12:59.318 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Oct-2023 08:12:59.318 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 13-Oct-2023 08:12:59.322 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46759"] 13-Oct-2023 08:12:59.325 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46759"] 13-Oct-2023 08:12:59.328 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Oct-2023 08:12:59.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46759"] 13-Oct-2023 08:12:59.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46759"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.442 sec Testcase: testUseContentTypeExpiresConfiguration took 0.13 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.315 sec Testcase: testConfiguration took 0.018 sec Testcase: testNullContentType took 0.029 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.024 sec Testcase: testUseDefaultConfiguration2 took 0.019 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.027 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.021 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.021 sec Testcase: testEmptyContent took 0.021 sec