Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.58 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 06 Feb 2024 23:50:25 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:53:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 06 Feb 2024 23:50:25 GMT Expires: Tue, 06 Feb 2024 23:57:25 GMT Keep-Alive: timeout=3 ETag: W/"971-1707262805256" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:51:25 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 23:50:25 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:51:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:51:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:57:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50: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: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:50:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:55:25 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:57:25 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 23:50:25 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Feb-2024 23:50:23.684 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Feb-2024 23:50:24.478 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Feb-2024 23:50:24.539 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:24.540 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:24.720 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35209"] 06-Feb-2024 23:50:25.006 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35209"] 06-Feb-2024 23:50:25.010 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.035 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35209"] 06-Feb-2024 23:50:25.044 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35209"] 06-Feb-2024 23:50:25.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Feb-2024 23:50:25.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Feb-2024 23:50:25.066 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.066 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.098 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33255"] 06-Feb-2024 23:50:25.170 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33255"] 06-Feb-2024 23:50:25.173 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.175 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33255"] 06-Feb-2024 23:50:25.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33255"] 06-Feb-2024 23:50:25.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Feb-2024 23:50:25.189 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Feb-2024 23:50:25.190 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Feb-2024 23:50:25.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Feb-2024 23:50:25.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.204 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.283 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Feb-2024 23:50:25.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40645"] 06-Feb-2024 23:50:25.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40645"] 06-Feb-2024 23:50:25.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.611 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40645"] 06-Feb-2024 23:50:25.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40645"] 06-Feb-2024 23:50:25.623 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Feb-2024 23:50:25.625 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Feb-2024 23:50:25.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.626 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.637 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39349"] 06-Feb-2024 23:50:25.655 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39349"] 06-Feb-2024 23:50:25.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.657 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39349"] 06-Feb-2024 23:50:25.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39349"] 06-Feb-2024 23:50:25.663 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Feb-2024 23:50:25.665 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Feb-2024 23:50:25.666 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.678 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33641"] 06-Feb-2024 23:50:25.693 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33641"] 06-Feb-2024 23:50:25.696 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.697 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33641"] 06-Feb-2024 23:50:25.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33641"] 06-Feb-2024 23:50:25.706 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Feb-2024 23:50:25.707 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Feb-2024 23:50:25.708 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Feb-2024 23:50:25.711 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Feb-2024 23:50:25.711 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.712 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.728 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37231"] 06-Feb-2024 23:50:25.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37231"] 06-Feb-2024 23:50:25.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37231"] 06-Feb-2024 23:50:25.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37231"] 06-Feb-2024 23:50:25.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Feb-2024 23:50:25.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Feb-2024 23:50:25.775 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.778 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45511"] 06-Feb-2024 23:50:25.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45511"] 06-Feb-2024 23:50:25.800 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.803 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45511"] 06-Feb-2024 23:50:25.808 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45511"] 06-Feb-2024 23:50:25.809 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Feb-2024 23:50:25.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Feb-2024 23:50:25.812 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.812 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46613"] 06-Feb-2024 23:50:25.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46613"] 06-Feb-2024 23:50:25.828 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.830 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46613"] 06-Feb-2024 23:50:25.836 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46613"] 06-Feb-2024 23:50:25.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Feb-2024 23:50:25.839 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Feb-2024 23:50:25.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41537"] 06-Feb-2024 23:50:25.876 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41537"] 06-Feb-2024 23:50:25.878 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.880 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41537"] 06-Feb-2024 23:50:25.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41537"] 06-Feb-2024 23:50:25.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Feb-2024 23:50:25.885 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Feb-2024 23:50:25.886 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Feb-2024 23:50:25.887 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Feb-2024 23:50:25.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.892 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-37707"] 06-Feb-2024 23:50:25.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-37707"] 06-Feb-2024 23:50:25.906 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.907 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-37707"] 06-Feb-2024 23:50:25.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-37707"] 06-Feb-2024 23:50:25.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Feb-2024 23:50:25.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Feb-2024 23:50:25.914 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.914 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.925 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32981"] 06-Feb-2024 23:50:25.940 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32981"] 06-Feb-2024 23:50:25.942 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.945 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32981"] 06-Feb-2024 23:50:25.947 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32981"] 06-Feb-2024 23:50:25.949 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Feb-2024 23:50:25.950 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Feb-2024 23:50:25.951 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:50:25.951 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 06-Feb-2024 23:50:25.960 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-36567"] 06-Feb-2024 23:50:25.969 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-36567"] 06-Feb-2024 23:50:25.969 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:50:25.971 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-36567"] 06-Feb-2024 23:50:25.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-36567"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.592 sec Testcase: testUseContentTypeExpiresConfiguration took 0.121 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.006 sec Testcase: testBug63909 took 0.433 sec Testcase: testConfiguration took 0.04 sec Testcase: testNullContentType took 0.04 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.064 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.028 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.046 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.036 sec Testcase: testEmptyContent took 0.027 sec