Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.839 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 05 Oct 2023 14:46:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:49:10 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 05 Oct 2023 14:46:10 GMT Expires: Thu, 05 Oct 2023 14:53:10 GMT Keep-Alive: timeout=3 ETag: W/"971-1696516613122" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:47:10 GMT Content-Length: 0 Date: Thu, 05 Oct 2023 14:46:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:47:10 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:47:11 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:53:11 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 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, 05 Oct 2023 14:46:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:46:11 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:51:11 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 05 Oct 2023 14:53:11 GMT Content-Length: 0 Date: Thu, 05 Oct 2023 14:46:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 05-Oct-2023 14:46:08.774 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 05-Oct-2023 14:46:09.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 05-Oct-2023 14:46:09.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:09.621 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:09.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33317"] 05-Oct-2023 14:46:10.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33317"] 05-Oct-2023 14:46:10.078 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.110 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33317"] 05-Oct-2023 14:46:10.123 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33317"] 05-Oct-2023 14:46:10.132 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 05-Oct-2023 14:46:10.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 05-Oct-2023 14:46:10.140 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:10.140 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:10.187 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44399"] 05-Oct-2023 14:46:10.300 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44399"] 05-Oct-2023 14:46:10.300 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44399"] 05-Oct-2023 14:46:10.312 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44399"] 05-Oct-2023 14:46:10.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 05-Oct-2023 14:46:10.329 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 05-Oct-2023 14:46:10.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 05-Oct-2023 14:46:10.339 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 05-Oct-2023 14:46:10.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:10.357 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:10.474 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 05-Oct-2023 14:46:10.710 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37851"] 05-Oct-2023 14:46:10.785 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37851"] 05-Oct-2023 14:46:10.790 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37851"] 05-Oct-2023 14:46:10.827 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37851"] 05-Oct-2023 14:46:10.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 05-Oct-2023 14:46:10.836 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 05-Oct-2023 14:46:10.837 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:10.837 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:10.864 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44217"] 05-Oct-2023 14:46:10.904 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44217"] 05-Oct-2023 14:46:10.905 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44217"] 05-Oct-2023 14:46:10.915 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44217"] 05-Oct-2023 14:46:10.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 05-Oct-2023 14:46:10.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 05-Oct-2023 14:46:10.928 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:10.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:10.940 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45763"] 05-Oct-2023 14:46:10.949 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45763"] 05-Oct-2023 14:46:10.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.955 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45763"] 05-Oct-2023 14:46:10.958 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45763"] 05-Oct-2023 14:46:10.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 05-Oct-2023 14:46:10.965 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 05-Oct-2023 14:46:10.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 05-Oct-2023 14:46:10.968 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 05-Oct-2023 14:46:10.968 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:10.969 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:10.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33517"] 05-Oct-2023 14:46:10.989 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33517"] 05-Oct-2023 14:46:10.991 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:10.994 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33517"] 05-Oct-2023 14:46:10.996 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33517"] 05-Oct-2023 14:46:10.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 05-Oct-2023 14:46:11.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 05-Oct-2023 14:46:11.001 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.019 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44703"] 05-Oct-2023 14:46:11.027 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44703"] 05-Oct-2023 14:46:11.027 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.030 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44703"] 05-Oct-2023 14:46:11.033 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44703"] 05-Oct-2023 14:46:11.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 05-Oct-2023 14:46:11.038 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 05-Oct-2023 14:46:11.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.050 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39735"] 05-Oct-2023 14:46:11.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39735"] 05-Oct-2023 14:46:11.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.064 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39735"] 05-Oct-2023 14:46:11.069 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39735"] 05-Oct-2023 14:46:11.072 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 05-Oct-2023 14:46:11.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 05-Oct-2023 14:46:11.074 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.074 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46135"] 05-Oct-2023 14:46:11.093 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46135"] 05-Oct-2023 14:46:11.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46135"] 05-Oct-2023 14:46:11.102 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46135"] 05-Oct-2023 14:46:11.104 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 05-Oct-2023 14:46:11.105 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 05-Oct-2023 14:46:11.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 05-Oct-2023 14:46:11.106 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 05-Oct-2023 14:46:11.107 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.119 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40705"] 05-Oct-2023 14:46:11.126 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40705"] 05-Oct-2023 14:46:11.128 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40705"] 05-Oct-2023 14:46:11.136 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40705"] 05-Oct-2023 14:46:11.138 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 05-Oct-2023 14:46:11.139 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 05-Oct-2023 14:46:11.140 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.140 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.148 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36899"] 05-Oct-2023 14:46:11.154 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36899"] 05-Oct-2023 14:46:11.157 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36899"] 05-Oct-2023 14:46:11.161 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36899"] 05-Oct-2023 14:46:11.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 05-Oct-2023 14:46:11.167 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 05-Oct-2023 14:46:11.167 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 14:46:11.167 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 14:46:11.176 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38261"] 05-Oct-2023 14:46:11.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38261"] 05-Oct-2023 14:46:11.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 14:46:11.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38261"] 05-Oct-2023 14:46:11.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38261"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.717 sec Testcase: testUseContentTypeExpiresConfiguration took 0.183 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.014 sec Testcase: testBug63909 took 0.502 sec Testcase: testConfiguration took 0.094 sec Testcase: testNullContentType took 0.038 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.033 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.037 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.031 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.033 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.027 sec Testcase: testEmptyContent took 0.029 sec