Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.8 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 13 Feb 2024 03:01:17 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:04:17 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 13 Feb 2024 03:01:17 GMT Expires: Tue, 13 Feb 2024 03:08:17 GMT Keep-Alive: timeout=3 ETag: W/"971-1707792030953" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:02:18 GMT Content-Length: 0 Date: Tue, 13 Feb 2024 03:01:17 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:02:18 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:02:18 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:08:18 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 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: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:01:18 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:06:18 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 03:01:17 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 13 Feb 2024 03:08:18 GMT Content-Length: 0 Date: Tue, 13 Feb 2024 03:01:18 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-Feb-2024 03:01:15.438 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-Feb-2024 03:01:16.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Feb-2024 03:01:17.030 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:17.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:17.286 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33353"] 13-Feb-2024 03:01:17.518 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33353"] 13-Feb-2024 03:01:17.526 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:17.551 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33353"] 13-Feb-2024 03:01:17.553 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33353"] 13-Feb-2024 03:01:17.571 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-Feb-2024 03:01:17.587 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Feb-2024 03:01:17.595 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:17.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:17.610 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32827"] 13-Feb-2024 03:01:17.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32827"] 13-Feb-2024 03:01:17.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:17.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32827"] 13-Feb-2024 03:01:17.650 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32827"] 13-Feb-2024 03:01:17.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-Feb-2024 03:01:17.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Feb-2024 03:01:17.660 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-Feb-2024 03:01:17.669 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Feb-2024 03:01:17.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:17.676 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:17.761 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-Feb-2024 03:01:17.980 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37115"] 13-Feb-2024 03:01:17.996 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37115"] 13-Feb-2024 03:01:18.000 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.010 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37115"] 13-Feb-2024 03:01:18.011 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-37115"] 13-Feb-2024 03:01:18.031 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-Feb-2024 03:01:18.033 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Feb-2024 03:01:18.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.127 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38209"] 13-Feb-2024 03:01:18.127 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38209"] 13-Feb-2024 03:01:18.130 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.133 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38209"] 13-Feb-2024 03:01:18.134 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38209"] 13-Feb-2024 03:01:18.142 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-Feb-2024 03:01:18.143 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Feb-2024 03:01:18.178 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.178 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.200 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42111"] 13-Feb-2024 03:01:18.217 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42111"] 13-Feb-2024 03:01:18.220 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.225 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42111"] 13-Feb-2024 03:01:18.229 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42111"] 13-Feb-2024 03:01:18.233 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-Feb-2024 03:01:18.234 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Feb-2024 03:01:18.234 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-Feb-2024 03:01:18.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Feb-2024 03:01:18.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.239 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.250 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39101"] 13-Feb-2024 03:01:18.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39101"] 13-Feb-2024 03:01:18.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.271 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39101"] 13-Feb-2024 03:01:18.273 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39101"] 13-Feb-2024 03:01:18.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-Feb-2024 03:01:18.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Feb-2024 03:01:18.294 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46253"] 13-Feb-2024 03:01:18.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46253"] 13-Feb-2024 03:01:18.351 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.365 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46253"] 13-Feb-2024 03:01:18.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46253"] 13-Feb-2024 03:01:18.369 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-Feb-2024 03:01:18.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Feb-2024 03:01:18.400 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.417 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37167"] 13-Feb-2024 03:01:18.440 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37167"] 13-Feb-2024 03:01:18.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.461 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37167"] 13-Feb-2024 03:01:18.462 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37167"] 13-Feb-2024 03:01:18.467 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-Feb-2024 03:01:18.469 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 13-Feb-2024 03:01:18.474 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.475 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.486 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37605"] 13-Feb-2024 03:01:18.489 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37605"] 13-Feb-2024 03:01:18.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.495 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37605"] 13-Feb-2024 03:01:18.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37605"] 13-Feb-2024 03:01:18.501 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-Feb-2024 03:01:18.502 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 13-Feb-2024 03:01:18.503 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-Feb-2024 03:01:18.504 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 13-Feb-2024 03:01:18.508 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.509 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.529 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42245"] 13-Feb-2024 03:01:18.542 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42245"] 13-Feb-2024 03:01:18.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.551 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42245"] 13-Feb-2024 03:01:18.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42245"] 13-Feb-2024 03:01:18.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-Feb-2024 03:01:18.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 13-Feb-2024 03:01:18.573 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.573 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34991"] 13-Feb-2024 03:01:18.613 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34991"] 13-Feb-2024 03:01:18.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34991"] 13-Feb-2024 03:01:18.633 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34991"] 13-Feb-2024 03:01:18.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-Feb-2024 03:01:18.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 13-Feb-2024 03:01:18.646 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 03:01:18.647 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 13-Feb-2024 03:01:18.653 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-41093"] 13-Feb-2024 03:01:18.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-41093"] 13-Feb-2024 03:01:18.658 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 03:01:18.661 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-41093"] 13-Feb-2024 03:01:18.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-41093"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.593 sec Testcase: testUseContentTypeExpiresConfiguration took 0.084 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.371 sec Testcase: testConfiguration took 0.111 sec Testcase: testNullContentType took 0.091 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.045 sec Testcase: testUseDefaultConfiguration2 took 0.089 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.098 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.033 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.057 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.08 sec Testcase: testEmptyContent took 0.03 sec