Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.816 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 07 Feb 2024 21:22:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 07 Feb 2024 21:25:36 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:36 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 07 Feb 2024 21:22:36 GMT Expires: Wed, 07 Feb 2024 21:29:36 GMT Keep-Alive: timeout=3 ETag: W/"971-1707339702286" 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 21:23:36 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 21:22:36 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 21:23:36 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:36 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 21:23:37 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:36 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 21:29:37 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:36 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 21:22:36 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 07 Feb 2024 21:22:37 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:37 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 21:27:37 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 21:22:37 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 21:29:37 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 21:22:37 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Feb-2024 21:22:34.085 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Feb-2024 21:22:35.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Feb-2024 21:22:35.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:35.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:35.726 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46823"] 07-Feb-2024 21:22:35.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46823"] 07-Feb-2024 21:22:35.948 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:35.994 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46823"] 07-Feb-2024 21:22:35.996 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46823"] 07-Feb-2024 21:22:36.012 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Feb-2024 21:22:36.032 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Feb-2024 21:22:36.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:36.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:36.122 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46609"] 07-Feb-2024 21:22:36.152 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46609"] 07-Feb-2024 21:22:36.158 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:36.162 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46609"] 07-Feb-2024 21:22:36.163 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46609"] 07-Feb-2024 21:22:36.172 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Feb-2024 21:22:36.173 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Feb-2024 21:22:36.174 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Feb-2024 21:22:36.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Feb-2024 21:22:36.206 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:36.206 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:36.402 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Feb-2024 21:22:36.691 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39975"] 07-Feb-2024 21:22:36.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39975"] 07-Feb-2024 21:22:36.739 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:36.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39975"] 07-Feb-2024 21:22:36.757 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39975"] 07-Feb-2024 21:22:36.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Feb-2024 21:22:36.769 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Feb-2024 21:22:36.807 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:36.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:36.868 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38007"] 07-Feb-2024 21:22:36.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38007"] 07-Feb-2024 21:22:36.887 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:36.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38007"] 07-Feb-2024 21:22:36.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38007"] 07-Feb-2024 21:22:36.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Feb-2024 21:22:36.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Feb-2024 21:22:36.904 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:36.904 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:36.915 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37785"] 07-Feb-2024 21:22:36.920 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37785"] 07-Feb-2024 21:22:36.923 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:36.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37785"] 07-Feb-2024 21:22:36.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37785"] 07-Feb-2024 21:22:36.939 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Feb-2024 21:22:36.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Feb-2024 21:22:36.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Feb-2024 21:22:36.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Feb-2024 21:22:36.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:36.960 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:36.970 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44419"] 07-Feb-2024 21:22:36.975 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44419"] 07-Feb-2024 21:22:36.976 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:36.990 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44419"] 07-Feb-2024 21:22:36.991 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44419"] 07-Feb-2024 21:22:36.995 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Feb-2024 21:22:36.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Feb-2024 21:22:37.008 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.009 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.018 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39737"] 07-Feb-2024 21:22:37.021 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39737"] 07-Feb-2024 21:22:37.023 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39737"] 07-Feb-2024 21:22:37.026 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39737"] 07-Feb-2024 21:22:37.033 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Feb-2024 21:22:37.035 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Feb-2024 21:22:37.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36019"] 07-Feb-2024 21:22:37.050 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36019"] 07-Feb-2024 21:22:37.053 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36019"] 07-Feb-2024 21:22:37.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36019"] 07-Feb-2024 21:22:37.064 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Feb-2024 21:22:37.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 07-Feb-2024 21:22:37.069 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.080 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36933"] 07-Feb-2024 21:22:37.092 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36933"] 07-Feb-2024 21:22:37.094 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.099 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36933"] 07-Feb-2024 21:22:37.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36933"] 07-Feb-2024 21:22:37.104 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Feb-2024 21:22:37.105 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 07-Feb-2024 21:22:37.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Feb-2024 21:22:37.107 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 07-Feb-2024 21:22:37.112 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.112 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.135 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42849"] 07-Feb-2024 21:22:37.145 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42849"] 07-Feb-2024 21:22:37.146 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42849"] 07-Feb-2024 21:22:37.151 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42849"] 07-Feb-2024 21:22:37.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Feb-2024 21:22:37.160 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 07-Feb-2024 21:22:37.177 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.177 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.205 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37381"] 07-Feb-2024 21:22:37.221 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37381"] 07-Feb-2024 21:22:37.244 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37381"] 07-Feb-2024 21:22:37.249 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37381"] 07-Feb-2024 21:22:37.254 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Feb-2024 21:22:37.262 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 07-Feb-2024 21:22:37.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 21:22:37.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 21:22:37.302 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40539"] 07-Feb-2024 21:22:37.305 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40539"] 07-Feb-2024 21:22:37.308 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 21:22:37.313 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40539"] 07-Feb-2024 21:22:37.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40539"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.381 sec Testcase: testUseContentTypeExpiresConfiguration took 0.16 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.592 sec Testcase: testConfiguration took 0.132 sec Testcase: testNullContentType took 0.039 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.054 sec Testcase: testUseDefaultConfiguration2 took 0.037 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.04 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.053 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.095 sec Testcase: testEmptyContent took 0.071 sec