Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.125 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 14 Feb 2024 00:16:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:19:14 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16:14 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 14 Feb 2024 00:16:14 GMT Expires: Wed, 14 Feb 2024 00:23:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1707868444348" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:17:14 GMT Content-Length: 0 Date: Wed, 14 Feb 2024 00:16:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:17:14 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:17:15 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:23:15 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16: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, 14 Feb 2024 00:16:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:16:15 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:21:15 GMT Content-Length: 11 Date: Wed, 14 Feb 2024 00:16:15 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 14 Feb 2024 00:23:15 GMT Content-Length: 0 Date: Wed, 14 Feb 2024 00:16:15 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 14-Feb-2024 00:16:11.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 14-Feb-2024 00:16:13.259 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 14-Feb-2024 00:16:13.452 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:13.452 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:13.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43701"] 14-Feb-2024 00:16:13.983 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43701"] 14-Feb-2024 00:16:13.998 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.037 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43701"] 14-Feb-2024 00:16:14.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43701"] 14-Feb-2024 00:16:14.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 14-Feb-2024 00:16:14.072 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 14-Feb-2024 00:16:14.174 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:14.174 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:14.227 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43703"] 14-Feb-2024 00:16:14.246 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43703"] 14-Feb-2024 00:16:14.248 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.252 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43703"] 14-Feb-2024 00:16:14.253 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43703"] 14-Feb-2024 00:16:14.261 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 14-Feb-2024 00:16:14.263 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 14-Feb-2024 00:16:14.264 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 14-Feb-2024 00:16:14.279 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 14-Feb-2024 00:16:14.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:14.288 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:14.402 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 14-Feb-2024 00:16:14.670 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41559"] 14-Feb-2024 00:16:14.691 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41559"] 14-Feb-2024 00:16:14.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41559"] 14-Feb-2024 00:16:14.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41559"] 14-Feb-2024 00:16:14.736 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 14-Feb-2024 00:16:14.738 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 14-Feb-2024 00:16:14.752 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:14.752 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:14.802 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36049"] 14-Feb-2024 00:16:14.807 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36049"] 14-Feb-2024 00:16:14.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36049"] 14-Feb-2024 00:16:14.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36049"] 14-Feb-2024 00:16:14.823 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 14-Feb-2024 00:16:14.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 14-Feb-2024 00:16:14.851 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:14.851 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:14.868 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36529"] 14-Feb-2024 00:16:14.888 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36529"] 14-Feb-2024 00:16:14.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36529"] 14-Feb-2024 00:16:14.897 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36529"] 14-Feb-2024 00:16:14.904 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 14-Feb-2024 00:16:14.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 14-Feb-2024 00:16:14.906 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 14-Feb-2024 00:16:14.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 14-Feb-2024 00:16:14.929 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:14.929 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:14.949 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41529"] 14-Feb-2024 00:16:14.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41529"] 14-Feb-2024 00:16:14.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:14.962 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41529"] 14-Feb-2024 00:16:14.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41529"] 14-Feb-2024 00:16:14.976 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 14-Feb-2024 00:16:14.978 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 14-Feb-2024 00:16:15.019 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.020 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.066 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39901"] 14-Feb-2024 00:16:15.080 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39901"] 14-Feb-2024 00:16:15.083 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.087 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39901"] 14-Feb-2024 00:16:15.088 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39901"] 14-Feb-2024 00:16:15.098 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 14-Feb-2024 00:16:15.110 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 14-Feb-2024 00:16:15.123 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.124 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.152 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37625"] 14-Feb-2024 00:16:15.160 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37625"] 14-Feb-2024 00:16:15.164 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37625"] 14-Feb-2024 00:16:15.169 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37625"] 14-Feb-2024 00:16:15.176 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 14-Feb-2024 00:16:15.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 14-Feb-2024 00:16:15.182 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.182 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.202 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37293"] 14-Feb-2024 00:16:15.209 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37293"] 14-Feb-2024 00:16:15.210 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37293"] 14-Feb-2024 00:16:15.216 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37293"] 14-Feb-2024 00:16:15.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 14-Feb-2024 00:16:15.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 14-Feb-2024 00:16:15.226 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 14-Feb-2024 00:16:15.227 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 14-Feb-2024 00:16:15.230 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.230 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.243 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44435"] 14-Feb-2024 00:16:15.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44435"] 14-Feb-2024 00:16:15.253 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.258 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44435"] 14-Feb-2024 00:16:15.262 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44435"] 14-Feb-2024 00:16:15.267 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 14-Feb-2024 00:16:15.269 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 14-Feb-2024 00:16:15.286 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.286 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-44463"] 14-Feb-2024 00:16:15.302 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-44463"] 14-Feb-2024 00:16:15.306 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-44463"] 14-Feb-2024 00:16:15.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-44463"] 14-Feb-2024 00:16:15.315 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 14-Feb-2024 00:16:15.316 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 14-Feb-2024 00:16:15.334 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-Feb-2024 00:16:15.334 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 14-Feb-2024 00:16:15.347 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38763"] 14-Feb-2024 00:16:15.360 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38763"] 14-Feb-2024 00:16:15.362 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-Feb-2024 00:16:15.366 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38763"] 14-Feb-2024 00:16:15.367 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38763"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.744 sec Testcase: testUseContentTypeExpiresConfiguration took 0.198 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.471 sec Testcase: testConfiguration took 0.086 sec Testcase: testNullContentType took 0.082 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.071 sec Testcase: testUseDefaultConfiguration2 took 0.121 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.077 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.041 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.048 sec Testcase: testEmptyContent took 0.055 sec