Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.51 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 03 Oct 2023 14:51:01 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:54:01 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 03 Oct 2023 14:51:01 GMT Expires: Tue, 03 Oct 2023 14:58:01 GMT Keep-Alive: timeout=3 ETag: W/"971-1696344108159" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:52:01 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 14:51:01 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:52:01 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:52:01 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:58:01 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 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, 03 Oct 2023 14:51:01 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:51:02 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:56:02 GMT Content-Length: 11 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Oct 2023 14:58:02 GMT Content-Length: 0 Date: Tue, 03 Oct 2023 14:51:01 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Oct-2023 14:51:00.002 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Oct-2023 14:51:01.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Oct-2023 14:51:01.102 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.102 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.345 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40681"] 03-Oct-2023 14:51:01.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40681"] 03-Oct-2023 14:51:01.555 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.572 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40681"] 03-Oct-2023 14:51:01.579 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40681"] 03-Oct-2023 14:51:01.586 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Oct-2023 14:51:01.589 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Oct-2023 14:51:01.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.596 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35527"] 03-Oct-2023 14:51:01.614 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35527"] 03-Oct-2023 14:51:01.614 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35527"] 03-Oct-2023 14:51:01.624 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35527"] 03-Oct-2023 14:51:01.627 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Oct-2023 14:51:01.628 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Oct-2023 14:51:01.629 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Oct-2023 14:51:01.634 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Oct-2023 14:51:01.635 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.635 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.674 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Oct-2023 14:51:01.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41577"] 03-Oct-2023 14:51:01.805 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41577"] 03-Oct-2023 14:51:01.806 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.816 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41577"] 03-Oct-2023 14:51:01.819 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41577"] 03-Oct-2023 14:51:01.823 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Oct-2023 14:51:01.825 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Oct-2023 14:51:01.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42093"] 03-Oct-2023 14:51:01.841 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42093"] 03-Oct-2023 14:51:01.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42093"] 03-Oct-2023 14:51:01.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42093"] 03-Oct-2023 14:51:01.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Oct-2023 14:51:01.855 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Oct-2023 14:51:01.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.855 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.864 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40643"] 03-Oct-2023 14:51:01.876 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40643"] 03-Oct-2023 14:51:01.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40643"] 03-Oct-2023 14:51:01.886 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40643"] 03-Oct-2023 14:51:01.889 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Oct-2023 14:51:01.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Oct-2023 14:51:01.891 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Oct-2023 14:51:01.892 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Oct-2023 14:51:01.893 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.893 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.908 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42591"] 03-Oct-2023 14:51:01.926 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42591"] 03-Oct-2023 14:51:01.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.934 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42591"] 03-Oct-2023 14:51:01.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42591"] 03-Oct-2023 14:51:01.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Oct-2023 14:51:01.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Oct-2023 14:51:01.944 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.944 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36127"] 03-Oct-2023 14:51:01.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36127"] 03-Oct-2023 14:51:01.962 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.965 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36127"] 03-Oct-2023 14:51:01.968 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36127"] 03-Oct-2023 14:51:01.970 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Oct-2023 14:51:01.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Oct-2023 14:51:01.973 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:01.973 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:01.980 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45531"] 03-Oct-2023 14:51:01.992 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45531"] 03-Oct-2023 14:51:01.995 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:01.997 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45531"] 03-Oct-2023 14:51:02.000 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45531"] 03-Oct-2023 14:51:02.002 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Oct-2023 14:51:02.003 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 03-Oct-2023 14:51:02.004 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:02.004 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:02.014 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40241"] 03-Oct-2023 14:51:02.030 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40241"] 03-Oct-2023 14:51:02.033 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:02.036 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40241"] 03-Oct-2023 14:51:02.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40241"] 03-Oct-2023 14:51:02.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Oct-2023 14:51:02.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 03-Oct-2023 14:51:02.051 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Oct-2023 14:51:02.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 03-Oct-2023 14:51:02.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:02.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:02.079 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-37163"] 03-Oct-2023 14:51:02.095 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-37163"] 03-Oct-2023 14:51:02.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:02.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-37163"] 03-Oct-2023 14:51:02.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-37163"] 03-Oct-2023 14:51:02.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Oct-2023 14:51:02.107 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 03-Oct-2023 14:51:02.107 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:02.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:02.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-45933"] 03-Oct-2023 14:51:02.123 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-45933"] 03-Oct-2023 14:51:02.125 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:02.129 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-45933"] 03-Oct-2023 14:51:02.132 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-45933"] 03-Oct-2023 14:51:02.136 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Oct-2023 14:51:02.138 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 03-Oct-2023 14:51:02.138 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2023 14:51:02.138 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 03-Oct-2023 14:51:02.156 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-36453"] 03-Oct-2023 14:51:02.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-36453"] 03-Oct-2023 14:51:02.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2023 14:51:02.186 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-36453"] 03-Oct-2023 14:51:02.191 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-36453"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.843 sec Testcase: testUseContentTypeExpiresConfiguration took 0.04 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.194 sec Testcase: testConfiguration took 0.03 sec Testcase: testNullContentType took 0.037 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.049 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.031 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.044 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.054 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.03 sec Testcase: testEmptyContent took 0.058 sec