Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.194 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 19 Oct 2023 10:38:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:41:16 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 19 Oct 2023 10:38:16 GMT Expires: Thu, 19 Oct 2023 10:45:17 GMT Keep-Alive: timeout=3 ETag: W/"971-1697710936485" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:39:17 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 10:38:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:39:17 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:39:17 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:45:17 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 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: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:38:17 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:43:17 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 10:45:17 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 10:38:16 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 19-Oct-2023 10:38:15.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 19-Oct-2023 10:38:16.209 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 19-Oct-2023 10:38:16.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:16.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:16.422 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33439"] 19-Oct-2023 10:38:16.635 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33439"] 19-Oct-2023 10:38:16.637 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:16.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33439"] 19-Oct-2023 10:38:16.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33439"] 19-Oct-2023 10:38:16.669 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 19-Oct-2023 10:38:16.677 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 19-Oct-2023 10:38:16.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:16.700 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:16.733 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44021"] 19-Oct-2023 10:38:16.836 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44021"] 19-Oct-2023 10:38:16.836 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:16.839 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44021"] 19-Oct-2023 10:38:16.841 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44021"] 19-Oct-2023 10:38:16.854 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 19-Oct-2023 10:38:16.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 19-Oct-2023 10:38:16.857 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 19-Oct-2023 10:38:16.870 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 19-Oct-2023 10:38:16.872 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:16.872 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.009 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 19-Oct-2023 10:38:17.128 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44343"] 19-Oct-2023 10:38:17.150 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44343"] 19-Oct-2023 10:38:17.154 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.188 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44343"] 19-Oct-2023 10:38:17.195 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44343"] 19-Oct-2023 10:38:17.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 19-Oct-2023 10:38:17.199 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 19-Oct-2023 10:38:17.201 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.201 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.210 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43541"] 19-Oct-2023 10:38:17.214 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43541"] 19-Oct-2023 10:38:17.214 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.217 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43541"] 19-Oct-2023 10:38:17.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43541"] 19-Oct-2023 10:38:17.223 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 19-Oct-2023 10:38:17.227 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 19-Oct-2023 10:38:17.228 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.228 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44135"] 19-Oct-2023 10:38:17.264 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44135"] 19-Oct-2023 10:38:17.267 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.269 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44135"] 19-Oct-2023 10:38:17.272 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44135"] 19-Oct-2023 10:38:17.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 19-Oct-2023 10:38:17.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 19-Oct-2023 10:38:17.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 19-Oct-2023 10:38:17.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 19-Oct-2023 10:38:17.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41605"] 19-Oct-2023 10:38:17.326 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41605"] 19-Oct-2023 10:38:17.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41605"] 19-Oct-2023 10:38:17.349 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41605"] 19-Oct-2023 10:38:17.351 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 19-Oct-2023 10:38:17.353 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 19-Oct-2023 10:38:17.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.361 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46671"] 19-Oct-2023 10:38:17.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46671"] 19-Oct-2023 10:38:17.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.376 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46671"] 19-Oct-2023 10:38:17.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46671"] 19-Oct-2023 10:38:17.383 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 19-Oct-2023 10:38:17.386 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 19-Oct-2023 10:38:17.387 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.387 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.393 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45369"] 19-Oct-2023 10:38:17.412 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45369"] 19-Oct-2023 10:38:17.415 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45369"] 19-Oct-2023 10:38:17.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45369"] 19-Oct-2023 10:38:17.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 19-Oct-2023 10:38:17.425 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 19-Oct-2023 10:38:17.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.426 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44851"] 19-Oct-2023 10:38:17.473 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44851"] 19-Oct-2023 10:38:17.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44851"] 19-Oct-2023 10:38:17.483 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44851"] 19-Oct-2023 10:38:17.484 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 19-Oct-2023 10:38:17.485 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 19-Oct-2023 10:38:17.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 19-Oct-2023 10:38:17.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 19-Oct-2023 10:38:17.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.499 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44225"] 19-Oct-2023 10:38:17.545 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44225"] 19-Oct-2023 10:38:17.547 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44225"] 19-Oct-2023 10:38:17.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44225"] 19-Oct-2023 10:38:17.553 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 19-Oct-2023 10:38:17.554 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 19-Oct-2023 10:38:17.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.556 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.567 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43083"] 19-Oct-2023 10:38:17.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43083"] 19-Oct-2023 10:38:17.581 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.583 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43083"] 19-Oct-2023 10:38:17.586 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43083"] 19-Oct-2023 10:38:17.587 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 19-Oct-2023 10:38:17.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 19-Oct-2023 10:38:17.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 10:38:17.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 10:38:17.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-44037"] 19-Oct-2023 10:38:17.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-44037"] 19-Oct-2023 10:38:17.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 10:38:17.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-44037"] 19-Oct-2023 10:38:17.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-44037"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.198 sec Testcase: testUseContentTypeExpiresConfiguration took 0.185 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.34 sec Testcase: testConfiguration took 0.025 sec Testcase: testNullContentType took 0.051 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.075 sec Testcase: testUseDefaultConfiguration2 took 0.032 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.041 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.06 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.067 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.017 sec