Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.267 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 31 May 2023 08:08:45 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 31 May 2023 08:11:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 31 May 2023 08:08:45 GMT Expires: Wed, 31 May 2023 08:15:45 GMT Keep-Alive: timeout=3 ETag: W/"971-1685518484756" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 31 May 2023 08:09:45 GMT Content-Length: 0 Date: Wed, 31 May 2023 08:08:45 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 31 May 2023 08:09:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 31 May 2023 08:09:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 31 May 2023 08:15:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 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, 31 May 2023 08:08:45 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 31 May 2023 08:08:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 31 May 2023 08:13:45 GMT Content-Length: 11 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 31 May 2023 08:15:45 GMT Content-Length: 0 Date: Wed, 31 May 2023 08:08:45 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 31-May-2023 08:08:43.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 31-May-2023 08:08:44.468 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 31-May-2023 08:08:44.577 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:44.579 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:44.830 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39687"] 31-May-2023 08:08:45.065 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39687"] 31-May-2023 08:08:45.068 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.104 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39687"] 31-May-2023 08:08:45.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39687"] 31-May-2023 08:08:45.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 31-May-2023 08:08:45.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 31-May-2023 08:08:45.180 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.180 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.189 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43819"] 31-May-2023 08:08:45.205 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43819"] 31-May-2023 08:08:45.217 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.220 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43819"] 31-May-2023 08:08:45.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43819"] 31-May-2023 08:08:45.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 31-May-2023 08:08:45.226 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 31-May-2023 08:08:45.227 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 31-May-2023 08:08:45.236 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 31-May-2023 08:08:45.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.309 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 31-May-2023 08:08:45.419 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42725"] 31-May-2023 08:08:45.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42725"] 31-May-2023 08:08:45.431 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.437 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42725"] 31-May-2023 08:08:45.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42725"] 31-May-2023 08:08:45.442 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 31-May-2023 08:08:45.443 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 31-May-2023 08:08:45.452 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.452 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38727"] 31-May-2023 08:08:45.458 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38727"] 31-May-2023 08:08:45.461 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.463 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38727"] 31-May-2023 08:08:45.464 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38727"] 31-May-2023 08:08:45.467 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 31-May-2023 08:08:45.469 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 31-May-2023 08:08:45.479 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.479 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.484 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46125"] 31-May-2023 08:08:45.487 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46125"] 31-May-2023 08:08:45.490 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.492 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46125"] 31-May-2023 08:08:45.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46125"] 31-May-2023 08:08:45.495 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 31-May-2023 08:08:45.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 31-May-2023 08:08:45.496 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 31-May-2023 08:08:45.498 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 31-May-2023 08:08:45.503 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.504 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.508 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44741"] 31-May-2023 08:08:45.514 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44741"] 31-May-2023 08:08:45.517 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44741"] 31-May-2023 08:08:45.519 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44741"] 31-May-2023 08:08:45.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 31-May-2023 08:08:45.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 31-May-2023 08:08:45.531 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.531 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.535 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33763"] 31-May-2023 08:08:45.540 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33763"] 31-May-2023 08:08:45.543 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.545 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33763"] 31-May-2023 08:08:45.546 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33763"] 31-May-2023 08:08:45.549 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 31-May-2023 08:08:45.551 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 31-May-2023 08:08:45.557 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.557 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.563 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42457"] 31-May-2023 08:08:45.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42457"] 31-May-2023 08:08:45.566 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.568 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42457"] 31-May-2023 08:08:45.568 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42457"] 31-May-2023 08:08:45.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 31-May-2023 08:08:45.574 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 31-May-2023 08:08:45.578 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.578 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.582 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44887"] 31-May-2023 08:08:45.585 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44887"] 31-May-2023 08:08:45.586 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44887"] 31-May-2023 08:08:45.588 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44887"] 31-May-2023 08:08:45.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 31-May-2023 08:08:45.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 31-May-2023 08:08:45.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 31-May-2023 08:08:45.594 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 31-May-2023 08:08:45.600 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.601 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.610 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42361"] 31-May-2023 08:08:45.613 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42361"] 31-May-2023 08:08:45.614 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.616 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42361"] 31-May-2023 08:08:45.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42361"] 31-May-2023 08:08:45.619 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 31-May-2023 08:08:45.621 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 31-May-2023 08:08:45.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.629 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46367"] 31-May-2023 08:08:45.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46367"] 31-May-2023 08:08:45.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.636 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46367"] 31-May-2023 08:08:45.637 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46367"] 31-May-2023 08:08:45.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 31-May-2023 08:08:45.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 31-May-2023 08:08:45.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-May-2023 08:08:45.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 31-May-2023 08:08:45.653 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34751"] 31-May-2023 08:08:45.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34751"] 31-May-2023 08:08:45.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-May-2023 08:08:45.661 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34751"] 31-May-2023 08:08:45.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34751"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.653 sec Testcase: testUseContentTypeExpiresConfiguration took 0.096 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.215 sec Testcase: testConfiguration took 0.026 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.027 sec Testcase: testUseDefaultConfiguration2 took 0.025 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.023 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.018 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.02 sec Testcase: testEmptyContent took 0.025 sec