Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.281 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 18 Oct 2023 16:31:22 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:34:22 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 18 Oct 2023 16:31:22 GMT Expires: Wed, 18 Oct 2023 16:38:22 GMT Keep-Alive: timeout=3 ETag: W/"971-1697644716403" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:32:23 GMT Content-Length: 0 Date: Wed, 18 Oct 2023 16:31:22 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:32:23 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:32:23 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:38:23 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 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, 18 Oct 2023 16:31:22 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:31:23 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:36:23 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:38:23 GMT Content-Length: 0 Date: Wed, 18 Oct 2023 16:31:22 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 18-Oct-2023 16:31:21.209 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 18-Oct-2023 16:31:21.933 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 18-Oct-2023 16:31:22.029 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:22.030 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:22.260 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40693"] 18-Oct-2023 16:31:22.417 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40693"] 18-Oct-2023 16:31:22.419 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:22.452 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40693"] 18-Oct-2023 16:31:22.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40693"] 18-Oct-2023 16:31:22.463 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 18-Oct-2023 16:31:22.465 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 18-Oct-2023 16:31:22.488 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:22.488 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:22.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38397"] 18-Oct-2023 16:31:22.514 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38397"] 18-Oct-2023 16:31:22.516 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:22.519 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38397"] 18-Oct-2023 16:31:22.525 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38397"] 18-Oct-2023 16:31:22.543 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 18-Oct-2023 16:31:22.544 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 18-Oct-2023 16:31:22.545 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 18-Oct-2023 16:31:22.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 18-Oct-2023 16:31:22.665 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:22.665 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:22.751 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 18-Oct-2023 16:31:22.971 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45835"] 18-Oct-2023 16:31:22.991 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45835"] 18-Oct-2023 16:31:22.994 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45835"] 18-Oct-2023 16:31:23.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-45835"] 18-Oct-2023 16:31:23.010 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 18-Oct-2023 16:31:23.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 18-Oct-2023 16:31:23.018 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.032 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38263"] 18-Oct-2023 16:31:23.034 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38263"] 18-Oct-2023 16:31:23.035 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.037 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38263"] 18-Oct-2023 16:31:23.038 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38263"] 18-Oct-2023 16:31:23.040 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 18-Oct-2023 16:31:23.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 18-Oct-2023 16:31:23.048 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.048 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.053 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33039"] 18-Oct-2023 16:31:23.056 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33039"] 18-Oct-2023 16:31:23.057 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33039"] 18-Oct-2023 16:31:23.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33039"] 18-Oct-2023 16:31:23.064 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 18-Oct-2023 16:31:23.065 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 18-Oct-2023 16:31:23.065 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 18-Oct-2023 16:31:23.066 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 18-Oct-2023 16:31:23.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.072 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34297"] 18-Oct-2023 16:31:23.075 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34297"] 18-Oct-2023 16:31:23.076 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34297"] 18-Oct-2023 16:31:23.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34297"] 18-Oct-2023 16:31:23.081 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 18-Oct-2023 16:31:23.083 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 18-Oct-2023 16:31:23.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.087 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35551"] 18-Oct-2023 16:31:23.094 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35551"] 18-Oct-2023 16:31:23.100 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35551"] 18-Oct-2023 16:31:23.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35551"] 18-Oct-2023 16:31:23.106 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 18-Oct-2023 16:31:23.107 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 18-Oct-2023 16:31:23.109 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.109 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40283"] 18-Oct-2023 16:31:23.116 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40283"] 18-Oct-2023 16:31:23.117 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.118 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40283"] 18-Oct-2023 16:31:23.119 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40283"] 18-Oct-2023 16:31:23.122 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 18-Oct-2023 16:31:23.122 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 18-Oct-2023 16:31:23.124 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46725"] 18-Oct-2023 16:31:23.134 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46725"] 18-Oct-2023 16:31:23.136 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.138 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46725"] 18-Oct-2023 16:31:23.138 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46725"] 18-Oct-2023 16:31:23.142 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 18-Oct-2023 16:31:23.144 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 18-Oct-2023 16:31:23.144 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 18-Oct-2023 16:31:23.146 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 18-Oct-2023 16:31:23.152 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.152 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.156 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45061"] 18-Oct-2023 16:31:23.163 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45061"] 18-Oct-2023 16:31:23.166 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.167 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45061"] 18-Oct-2023 16:31:23.168 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45061"] 18-Oct-2023 16:31:23.171 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 18-Oct-2023 16:31:23.172 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 18-Oct-2023 16:31:23.175 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.180 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38259"] 18-Oct-2023 16:31:23.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38259"] 18-Oct-2023 16:31:23.186 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.188 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38259"] 18-Oct-2023 16:31:23.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38259"] 18-Oct-2023 16:31:23.191 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 18-Oct-2023 16:31:23.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 18-Oct-2023 16:31:23.195 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:31:23.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:31:23.200 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33181"] 18-Oct-2023 16:31:23.204 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33181"] 18-Oct-2023 16:31:23.206 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:31:23.208 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33181"] 18-Oct-2023 16:31:23.209 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33181"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.438 sec Testcase: testUseContentTypeExpiresConfiguration took 0.08 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.465 sec Testcase: testConfiguration took 0.03 sec Testcase: testNullContentType took 0.024 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.016 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.016 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.02 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.019 sec Testcase: testEmptyContent took 0.02 sec