Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.135 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 07 Feb 2024 14:07:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:10:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 07 Feb 2024 14:07:14 GMT Expires: Wed, 07 Feb 2024 14:14:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1707313993529" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:08:14 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 14:07:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:08:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:08:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:14:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 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, 07 Feb 2024 14:07:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:07:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:12:14 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 14:14:15 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 14:07:14 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Feb-2024 14:07:12.143 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Feb-2024 14:07:13.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 07-Feb-2024 14:07:13.245 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:13.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:13.480 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41477"] 07-Feb-2024 14:07:13.845 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41477"] 07-Feb-2024 14:07:13.850 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:13.889 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41477"] 07-Feb-2024 14:07:13.907 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41477"] 07-Feb-2024 14:07:13.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Feb-2024 14:07:13.916 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 07-Feb-2024 14:07:13.917 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:13.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:13.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46183"] 07-Feb-2024 14:07:14.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46183"] 07-Feb-2024 14:07:14.100 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46183"] 07-Feb-2024 14:07:14.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46183"] 07-Feb-2024 14:07:14.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Feb-2024 14:07:14.117 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 07-Feb-2024 14:07:14.119 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Feb-2024 14:07:14.133 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 07-Feb-2024 14:07:14.134 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.134 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.267 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Feb-2024 14:07:14.475 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39529"] 07-Feb-2024 14:07:14.586 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39529"] 07-Feb-2024 14:07:14.588 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39529"] 07-Feb-2024 14:07:14.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39529"] 07-Feb-2024 14:07:14.606 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Feb-2024 14:07:14.608 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 07-Feb-2024 14:07:14.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38577"] 07-Feb-2024 14:07:14.630 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38577"] 07-Feb-2024 14:07:14.633 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.635 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38577"] 07-Feb-2024 14:07:14.638 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38577"] 07-Feb-2024 14:07:14.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Feb-2024 14:07:14.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 07-Feb-2024 14:07:14.643 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.643 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.648 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37385"] 07-Feb-2024 14:07:14.660 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37385"] 07-Feb-2024 14:07:14.662 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.665 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37385"] 07-Feb-2024 14:07:14.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37385"] 07-Feb-2024 14:07:14.669 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Feb-2024 14:07:14.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 07-Feb-2024 14:07:14.671 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Feb-2024 14:07:14.676 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 07-Feb-2024 14:07:14.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34789"] 07-Feb-2024 14:07:14.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34789"] 07-Feb-2024 14:07:14.738 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34789"] 07-Feb-2024 14:07:14.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34789"] 07-Feb-2024 14:07:14.746 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Feb-2024 14:07:14.747 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 07-Feb-2024 14:07:14.748 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.748 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.751 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36173"] 07-Feb-2024 14:07:14.768 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36173"] 07-Feb-2024 14:07:14.773 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36173"] 07-Feb-2024 14:07:14.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36173"] 07-Feb-2024 14:07:14.784 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Feb-2024 14:07:14.786 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 07-Feb-2024 14:07:14.786 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.786 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.798 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33403"] 07-Feb-2024 14:07:14.837 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33403"] 07-Feb-2024 14:07:14.840 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.843 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33403"] 07-Feb-2024 14:07:14.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33403"] 07-Feb-2024 14:07:14.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Feb-2024 14:07:14.850 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 07-Feb-2024 14:07:14.851 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.851 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.859 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41873"] 07-Feb-2024 14:07:14.870 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41873"] 07-Feb-2024 14:07:14.871 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41873"] 07-Feb-2024 14:07:14.879 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41873"] 07-Feb-2024 14:07:14.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Feb-2024 14:07:14.881 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 07-Feb-2024 14:07:14.882 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Feb-2024 14:07:14.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 07-Feb-2024 14:07:14.886 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.893 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-36731"] 07-Feb-2024 14:07:14.904 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-36731"] 07-Feb-2024 14:07:14.905 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.908 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-36731"] 07-Feb-2024 14:07:14.910 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-36731"] 07-Feb-2024 14:07:14.911 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Feb-2024 14:07:14.913 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 07-Feb-2024 14:07:14.913 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.913 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.919 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-46157"] 07-Feb-2024 14:07:14.934 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-46157"] 07-Feb-2024 14:07:14.936 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:14.946 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-46157"] 07-Feb-2024 14:07:14.954 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-46157"] 07-Feb-2024 14:07:14.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Feb-2024 14:07:14.959 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 07-Feb-2024 14:07:14.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 14:07:14.960 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 07-Feb-2024 14:07:14.966 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33215"] 07-Feb-2024 14:07:15.013 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33215"] 07-Feb-2024 14:07:15.016 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 14:07:15.018 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33215"] 07-Feb-2024 14:07:15.021 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33215"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.951 sec Testcase: testUseContentTypeExpiresConfiguration took 0.202 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.486 sec Testcase: testConfiguration took 0.035 sec Testcase: testNullContentType took 0.029 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.074 sec Testcase: testUseDefaultConfiguration2 took 0.038 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.064 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.032 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.029 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.045 sec Testcase: testEmptyContent took 0.066 sec