Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.62 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 29 Feb 2024 12:17:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:20:13 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 29 Feb 2024 12:17:13 GMT Expires: Thu, 29 Feb 2024 12:24:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1709207331657" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:18:14 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 12:17:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:18:14 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:18:14 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:24:14 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 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, 29 Feb 2024 12:17:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:17:14 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:22:14 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:17:13 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:24:14 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 12:17:14 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 29-Feb-2024 12:17:11.588 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 29-Feb-2024 12:17:12.726 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 29-Feb-2024 12:17:12.909 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:12.926 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:13.220 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40995"] 29-Feb-2024 12:17:13.414 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40995"] 29-Feb-2024 12:17:13.417 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:13.451 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40995"] 29-Feb-2024 12:17:13.456 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40995"] 29-Feb-2024 12:17:13.473 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 29-Feb-2024 12:17:13.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 29-Feb-2024 12:17:13.593 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:13.594 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:13.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43475"] 29-Feb-2024 12:17:13.631 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43475"] 29-Feb-2024 12:17:13.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:13.637 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43475"] 29-Feb-2024 12:17:13.639 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43475"] 29-Feb-2024 12:17:13.644 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 29-Feb-2024 12:17:13.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 29-Feb-2024 12:17:13.668 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 29-Feb-2024 12:17:13.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 29-Feb-2024 12:17:13.744 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:13.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:13.848 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 29-Feb-2024 12:17:14.115 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36941"] 29-Feb-2024 12:17:14.145 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36941"] 29-Feb-2024 12:17:14.147 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.159 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36941"] 29-Feb-2024 12:17:14.161 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36941"] 29-Feb-2024 12:17:14.166 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 29-Feb-2024 12:17:14.167 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 29-Feb-2024 12:17:14.249 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.250 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.262 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34917"] 29-Feb-2024 12:17:14.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34917"] 29-Feb-2024 12:17:14.278 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34917"] 29-Feb-2024 12:17:14.283 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34917"] 29-Feb-2024 12:17:14.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 29-Feb-2024 12:17:14.287 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 29-Feb-2024 12:17:14.301 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.301 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.310 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38863"] 29-Feb-2024 12:17:14.315 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38863"] 29-Feb-2024 12:17:14.316 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.320 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38863"] 29-Feb-2024 12:17:14.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38863"] 29-Feb-2024 12:17:14.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 29-Feb-2024 12:17:14.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 29-Feb-2024 12:17:14.325 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 29-Feb-2024 12:17:14.326 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 29-Feb-2024 12:17:14.330 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.330 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.342 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38589"] 29-Feb-2024 12:17:14.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38589"] 29-Feb-2024 12:17:14.353 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38589"] 29-Feb-2024 12:17:14.355 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38589"] 29-Feb-2024 12:17:14.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 29-Feb-2024 12:17:14.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 29-Feb-2024 12:17:14.371 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.371 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.383 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46143"] 29-Feb-2024 12:17:14.395 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46143"] 29-Feb-2024 12:17:14.398 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.400 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46143"] 29-Feb-2024 12:17:14.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46143"] 29-Feb-2024 12:17:14.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 29-Feb-2024 12:17:14.405 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 29-Feb-2024 12:17:14.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.425 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44805"] 29-Feb-2024 12:17:14.429 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44805"] 29-Feb-2024 12:17:14.435 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.437 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44805"] 29-Feb-2024 12:17:14.442 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-44805"] 29-Feb-2024 12:17:14.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 29-Feb-2024 12:17:14.448 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 29-Feb-2024 12:17:14.494 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.495 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.500 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33575"] 29-Feb-2024 12:17:14.506 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33575"] 29-Feb-2024 12:17:14.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.510 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33575"] 29-Feb-2024 12:17:14.511 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33575"] 29-Feb-2024 12:17:14.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 29-Feb-2024 12:17:14.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 29-Feb-2024 12:17:14.518 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 29-Feb-2024 12:17:14.519 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 29-Feb-2024 12:17:14.523 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.523 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.528 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36559"] 29-Feb-2024 12:17:14.542 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36559"] 29-Feb-2024 12:17:14.545 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36559"] 29-Feb-2024 12:17:14.547 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36559"] 29-Feb-2024 12:17:14.550 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 29-Feb-2024 12:17:14.552 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 29-Feb-2024 12:17:14.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.593 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37283"] 29-Feb-2024 12:17:14.602 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37283"] 29-Feb-2024 12:17:14.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.607 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37283"] 29-Feb-2024 12:17:14.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37283"] 29-Feb-2024 12:17:14.612 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 29-Feb-2024 12:17:14.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 29-Feb-2024 12:17:14.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:17:14.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:17:14.630 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38289"] 29-Feb-2024 12:17:14.639 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38289"] 29-Feb-2024 12:17:14.641 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:17:14.645 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38289"] 29-Feb-2024 12:17:14.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38289"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.303 sec Testcase: testUseContentTypeExpiresConfiguration took 0.173 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.023 sec Testcase: testBug63909 took 0.498 sec Testcase: testConfiguration took 0.12 sec Testcase: testNullContentType took 0.038 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.033 sec Testcase: testUseDefaultConfiguration2 took 0.044 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.041 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.07 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.032 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.061 sec Testcase: testEmptyContent took 0.047 sec