Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.361 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 04 Oct 2023 15:44:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:47:10 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 04 Oct 2023 15:44:10 GMT Expires: Wed, 04 Oct 2023 15:51:10 GMT Keep-Alive: timeout=3 ETag: W/"971-1696433684209" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:45:10 GMT Content-Length: 0 Date: Wed, 04 Oct 2023 15:44:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:45:10 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:45:10 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:51:10 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44: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: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:44:11 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:49:11 GMT Content-Length: 11 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 04 Oct 2023 15:51:11 GMT Content-Length: 0 Date: Wed, 04 Oct 2023 15:44:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 04-Oct-2023 15:44:09.023 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 04-Oct-2023 15:44:09.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Oct-2023 15:44:09.948 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:09.948 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.125 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45761"] 04-Oct-2023 15:44:10.375 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45761"] 04-Oct-2023 15:44:10.376 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.395 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45761"] 04-Oct-2023 15:44:10.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45761"] 04-Oct-2023 15:44:10.412 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 04-Oct-2023 15:44:10.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Oct-2023 15:44:10.424 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.424 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.459 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37439"] 04-Oct-2023 15:44:10.485 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37439"] 04-Oct-2023 15:44:10.486 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.492 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37439"] 04-Oct-2023 15:44:10.497 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37439"] 04-Oct-2023 15:44:10.500 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 04-Oct-2023 15:44:10.501 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 04-Oct-2023 15:44:10.502 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 04-Oct-2023 15:44:10.524 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 04-Oct-2023 15:44:10.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.525 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.657 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 04-Oct-2023 15:44:10.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35289"] 04-Oct-2023 15:44:10.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35289"] 04-Oct-2023 15:44:10.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35289"] 04-Oct-2023 15:44:10.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35289"] 04-Oct-2023 15:44:10.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 04-Oct-2023 15:44:10.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 04-Oct-2023 15:44:10.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.843 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39581"] 04-Oct-2023 15:44:10.846 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39581"] 04-Oct-2023 15:44:10.847 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.852 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39581"] 04-Oct-2023 15:44:10.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39581"] 04-Oct-2023 15:44:10.858 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 04-Oct-2023 15:44:10.860 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 04-Oct-2023 15:44:10.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.861 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.867 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43887"] 04-Oct-2023 15:44:10.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43887"] 04-Oct-2023 15:44:10.882 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.884 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43887"] 04-Oct-2023 15:44:10.887 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43887"] 04-Oct-2023 15:44:10.889 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 04-Oct-2023 15:44:10.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 04-Oct-2023 15:44:10.890 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 04-Oct-2023 15:44:10.892 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 04-Oct-2023 15:44:10.893 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.893 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.899 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45215"] 04-Oct-2023 15:44:10.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45215"] 04-Oct-2023 15:44:10.911 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.913 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45215"] 04-Oct-2023 15:44:10.917 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45215"] 04-Oct-2023 15:44:10.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 04-Oct-2023 15:44:10.922 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 04-Oct-2023 15:44:10.922 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44685"] 04-Oct-2023 15:44:10.939 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44685"] 04-Oct-2023 15:44:10.940 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.943 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44685"] 04-Oct-2023 15:44:10.946 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44685"] 04-Oct-2023 15:44:10.949 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 04-Oct-2023 15:44:10.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 04-Oct-2023 15:44:10.952 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.952 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41741"] 04-Oct-2023 15:44:10.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41741"] 04-Oct-2023 15:44:10.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:10.976 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41741"] 04-Oct-2023 15:44:10.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41741"] 04-Oct-2023 15:44:10.986 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 04-Oct-2023 15:44:10.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 04-Oct-2023 15:44:10.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:10.989 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:10.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-45553"] 04-Oct-2023 15:44:11.010 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-45553"] 04-Oct-2023 15:44:11.013 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:11.015 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-45553"] 04-Oct-2023 15:44:11.018 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-45553"] 04-Oct-2023 15:44:11.021 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 04-Oct-2023 15:44:11.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 04-Oct-2023 15:44:11.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 04-Oct-2023 15:44:11.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 04-Oct-2023 15:44:11.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:11.025 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:11.036 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-39089"] 04-Oct-2023 15:44:11.045 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-39089"] 04-Oct-2023 15:44:11.045 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:11.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-39089"] 04-Oct-2023 15:44:11.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-39089"] 04-Oct-2023 15:44:11.052 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 04-Oct-2023 15:44:11.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 04-Oct-2023 15:44:11.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:11.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:11.058 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-34993"] 04-Oct-2023 15:44:11.062 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-34993"] 04-Oct-2023 15:44:11.063 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:11.065 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-34993"] 04-Oct-2023 15:44:11.070 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-34993"] 04-Oct-2023 15:44:11.073 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 04-Oct-2023 15:44:11.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 04-Oct-2023 15:44:11.074 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 15:44:11.074 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 15:44:11.079 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-39697"] 04-Oct-2023 15:44:11.103 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-39697"] 04-Oct-2023 15:44:11.105 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 15:44:11.107 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-39697"] 04-Oct-2023 15:44:11.109 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-39697"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.625 sec Testcase: testUseContentTypeExpiresConfiguration took 0.087 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.325 sec Testcase: testConfiguration took 0.03 sec Testcase: testNullContentType took 0.031 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.029 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.036 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.034 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.03 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.021 sec Testcase: testEmptyContent took 0.038 sec