Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.146 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sat, 13 May 2023 03:24:49 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sat, 13 May 2023 03:27:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: text/xml;charset=utf-8 Date: Sat, 13 May 2023 03:24:49 GMT Expires: Sat, 13 May 2023 03:31:49 GMT Keep-Alive: timeout=3 ETag: W/"971-1683947308443" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 03:25:49 GMT Content-Length: 0 Date: Sat, 13 May 2023 03:24:49 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 03:25:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 03:25:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 03:31:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 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: Sat, 13 May 2023 03:24:49 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sat, 13 May 2023 03:24:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sat, 13 May 2023 03:29:49 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 03:31:49 GMT Content-Length: 0 Date: Sat, 13 May 2023 03:24:49 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-May-2023 03:24:48.091 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-May-2023 03:24:48.965 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-May-2023 03:24:48.994 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:48.995 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37313"] 13-May-2023 03:24:49.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37313"] 13-May-2023 03:24:49.374 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.387 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37313"] 13-May-2023 03:24:49.397 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37313"] 13-May-2023 03:24:49.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-May-2023 03:24:49.406 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-May-2023 03:24:49.407 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.407 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37523"] 13-May-2023 03:24:49.431 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37523"] 13-May-2023 03:24:49.434 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.436 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37523"] 13-May-2023 03:24:49.439 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37523"] 13-May-2023 03:24:49.442 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-May-2023 03:24:49.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-May-2023 03:24:49.444 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-May-2023 03:24:49.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-May-2023 03:24:49.460 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.460 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.514 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-May-2023 03:24:49.611 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37733"] 13-May-2023 03:24:49.623 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37733"] 13-May-2023 03:24:49.624 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.630 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37733"] 13-May-2023 03:24:49.632 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37733"] 13-May-2023 03:24:49.633 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-May-2023 03:24:49.635 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-May-2023 03:24:49.636 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.636 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.641 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35445"] 13-May-2023 03:24:49.643 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35445"] 13-May-2023 03:24:49.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35445"] 13-May-2023 03:24:49.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35445"] 13-May-2023 03:24:49.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-May-2023 03:24:49.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-May-2023 03:24:49.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.656 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46767"] 13-May-2023 03:24:49.671 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46767"] 13-May-2023 03:24:49.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46767"] 13-May-2023 03:24:49.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46767"] 13-May-2023 03:24:49.677 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-May-2023 03:24:49.678 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-May-2023 03:24:49.679 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-May-2023 03:24:49.680 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-May-2023 03:24:49.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.680 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33659"] 13-May-2023 03:24:49.691 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33659"] 13-May-2023 03:24:49.694 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.696 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33659"] 13-May-2023 03:24:49.701 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33659"] 13-May-2023 03:24:49.702 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-May-2023 03:24:49.704 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-May-2023 03:24:49.705 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.705 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.710 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35305"] 13-May-2023 03:24:49.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35305"] 13-May-2023 03:24:49.724 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.727 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35305"] 13-May-2023 03:24:49.731 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35305"] 13-May-2023 03:24:49.732 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-May-2023 03:24:49.734 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-May-2023 03:24:49.734 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.735 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.740 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37855"] 13-May-2023 03:24:49.755 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37855"] 13-May-2023 03:24:49.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.760 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37855"] 13-May-2023 03:24:49.762 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37855"] 13-May-2023 03:24:49.764 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-May-2023 03:24:49.765 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 13-May-2023 03:24:49.765 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.766 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.770 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-39931"] 13-May-2023 03:24:49.785 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-39931"] 13-May-2023 03:24:49.786 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.788 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-39931"] 13-May-2023 03:24:49.800 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-39931"] 13-May-2023 03:24:49.802 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-May-2023 03:24:49.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 13-May-2023 03:24:49.804 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-May-2023 03:24:49.805 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 13-May-2023 03:24:49.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.807 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.815 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41729"] 13-May-2023 03:24:49.827 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41729"] 13-May-2023 03:24:49.830 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.833 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41729"] 13-May-2023 03:24:49.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41729"] 13-May-2023 03:24:49.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-May-2023 03:24:49.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 13-May-2023 03:24:49.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42093"] 13-May-2023 03:24:49.859 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42093"] 13-May-2023 03:24:49.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.861 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42093"] 13-May-2023 03:24:49.864 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42093"] 13-May-2023 03:24:49.865 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-May-2023 03:24:49.867 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 13-May-2023 03:24:49.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:24:49.868 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:24:49.872 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37729"] 13-May-2023 03:24:49.881 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37729"] 13-May-2023 03:24:49.884 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:24:49.886 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37729"] 13-May-2023 03:24:49.889 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37729"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.605 sec Testcase: testUseContentTypeExpiresConfiguration took 0.037 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.19 sec Testcase: testConfiguration took 0.02 sec Testcase: testNullContentType took 0.023 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.023 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.031 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.037 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.033 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.028 sec Testcase: testEmptyContent took 0.024 sec