Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.256 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 05 Oct 2023 11:34:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 05 Oct 2023 11:37:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 05 Oct 2023 11:34:57 GMT Expires: Thu, 05 Oct 2023 11:41:57 GMT Keep-Alive: timeout=3 ETag: W/"971-1696505131516" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 05 Oct 2023 11:35:57 GMT Content-Length: 0 Date: Thu, 05 Oct 2023 11:34:57 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 05 Oct 2023 11:35:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 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 11:35:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 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 11:41:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 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 11:34:57 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 05 Oct 2023 11:34:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 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 11:39:57 GMT Content-Length: 11 Date: Thu, 05 Oct 2023 11:34:57 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 11:41:57 GMT Content-Length: 0 Date: Thu, 05 Oct 2023 11:34:57 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 05-Oct-2023 11:34:55.017 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 05-Oct-2023 11:34:56.167 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 05-Oct-2023 11:34:56.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:56.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:56.526 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45035"] 05-Oct-2023 11:34:56.849 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45035"] 05-Oct-2023 11:34:56.851 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:56.881 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45035"] 05-Oct-2023 11:34:56.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45035"] 05-Oct-2023 11:34:56.903 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 05-Oct-2023 11:34:56.911 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 05-Oct-2023 11:34:56.928 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:56.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:56.975 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41623"] 05-Oct-2023 11:34:57.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41623"] 05-Oct-2023 11:34:57.093 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.099 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41623"] 05-Oct-2023 11:34:57.104 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41623"] 05-Oct-2023 11:34:57.109 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 05-Oct-2023 11:34:57.110 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 05-Oct-2023 11:34:57.111 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 05-Oct-2023 11:34:57.144 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 05-Oct-2023 11:34:57.145 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.145 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.264 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 05-Oct-2023 11:34:57.533 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44867"] 05-Oct-2023 11:34:57.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44867"] 05-Oct-2023 11:34:57.553 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.561 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44867"] 05-Oct-2023 11:34:57.566 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44867"] 05-Oct-2023 11:34:57.570 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 05-Oct-2023 11:34:57.571 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 05-Oct-2023 11:34:57.572 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.589 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35531"] 05-Oct-2023 11:34:57.593 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35531"] 05-Oct-2023 11:34:57.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.599 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35531"] 05-Oct-2023 11:34:57.601 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35531"] 05-Oct-2023 11:34:57.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 05-Oct-2023 11:34:57.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 05-Oct-2023 11:34:57.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.607 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.620 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42799"] 05-Oct-2023 11:34:57.636 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42799"] 05-Oct-2023 11:34:57.638 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42799"] 05-Oct-2023 11:34:57.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42799"] 05-Oct-2023 11:34:57.650 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 05-Oct-2023 11:34:57.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 05-Oct-2023 11:34:57.652 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 05-Oct-2023 11:34:57.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 05-Oct-2023 11:34:57.654 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.654 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33393"] 05-Oct-2023 11:34:57.671 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33393"] 05-Oct-2023 11:34:57.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.676 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33393"] 05-Oct-2023 11:34:57.680 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33393"] 05-Oct-2023 11:34:57.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 05-Oct-2023 11:34:57.685 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 05-Oct-2023 11:34:57.685 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.686 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43793"] 05-Oct-2023 11:34:57.705 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43793"] 05-Oct-2023 11:34:57.706 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43793"] 05-Oct-2023 11:34:57.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43793"] 05-Oct-2023 11:34:57.714 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 05-Oct-2023 11:34:57.715 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 05-Oct-2023 11:34:57.716 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.716 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.727 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33283"] 05-Oct-2023 11:34:57.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33283"] 05-Oct-2023 11:34:57.739 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33283"] 05-Oct-2023 11:34:57.748 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33283"] 05-Oct-2023 11:34:57.750 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 05-Oct-2023 11:34:57.752 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 05-Oct-2023 11:34:57.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-42329"] 05-Oct-2023 11:34:57.768 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-42329"] 05-Oct-2023 11:34:57.771 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-42329"] 05-Oct-2023 11:34:57.788 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-42329"] 05-Oct-2023 11:34:57.790 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 05-Oct-2023 11:34:57.791 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 05-Oct-2023 11:34:57.794 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 05-Oct-2023 11:34:57.804 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 05-Oct-2023 11:34:57.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.807 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.832 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-43871"] 05-Oct-2023 11:34:57.863 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-43871"] 05-Oct-2023 11:34:57.866 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-43871"] 05-Oct-2023 11:34:57.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-43871"] 05-Oct-2023 11:34:57.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 05-Oct-2023 11:34:57.883 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 05-Oct-2023 11:34:57.884 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.884 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43255"] 05-Oct-2023 11:34:57.913 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43255"] 05-Oct-2023 11:34:57.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.920 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43255"] 05-Oct-2023 11:34:57.922 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43255"] 05-Oct-2023 11:34:57.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 05-Oct-2023 11:34:57.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 05-Oct-2023 11:34:57.927 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Oct-2023 11:34:57.927 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 05-Oct-2023 11:34:57.937 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-43169"] 05-Oct-2023 11:34:57.946 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-43169"] 05-Oct-2023 11:34:57.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Oct-2023 11:34:57.951 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-43169"] 05-Oct-2023 11:34:57.954 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-43169"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.137 sec Testcase: testUseContentTypeExpiresConfiguration took 0.208 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.458 sec Testcase: testConfiguration took 0.035 sec Testcase: testNullContentType took 0.046 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.03 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.037 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.04 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.087 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.043 sec Testcase: testEmptyContent took 0.035 sec