Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.335 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 07 Feb 2024 19:58:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:01:29 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:29 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 07 Feb 2024 19:58:29 GMT Expires: Wed, 07 Feb 2024 20:05:30 GMT Keep-Alive: timeout=3 ETag: W/"971-1707335279495" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 19:59:30 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 19:58:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 19:59:30 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:30 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 19:59:31 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:30 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 20:05:31 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:30 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 19:58:30 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 07 Feb 2024 19:58:31 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:30 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 20:03:31 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 19:58:30 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 20:05:31 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 19:58:30 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Feb-2024 19:58:28.413 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Feb-2024 19:58:29.231 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 07-Feb-2024 19:58:29.290 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:29.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:29.512 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33401"] 07-Feb-2024 19:58:29.767 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33401"] 07-Feb-2024 19:58:29.770 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:29.805 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33401"] 07-Feb-2024 19:58:29.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33401"] 07-Feb-2024 19:58:29.836 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Feb-2024 19:58:29.841 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 07-Feb-2024 19:58:29.842 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:29.842 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:29.852 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37915"] 07-Feb-2024 19:58:29.949 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37915"] 07-Feb-2024 19:58:29.953 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:29.955 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37915"] 07-Feb-2024 19:58:29.961 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37915"] 07-Feb-2024 19:58:29.968 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Feb-2024 19:58:29.974 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 07-Feb-2024 19:58:29.975 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Feb-2024 19:58:29.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 07-Feb-2024 19:58:29.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:29.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:30.083 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Feb-2024 19:58:30.255 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43459"] 07-Feb-2024 19:58:30.420 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43459"] 07-Feb-2024 19:58:30.423 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:30.428 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43459"] 07-Feb-2024 19:58:30.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43459"] 07-Feb-2024 19:58:30.440 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Feb-2024 19:58:30.442 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 07-Feb-2024 19:58:30.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:30.443 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:30.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46069"] 07-Feb-2024 19:58:30.618 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46069"] 07-Feb-2024 19:58:30.620 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:30.623 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46069"] 07-Feb-2024 19:58:30.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46069"] 07-Feb-2024 19:58:30.637 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Feb-2024 19:58:30.639 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 07-Feb-2024 19:58:30.640 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:30.640 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:30.666 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38579"] 07-Feb-2024 19:58:30.822 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38579"] 07-Feb-2024 19:58:30.825 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:30.829 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38579"] 07-Feb-2024 19:58:30.832 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38579"] 07-Feb-2024 19:58:30.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Feb-2024 19:58:30.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 07-Feb-2024 19:58:30.836 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Feb-2024 19:58:30.846 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 07-Feb-2024 19:58:30.847 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:30.847 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:30.866 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44753"] 07-Feb-2024 19:58:30.988 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44753"] 07-Feb-2024 19:58:31.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44753"] 07-Feb-2024 19:58:31.027 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44753"] 07-Feb-2024 19:58:31.030 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Feb-2024 19:58:31.032 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 07-Feb-2024 19:58:31.032 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.032 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41045"] 07-Feb-2024 19:58:31.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41045"] 07-Feb-2024 19:58:31.101 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41045"] 07-Feb-2024 19:58:31.110 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41045"] 07-Feb-2024 19:58:31.111 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Feb-2024 19:58:31.113 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 07-Feb-2024 19:58:31.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.114 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43939"] 07-Feb-2024 19:58:31.139 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43939"] 07-Feb-2024 19:58:31.141 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.143 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43939"] 07-Feb-2024 19:58:31.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43939"] 07-Feb-2024 19:58:31.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Feb-2024 19:58:31.155 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 07-Feb-2024 19:58:31.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-42119"] 07-Feb-2024 19:58:31.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-42119"] 07-Feb-2024 19:58:31.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.186 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-42119"] 07-Feb-2024 19:58:31.189 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-42119"] 07-Feb-2024 19:58:31.191 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Feb-2024 19:58:31.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 07-Feb-2024 19:58:31.192 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Feb-2024 19:58:31.194 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 07-Feb-2024 19:58:31.196 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.206 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-38717"] 07-Feb-2024 19:58:31.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-38717"] 07-Feb-2024 19:58:31.227 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.229 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-38717"] 07-Feb-2024 19:58:31.231 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-38717"] 07-Feb-2024 19:58:31.232 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Feb-2024 19:58:31.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 07-Feb-2024 19:58:31.238 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36177"] 07-Feb-2024 19:58:31.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36177"] 07-Feb-2024 19:58:31.278 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.285 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36177"] 07-Feb-2024 19:58:31.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36177"] 07-Feb-2024 19:58:31.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Feb-2024 19:58:31.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 07-Feb-2024 19:58:31.292 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 19:58:31.292 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 19:58:31.303 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40683"] 07-Feb-2024 19:58:31.313 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40683"] 07-Feb-2024 19:58:31.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 19:58:31.317 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40683"] 07-Feb-2024 19:58:31.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40683"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.739 sec Testcase: testUseContentTypeExpiresConfiguration took 0.132 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.007 sec Testcase: testBug63909 took 0.464 sec Testcase: testConfiguration took 0.196 sec Testcase: testNullContentType took 0.196 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.193 sec Testcase: testUseDefaultConfiguration2 took 0.081 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.042 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.037 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.04 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.057 sec Testcase: testEmptyContent took 0.036 sec