Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.948 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 03 Oct 2023 15:43:34 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 03 Oct 2023 15:46:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43:34 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 03 Oct 2023 15:43:34 GMT Expires: Tue, 03 Oct 2023 15:50:34 GMT Keep-Alive: timeout=3 ETag: W/"971-1696346555672" 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 15:44:34 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 15:43:34 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 15:44:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43: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 15:44:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43: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 15:50:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43: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 15:43:34 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 03 Oct 2023 15:43:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43: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 15:48:34 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 15:43: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 15:50:34 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 15:43:34 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Oct-2023 15:43:33.209 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Oct-2023 15:43:33.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Oct-2023 15:43:33.934 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:33.934 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37083"] 03-Oct-2023 15:43:34.299 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37083"] 03-Oct-2023 15:43:34.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.349 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37083"] 03-Oct-2023 15:43:34.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37083"] 03-Oct-2023 15:43:34.371 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Oct-2023 15:43:34.376 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Oct-2023 15:43:34.406 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.406 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.416 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40907"] 03-Oct-2023 15:43:34.426 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40907"] 03-Oct-2023 15:43:34.427 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.430 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40907"] 03-Oct-2023 15:43:34.432 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40907"] 03-Oct-2023 15:43:34.436 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Oct-2023 15:43:34.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Oct-2023 15:43:34.448 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Oct-2023 15:43:34.455 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Oct-2023 15:43:34.460 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.461 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.504 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Oct-2023 15:43:34.602 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39325"] 03-Oct-2023 15:43:34.611 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39325"] 03-Oct-2023 15:43:34.612 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.618 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39325"] 03-Oct-2023 15:43:34.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39325"] 03-Oct-2023 15:43:34.642 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Oct-2023 15:43:34.644 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-Oct-2023 15:43:34.647 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.647 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39355"] 03-Oct-2023 15:43:34.656 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39355"] 03-Oct-2023 15:43:34.657 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39355"] 03-Oct-2023 15:43:34.660 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39355"] 03-Oct-2023 15:43:34.662 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Oct-2023 15:43:34.664 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-Oct-2023 15:43:34.668 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.668 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.673 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37339"] 03-Oct-2023 15:43:34.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37339"] 03-Oct-2023 15:43:34.679 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.681 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37339"] 03-Oct-2023 15:43:34.682 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37339"] 03-Oct-2023 15:43:34.684 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Oct-2023 15:43:34.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-Oct-2023 15:43:34.685 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Oct-2023 15:43:34.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-Oct-2023 15:43:34.689 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.690 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37781"] 03-Oct-2023 15:43:34.700 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37781"] 03-Oct-2023 15:43:34.703 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.705 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37781"] 03-Oct-2023 15:43:34.705 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37781"] 03-Oct-2023 15:43:34.708 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Oct-2023 15:43:34.709 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-Oct-2023 15:43:34.716 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.716 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.720 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44537"] 03-Oct-2023 15:43:34.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44537"] 03-Oct-2023 15:43:34.725 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.727 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44537"] 03-Oct-2023 15:43:34.727 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44537"] 03-Oct-2023 15:43:34.730 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Oct-2023 15:43:34.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-Oct-2023 15:43:34.734 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.734 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.739 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42585"] 03-Oct-2023 15:43:34.743 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42585"] 03-Oct-2023 15:43:34.746 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.748 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42585"] 03-Oct-2023 15:43:34.748 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42585"] 03-Oct-2023 15:43:34.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Oct-2023 15:43:34.754 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-Oct-2023 15:43:34.761 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.768 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41211"] 03-Oct-2023 15:43:34.771 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41211"] 03-Oct-2023 15:43:34.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41211"] 03-Oct-2023 15:43:34.777 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41211"] 03-Oct-2023 15:43:34.779 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Oct-2023 15:43:34.780 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-Oct-2023 15:43:34.780 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Oct-2023 15:43:34.782 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-Oct-2023 15:43:34.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36337"] 03-Oct-2023 15:43:34.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36337"] 03-Oct-2023 15:43:34.800 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36337"] 03-Oct-2023 15:43:34.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36337"] 03-Oct-2023 15:43:34.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Oct-2023 15:43:34.807 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-Oct-2023 15:43:34.816 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.816 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36169"] 03-Oct-2023 15:43:34.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36169"] 03-Oct-2023 15:43:34.829 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.831 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36169"] 03-Oct-2023 15:43:34.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36169"] 03-Oct-2023 15:43:34.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Oct-2023 15:43:34.836 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-Oct-2023 15:43:34.841 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 15:43:34.841 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.81-dev] 03-Oct-2023 15:43:34.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35791"] 03-Oct-2023 15:43:34.848 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35791"] 03-Oct-2023 15:43:34.849 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 15:43:34.852 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35791"] 03-Oct-2023 15:43:34.853 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35791"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.408 sec Testcase: testUseContentTypeExpiresConfiguration took 0.063 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.013 sec Testcase: testBug63909 took 0.194 sec Testcase: testConfiguration took 0.021 sec Testcase: testNullContentType took 0.021 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.022 sec Testcase: testUseDefaultConfiguration2 took 0.022 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.022 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.025 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.024 sec