Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.088 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 27 Feb 2024 10:07:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:10:58 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:58 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 27 Feb 2024 10:07:58 GMT Expires: Tue, 27 Feb 2024 10:14:59 GMT Keep-Alive: timeout=3 ETag: W/"971-1709027146098" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:08:59 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 10:07:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:08:59 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:08:59 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:14:59 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:59 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, 27 Feb 2024 10:07:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:07:59 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:12:59 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 10:07:59 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 27 Feb 2024 10:14:59 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 10:07:59 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 27-Feb-2024 10:07:56.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 27-Feb-2024 10:07:57.414 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 27-Feb-2024 10:07:57.600 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:57.605 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:58.012 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39647"] 27-Feb-2024 10:07:58.249 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39647"] 27-Feb-2024 10:07:58.251 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:58.274 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39647"] 27-Feb-2024 10:07:58.276 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39647"] 27-Feb-2024 10:07:58.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 27-Feb-2024 10:07:58.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 27-Feb-2024 10:07:58.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:58.426 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:58.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34547"] 27-Feb-2024 10:07:58.503 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34547"] 27-Feb-2024 10:07:58.505 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:58.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34547"] 27-Feb-2024 10:07:58.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-34547"] 27-Feb-2024 10:07:58.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 27-Feb-2024 10:07:58.525 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 27-Feb-2024 10:07:58.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 27-Feb-2024 10:07:58.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 27-Feb-2024 10:07:58.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:58.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:58.658 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 27-Feb-2024 10:07:58.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34619"] 27-Feb-2024 10:07:59.017 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34619"] 27-Feb-2024 10:07:59.019 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.032 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34619"] 27-Feb-2024 10:07:59.033 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34619"] 27-Feb-2024 10:07:59.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 27-Feb-2024 10:07:59.047 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 27-Feb-2024 10:07:59.115 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.115 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.139 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42431"] 27-Feb-2024 10:07:59.154 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42431"] 27-Feb-2024 10:07:59.160 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.165 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42431"] 27-Feb-2024 10:07:59.166 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42431"] 27-Feb-2024 10:07:59.176 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 27-Feb-2024 10:07:59.178 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 27-Feb-2024 10:07:59.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37285"] 27-Feb-2024 10:07:59.364 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37285"] 27-Feb-2024 10:07:59.369 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.373 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37285"] 27-Feb-2024 10:07:59.377 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37285"] 27-Feb-2024 10:07:59.382 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 27-Feb-2024 10:07:59.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 27-Feb-2024 10:07:59.383 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 27-Feb-2024 10:07:59.384 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 27-Feb-2024 10:07:59.390 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.390 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.404 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43749"] 27-Feb-2024 10:07:59.417 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43749"] 27-Feb-2024 10:07:59.419 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.430 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43749"] 27-Feb-2024 10:07:59.431 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43749"] 27-Feb-2024 10:07:59.436 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 27-Feb-2024 10:07:59.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 27-Feb-2024 10:07:59.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.441 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.466 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40329"] 27-Feb-2024 10:07:59.472 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40329"] 27-Feb-2024 10:07:59.475 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40329"] 27-Feb-2024 10:07:59.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40329"] 27-Feb-2024 10:07:59.487 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 27-Feb-2024 10:07:59.489 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 27-Feb-2024 10:07:59.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.496 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.510 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46165"] 27-Feb-2024 10:07:59.522 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46165"] 27-Feb-2024 10:07:59.527 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.543 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46165"] 27-Feb-2024 10:07:59.543 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-46165"] 27-Feb-2024 10:07:59.551 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 27-Feb-2024 10:07:59.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 27-Feb-2024 10:07:59.563 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.564 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.580 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41075"] 27-Feb-2024 10:07:59.591 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41075"] 27-Feb-2024 10:07:59.593 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.598 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41075"] 27-Feb-2024 10:07:59.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41075"] 27-Feb-2024 10:07:59.602 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 27-Feb-2024 10:07:59.605 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 27-Feb-2024 10:07:59.606 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 27-Feb-2024 10:07:59.607 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 27-Feb-2024 10:07:59.620 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.620 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.637 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44227"] 27-Feb-2024 10:07:59.651 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44227"] 27-Feb-2024 10:07:59.653 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.658 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44227"] 27-Feb-2024 10:07:59.658 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44227"] 27-Feb-2024 10:07:59.666 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 27-Feb-2024 10:07:59.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 27-Feb-2024 10:07:59.669 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.669 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.704 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38917"] 27-Feb-2024 10:07:59.716 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38917"] 27-Feb-2024 10:07:59.716 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.719 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38917"] 27-Feb-2024 10:07:59.720 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38917"] 27-Feb-2024 10:07:59.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 27-Feb-2024 10:07:59.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 27-Feb-2024 10:07:59.739 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 10:07:59.740 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 10:07:59.748 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42871"] 27-Feb-2024 10:07:59.752 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42871"] 27-Feb-2024 10:07:59.755 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 10:07:59.757 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42871"] 27-Feb-2024 10:07:59.759 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42871"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.498 sec Testcase: testUseContentTypeExpiresConfiguration took 0.234 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.518 sec Testcase: testConfiguration took 0.132 sec Testcase: testNullContentType took 0.205 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.053 sec Testcase: testUseDefaultConfiguration2 took 0.051 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.064 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.051 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.059 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.061 sec Testcase: testEmptyContent took 0.039 sec