Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.895 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 26 Oct 2023 15:34:17 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:37:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 26 Oct 2023 15:34:18 GMT Expires: Thu, 26 Oct 2023 15:41:18 GMT Keep-Alive: timeout=3 ETag: W/"971-1698333512810" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:35:18 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 15:34:18 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:35:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:35:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:41:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 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: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:34:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:39:18 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:41:18 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 15:34:18 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 26-Oct-2023 15:34:16.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 26-Oct-2023 15:34:17.578 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 26-Oct-2023 15:34:17.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:17.607 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:17.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37807"] 26-Oct-2023 15:34:17.878 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37807"] 26-Oct-2023 15:34:17.881 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:17.914 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37807"] 26-Oct-2023 15:34:17.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37807"] 26-Oct-2023 15:34:17.935 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 26-Oct-2023 15:34:17.937 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 26-Oct-2023 15:34:17.938 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:17.942 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:17.953 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43329"] 26-Oct-2023 15:34:18.055 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43329"] 26-Oct-2023 15:34:18.060 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43329"] 26-Oct-2023 15:34:18.068 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43329"] 26-Oct-2023 15:34:18.070 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 26-Oct-2023 15:34:18.070 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 26-Oct-2023 15:34:18.071 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 26-Oct-2023 15:34:18.078 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 26-Oct-2023 15:34:18.079 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.079 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.137 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Oct-2023 15:34:18.238 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45559"] 26-Oct-2023 15:34:18.256 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45559"] 26-Oct-2023 15:34:18.257 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.264 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45559"] 26-Oct-2023 15:34:18.270 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45559"] 26-Oct-2023 15:34:18.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 26-Oct-2023 15:34:18.273 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 26-Oct-2023 15:34:18.275 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.275 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34703"] 26-Oct-2023 15:34:18.287 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34703"] 26-Oct-2023 15:34:18.287 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.289 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34703"] 26-Oct-2023 15:34:18.291 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34703"] 26-Oct-2023 15:34:18.293 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 26-Oct-2023 15:34:18.295 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 26-Oct-2023 15:34:18.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.296 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.305 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32945"] 26-Oct-2023 15:34:18.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32945"] 26-Oct-2023 15:34:18.313 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.315 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32945"] 26-Oct-2023 15:34:18.317 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32945"] 26-Oct-2023 15:34:18.318 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 26-Oct-2023 15:34:18.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 26-Oct-2023 15:34:18.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 26-Oct-2023 15:34:18.320 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 26-Oct-2023 15:34:18.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42747"] 26-Oct-2023 15:34:18.337 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42747"] 26-Oct-2023 15:34:18.337 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42747"] 26-Oct-2023 15:34:18.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42747"] 26-Oct-2023 15:34:18.345 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 26-Oct-2023 15:34:18.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 26-Oct-2023 15:34:18.347 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.347 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35505"] 26-Oct-2023 15:34:18.361 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35505"] 26-Oct-2023 15:34:18.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.363 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35505"] 26-Oct-2023 15:34:18.367 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35505"] 26-Oct-2023 15:34:18.368 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 26-Oct-2023 15:34:18.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 26-Oct-2023 15:34:18.370 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.370 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.375 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39553"] 26-Oct-2023 15:34:18.389 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39553"] 26-Oct-2023 15:34:18.392 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.394 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39553"] 26-Oct-2023 15:34:18.397 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39553"] 26-Oct-2023 15:34:18.398 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 26-Oct-2023 15:34:18.399 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 26-Oct-2023 15:34:18.400 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.400 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.404 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46217"] 26-Oct-2023 15:34:18.417 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46217"] 26-Oct-2023 15:34:18.417 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.419 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46217"] 26-Oct-2023 15:34:18.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46217"] 26-Oct-2023 15:34:18.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 26-Oct-2023 15:34:18.425 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 26-Oct-2023 15:34:18.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 26-Oct-2023 15:34:18.427 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 26-Oct-2023 15:34:18.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.428 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.432 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45737"] 26-Oct-2023 15:34:18.441 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45737"] 26-Oct-2023 15:34:18.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45737"] 26-Oct-2023 15:34:18.446 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45737"] 26-Oct-2023 15:34:18.449 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 26-Oct-2023 15:34:18.450 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 26-Oct-2023 15:34:18.450 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.450 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.454 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37621"] 26-Oct-2023 15:34:18.469 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37621"] 26-Oct-2023 15:34:18.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.474 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37621"] 26-Oct-2023 15:34:18.476 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37621"] 26-Oct-2023 15:34:18.477 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 26-Oct-2023 15:34:18.478 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 26-Oct-2023 15:34:18.479 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:34:18.479 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:34:18.484 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38157"] 26-Oct-2023 15:34:18.498 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38157"] 26-Oct-2023 15:34:18.500 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:34:18.502 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38157"] 26-Oct-2023 15:34:18.505 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38157"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.247 sec Testcase: testUseContentTypeExpiresConfiguration took 0.134 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.2 sec Testcase: testConfiguration took 0.022 sec Testcase: testNullContentType took 0.025 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.025 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.023 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.029 sec