Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 13 Feb 2024 00:26:30 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 13 Feb 2024 00:29:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 13 Feb 2024 00:26:30 GMT Expires: Tue, 13 Feb 2024 00:33:30 GMT Keep-Alive: timeout=3 ETag: W/"971-1707783203504" 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 00:27:30 GMT Content-Length: 0 Date: Tue, 13 Feb 2024 00:26:30 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 13 Feb 2024 00:27:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 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 00:27:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 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 00:33:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 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 00:26:30 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 13 Feb 2024 00:26:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 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 00:31:30 GMT Content-Length: 11 Date: Tue, 13 Feb 2024 00:26:30 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 00:33:30 GMT Content-Length: 0 Date: Tue, 13 Feb 2024 00:26:30 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-Feb-2024 00:26:28.099 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-Feb-2024 00:26:29.382 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-Feb-2024 00:26:29.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:29.478 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:29.831 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44909"] 13-Feb-2024 00:26:30.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44909"] 13-Feb-2024 00:26:30.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.118 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44909"] 13-Feb-2024 00:26:30.128 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44909"] 13-Feb-2024 00:26:30.136 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-Feb-2024 00:26:30.138 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-Feb-2024 00:26:30.139 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.139 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.150 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36533"] 13-Feb-2024 00:26:30.196 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36533"] 13-Feb-2024 00:26:30.196 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.206 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36533"] 13-Feb-2024 00:26:30.208 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36533"] 13-Feb-2024 00:26:30.211 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-Feb-2024 00:26:30.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-Feb-2024 00:26:30.213 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-Feb-2024 00:26:30.220 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-Feb-2024 00:26:30.221 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.221 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.280 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-Feb-2024 00:26:30.444 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40511"] 13-Feb-2024 00:26:30.461 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40511"] 13-Feb-2024 00:26:30.464 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40511"] 13-Feb-2024 00:26:30.475 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40511"] 13-Feb-2024 00:26:30.477 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-Feb-2024 00:26:30.488 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-Feb-2024 00:26:30.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.525 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33429"] 13-Feb-2024 00:26:30.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33429"] 13-Feb-2024 00:26:30.532 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.534 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33429"] 13-Feb-2024 00:26:30.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33429"] 13-Feb-2024 00:26:30.542 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-Feb-2024 00:26:30.544 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-Feb-2024 00:26:30.545 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.545 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.550 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33971"] 13-Feb-2024 00:26:30.562 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33971"] 13-Feb-2024 00:26:30.563 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.567 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33971"] 13-Feb-2024 00:26:30.570 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33971"] 13-Feb-2024 00:26:30.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-Feb-2024 00:26:30.573 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-Feb-2024 00:26:30.574 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-Feb-2024 00:26:30.575 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-Feb-2024 00:26:30.576 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.581 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37223"] 13-Feb-2024 00:26:30.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37223"] 13-Feb-2024 00:26:30.597 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37223"] 13-Feb-2024 00:26:30.604 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37223"] 13-Feb-2024 00:26:30.606 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-Feb-2024 00:26:30.608 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-Feb-2024 00:26:30.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.624 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44235"] 13-Feb-2024 00:26:30.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44235"] 13-Feb-2024 00:26:30.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.648 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44235"] 13-Feb-2024 00:26:30.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44235"] 13-Feb-2024 00:26:30.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-Feb-2024 00:26:30.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-Feb-2024 00:26:30.659 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.659 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.669 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36045"] 13-Feb-2024 00:26:30.708 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36045"] 13-Feb-2024 00:26:30.711 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.714 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36045"] 13-Feb-2024 00:26:30.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36045"] 13-Feb-2024 00:26:30.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-Feb-2024 00:26:30.722 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 13-Feb-2024 00:26:30.722 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.723 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.738 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-37349"] 13-Feb-2024 00:26:30.775 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-37349"] 13-Feb-2024 00:26:30.778 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.782 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-37349"] 13-Feb-2024 00:26:30.786 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-37349"] 13-Feb-2024 00:26:30.789 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-Feb-2024 00:26:30.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 13-Feb-2024 00:26:30.791 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-Feb-2024 00:26:30.793 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 13-Feb-2024 00:26:30.793 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.798 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45893"] 13-Feb-2024 00:26:30.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45893"] 13-Feb-2024 00:26:30.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45893"] 13-Feb-2024 00:26:30.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45893"] 13-Feb-2024 00:26:30.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-Feb-2024 00:26:30.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 13-Feb-2024 00:26:30.828 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.828 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-35661"] 13-Feb-2024 00:26:30.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-35661"] 13-Feb-2024 00:26:30.892 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-35661"] 13-Feb-2024 00:26:30.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-35661"] 13-Feb-2024 00:26:30.920 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-Feb-2024 00:26:30.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 13-Feb-2024 00:26:30.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Feb-2024 00:26:30.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 13-Feb-2024 00:26:30.955 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41313"] 13-Feb-2024 00:26:30.969 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41313"] 13-Feb-2024 00:26:30.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Feb-2024 00:26:30.976 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41313"] 13-Feb-2024 00:26:30.996 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41313"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.331 sec Testcase: testUseContentTypeExpiresConfiguration took 0.075 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.265 sec Testcase: testConfiguration took 0.064 sec Testcase: testNullContentType took 0.029 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.032 sec Testcase: testUseDefaultConfiguration2 took 0.049 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.064 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.069 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.034 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.094 sec Testcase: testEmptyContent took 0.077 sec