Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.933 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 15 Feb 2024 22:35:25 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:38:25 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 15 Feb 2024 22:35:25 GMT Expires: Thu, 15 Feb 2024 22:42:26 GMT Keep-Alive: timeout=3 ETag: W/"971-1708035740674" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:36:26 GMT Content-Length: 0 Date: Thu, 15 Feb 2024 22:35:25 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:36:26 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:36:26 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:42:26 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 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, 15 Feb 2024 22:35:25 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:35:26 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:40:26 GMT Content-Length: 11 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 15 Feb 2024 22:42:26 GMT Content-Length: 0 Date: Thu, 15 Feb 2024 22:35:25 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 15-Feb-2024 22:35:24.178 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 15-Feb-2024 22:35:25.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 15-Feb-2024 22:35:25.319 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:25.320 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:25.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42037"] 15-Feb-2024 22:35:25.772 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42037"] 15-Feb-2024 22:35:25.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:25.793 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42037"] 15-Feb-2024 22:35:25.799 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42037"] 15-Feb-2024 22:35:25.818 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 15-Feb-2024 22:35:25.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 15-Feb-2024 22:35:25.825 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:25.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:25.834 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34021"] 15-Feb-2024 22:35:25.922 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34021"] 15-Feb-2024 22:35:25.924 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:25.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34021"] 15-Feb-2024 22:35:25.946 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34021"] 15-Feb-2024 22:35:25.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 15-Feb-2024 22:35:25.952 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 15-Feb-2024 22:35:25.953 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 15-Feb-2024 22:35:25.961 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 15-Feb-2024 22:35:25.962 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:25.962 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.050 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 15-Feb-2024 22:35:26.296 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36737"] 15-Feb-2024 22:35:26.339 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36737"] 15-Feb-2024 22:35:26.342 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.350 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36737"] 15-Feb-2024 22:35:26.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36737"] 15-Feb-2024 22:35:26.364 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 15-Feb-2024 22:35:26.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 15-Feb-2024 22:35:26.366 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.366 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44871"] 15-Feb-2024 22:35:26.398 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44871"] 15-Feb-2024 22:35:26.402 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.404 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44871"] 15-Feb-2024 22:35:26.408 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44871"] 15-Feb-2024 22:35:26.410 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 15-Feb-2024 22:35:26.412 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 15-Feb-2024 22:35:26.413 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.414 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.429 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43881"] 15-Feb-2024 22:35:26.448 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43881"] 15-Feb-2024 22:35:26.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43881"] 15-Feb-2024 22:35:26.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43881"] 15-Feb-2024 22:35:26.464 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 15-Feb-2024 22:35:26.467 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 15-Feb-2024 22:35:26.469 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 15-Feb-2024 22:35:26.471 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 15-Feb-2024 22:35:26.473 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.474 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42889"] 15-Feb-2024 22:35:26.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42889"] 15-Feb-2024 22:35:26.504 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.507 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42889"] 15-Feb-2024 22:35:26.516 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42889"] 15-Feb-2024 22:35:26.518 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 15-Feb-2024 22:35:26.521 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 15-Feb-2024 22:35:26.522 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.522 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-32845"] 15-Feb-2024 22:35:26.571 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-32845"] 15-Feb-2024 22:35:26.573 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.576 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-32845"] 15-Feb-2024 22:35:26.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-32845"] 15-Feb-2024 22:35:26.579 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 15-Feb-2024 22:35:26.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 15-Feb-2024 22:35:26.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43133"] 15-Feb-2024 22:35:26.612 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43133"] 15-Feb-2024 22:35:26.615 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.618 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43133"] 15-Feb-2024 22:35:26.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43133"] 15-Feb-2024 22:35:26.622 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 15-Feb-2024 22:35:26.624 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 15-Feb-2024 22:35:26.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38733"] 15-Feb-2024 22:35:26.644 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38733"] 15-Feb-2024 22:35:26.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38733"] 15-Feb-2024 22:35:26.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38733"] 15-Feb-2024 22:35:26.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 15-Feb-2024 22:35:26.660 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 15-Feb-2024 22:35:26.661 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 15-Feb-2024 22:35:26.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 15-Feb-2024 22:35:26.663 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.663 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.667 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42423"] 15-Feb-2024 22:35:26.674 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42423"] 15-Feb-2024 22:35:26.675 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.680 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42423"] 15-Feb-2024 22:35:26.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42423"] 15-Feb-2024 22:35:26.690 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 15-Feb-2024 22:35:26.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 15-Feb-2024 22:35:26.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.706 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-45257"] 15-Feb-2024 22:35:26.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-45257"] 15-Feb-2024 22:35:26.726 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-45257"] 15-Feb-2024 22:35:26.739 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-45257"] 15-Feb-2024 22:35:26.740 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 15-Feb-2024 22:35:26.742 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 15-Feb-2024 22:35:26.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Feb-2024 22:35:26.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 15-Feb-2024 22:35:26.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38571"] 15-Feb-2024 22:35:26.786 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38571"] 15-Feb-2024 22:35:26.788 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Feb-2024 22:35:26.791 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38571"] 15-Feb-2024 22:35:26.793 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38571"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.829 sec Testcase: testUseContentTypeExpiresConfiguration took 0.131 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.41 sec Testcase: testConfiguration took 0.045 sec Testcase: testNullContentType took 0.053 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.005 sec Testcase: testUseDefaultConfiguration1 took 0.049 sec Testcase: testUseDefaultConfiguration2 took 0.062 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.043 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.034 sec Testcase: testIntsToCommaDelimitedString took 0.005 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.052 sec Testcase: testEmptyContent took 0.054 sec