Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.241 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 11 Oct 2023 15:50:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:53:53 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 11 Oct 2023 15:50:53 GMT Expires: Wed, 11 Oct 2023 15:57:54 GMT Keep-Alive: timeout=3 ETag: W/"971-1697038862977" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:51:54 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 15:50:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:51:54 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:51:54 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:57:54 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 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, 11 Oct 2023 15:50:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:50:54 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:55:54 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 15:57:54 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 15:50:53 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Oct-2023 15:50:52.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Oct-2023 15:50:53.215 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Oct-2023 15:50:53.289 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:53.290 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:53.465 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35635"] 11-Oct-2023 15:50:53.588 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35635"] 11-Oct-2023 15:50:53.592 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:53.626 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35635"] 11-Oct-2023 15:50:53.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35635"] 11-Oct-2023 15:50:53.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Oct-2023 15:50:53.665 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Oct-2023 15:50:53.666 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:53.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:53.683 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41931"] 11-Oct-2023 15:50:53.723 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41931"] 11-Oct-2023 15:50:53.726 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:53.729 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41931"] 11-Oct-2023 15:50:53.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41931"] 11-Oct-2023 15:50:53.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Oct-2023 15:50:53.736 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Oct-2023 15:50:53.737 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Oct-2023 15:50:53.743 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Oct-2023 15:50:53.743 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:53.745 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:53.817 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Oct-2023 15:50:54.032 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45689"] 11-Oct-2023 15:50:54.087 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45689"] 11-Oct-2023 15:50:54.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.102 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45689"] 11-Oct-2023 15:50:54.122 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45689"] 11-Oct-2023 15:50:54.131 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Oct-2023 15:50:54.138 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Oct-2023 15:50:54.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.160 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41065"] 11-Oct-2023 15:50:54.164 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41065"] 11-Oct-2023 15:50:54.164 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.166 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41065"] 11-Oct-2023 15:50:54.170 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41065"] 11-Oct-2023 15:50:54.172 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Oct-2023 15:50:54.174 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Oct-2023 15:50:54.174 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.175 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.184 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34973"] 11-Oct-2023 15:50:54.196 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34973"] 11-Oct-2023 15:50:54.199 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.201 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34973"] 11-Oct-2023 15:50:54.204 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34973"] 11-Oct-2023 15:50:54.205 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Oct-2023 15:50:54.206 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Oct-2023 15:50:54.207 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Oct-2023 15:50:54.208 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Oct-2023 15:50:54.209 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.209 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.221 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40723"] 11-Oct-2023 15:50:54.227 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40723"] 11-Oct-2023 15:50:54.230 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.232 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40723"] 11-Oct-2023 15:50:54.234 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40723"] 11-Oct-2023 15:50:54.235 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Oct-2023 15:50:54.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Oct-2023 15:50:54.237 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.237 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.240 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37347"] 11-Oct-2023 15:50:54.246 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37347"] 11-Oct-2023 15:50:54.247 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37347"] 11-Oct-2023 15:50:54.250 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37347"] 11-Oct-2023 15:50:54.251 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Oct-2023 15:50:54.252 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Oct-2023 15:50:54.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.253 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.264 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33297"] 11-Oct-2023 15:50:54.292 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33297"] 11-Oct-2023 15:50:54.295 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.297 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33297"] 11-Oct-2023 15:50:54.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33297"] 11-Oct-2023 15:50:54.306 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Oct-2023 15:50:54.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-Oct-2023 15:50:54.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.310 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.320 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43145"] 11-Oct-2023 15:50:54.333 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43145"] 11-Oct-2023 15:50:54.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43145"] 11-Oct-2023 15:50:54.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43145"] 11-Oct-2023 15:50:54.346 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Oct-2023 15:50:54.347 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-Oct-2023 15:50:54.348 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Oct-2023 15:50:54.350 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-Oct-2023 15:50:54.351 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.351 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.355 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35147"] 11-Oct-2023 15:50:54.366 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35147"] 11-Oct-2023 15:50:54.369 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.371 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35147"] 11-Oct-2023 15:50:54.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35147"] 11-Oct-2023 15:50:54.374 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Oct-2023 15:50:54.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-Oct-2023 15:50:54.375 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.376 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43353"] 11-Oct-2023 15:50:54.388 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43353"] 11-Oct-2023 15:50:54.389 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.391 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43353"] 11-Oct-2023 15:50:54.395 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43353"] 11-Oct-2023 15:50:54.396 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Oct-2023 15:50:54.398 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-Oct-2023 15:50:54.398 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 15:50:54.398 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 11-Oct-2023 15:50:54.402 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41839"] 11-Oct-2023 15:50:54.409 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41839"] 11-Oct-2023 15:50:54.410 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 15:50:54.412 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41839"] 11-Oct-2023 15:50:54.416 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41839"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.363 sec Testcase: testUseContentTypeExpiresConfiguration took 0.074 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.395 sec Testcase: testConfiguration took 0.04 sec Testcase: testNullContentType took 0.033 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.028 sec Testcase: testUseDefaultConfiguration2 took 0.016 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.054 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.039 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.025 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.022 sec Testcase: testEmptyContent took 0.021 sec