Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 03 Oct 2023 12:47:34 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:50:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 03 Oct 2023 12:47:34 GMT Expires: Tue, 03 Oct 2023 12:54:34 GMT Keep-Alive: timeout=3 ETag: W/"971-1696336699890" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:48:34 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 12:47:34 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:48:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:48:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:54:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 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, 03 Oct 2023 12:47:34 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:47:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:52:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Oct 2023 12:54:34 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 12:47:34 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Oct-2023 12:47:32.663 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Oct-2023 12:47:33.612 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Oct-2023 12:47:33.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:33.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:33.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42069"] 03-Oct-2023 12:47:34.193 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42069"] 03-Oct-2023 12:47:34.196 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.220 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42069"] 03-Oct-2023 12:47:34.234 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42069"] 03-Oct-2023 12:47:34.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Oct-2023 12:47:34.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Oct-2023 12:47:34.252 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.252 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.275 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43953"] 03-Oct-2023 12:47:34.313 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43953"] 03-Oct-2023 12:47:34.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.320 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43953"] 03-Oct-2023 12:47:34.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43953"] 03-Oct-2023 12:47:34.335 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Oct-2023 12:47:34.336 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Oct-2023 12:47:34.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Oct-2023 12:47:34.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Oct-2023 12:47:34.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.380 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Oct-2023 12:47:34.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39217"] 03-Oct-2023 12:47:34.507 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39217"] 03-Oct-2023 12:47:34.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39217"] 03-Oct-2023 12:47:34.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39217"] 03-Oct-2023 12:47:34.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Oct-2023 12:47:34.528 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Oct-2023 12:47:34.529 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.529 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38793"] 03-Oct-2023 12:47:34.556 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38793"] 03-Oct-2023 12:47:34.556 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38793"] 03-Oct-2023 12:47:34.561 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38793"] 03-Oct-2023 12:47:34.564 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Oct-2023 12:47:34.566 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Oct-2023 12:47:34.566 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.566 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38777"] 03-Oct-2023 12:47:34.581 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38777"] 03-Oct-2023 12:47:34.584 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38777"] 03-Oct-2023 12:47:34.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38777"] 03-Oct-2023 12:47:34.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Oct-2023 12:47:34.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Oct-2023 12:47:34.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Oct-2023 12:47:34.595 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Oct-2023 12:47:34.596 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.596 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-46701"] 03-Oct-2023 12:47:34.613 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-46701"] 03-Oct-2023 12:47:34.616 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-46701"] 03-Oct-2023 12:47:34.622 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-46701"] 03-Oct-2023 12:47:34.625 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Oct-2023 12:47:34.626 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Oct-2023 12:47:34.627 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.627 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33607"] 03-Oct-2023 12:47:34.647 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33607"] 03-Oct-2023 12:47:34.650 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.653 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33607"] 03-Oct-2023 12:47:34.656 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33607"] 03-Oct-2023 12:47:34.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Oct-2023 12:47:34.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Oct-2023 12:47:34.660 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.660 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38241"] 03-Oct-2023 12:47:34.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38241"] 03-Oct-2023 12:47:34.687 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.689 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38241"] 03-Oct-2023 12:47:34.692 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38241"] 03-Oct-2023 12:47:34.694 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Oct-2023 12:47:34.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 03-Oct-2023 12:47:34.697 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.697 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.703 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-42829"] 03-Oct-2023 12:47:34.718 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-42829"] 03-Oct-2023 12:47:34.721 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.724 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-42829"] 03-Oct-2023 12:47:34.726 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-42829"] 03-Oct-2023 12:47:34.729 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Oct-2023 12:47:34.729 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 03-Oct-2023 12:47:34.730 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Oct-2023 12:47:34.731 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 03-Oct-2023 12:47:34.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.732 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.740 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-39999"] 03-Oct-2023 12:47:34.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-39999"] 03-Oct-2023 12:47:34.757 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.762 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-39999"] 03-Oct-2023 12:47:34.766 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-39999"] 03-Oct-2023 12:47:34.768 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Oct-2023 12:47:34.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 03-Oct-2023 12:47:34.771 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.771 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.783 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33261"] 03-Oct-2023 12:47:34.790 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33261"] 03-Oct-2023 12:47:34.791 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33261"] 03-Oct-2023 12:47:34.800 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33261"] 03-Oct-2023 12:47:34.803 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Oct-2023 12:47:34.804 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 03-Oct-2023 12:47:34.805 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 12:47:34.805 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 12:47:34.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45819"] 03-Oct-2023 12:47:34.823 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45819"] 03-Oct-2023 12:47:34.824 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 12:47:34.826 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45819"] 03-Oct-2023 12:47:34.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45819"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.821 sec Testcase: testUseContentTypeExpiresConfiguration took 0.089 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.19 sec Testcase: testConfiguration took 0.038 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.031 sec Testcase: testUseDefaultConfiguration2 took 0.034 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.036 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.034 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.038 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.031 sec