Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.243 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 14 May 2023 07:09:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 14 May 2023 07:12:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 14 May 2023 07:09:55 GMT Expires: Sun, 14 May 2023 07:16:55 GMT Keep-Alive: timeout=3 ETag: W/"971-1684046145533" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 14 May 2023 07:10:55 GMT Content-Length: 0 Date: Sun, 14 May 2023 07:09:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 14 May 2023 07:10:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 14 May 2023 07:10:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 14 May 2023 07:16:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 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: Sun, 14 May 2023 07:09:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 14 May 2023 07:09:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 14 May 2023 07:14:55 GMT Content-Length: 11 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 14 May 2023 07:16:55 GMT Content-Length: 0 Date: Sun, 14 May 2023 07:09:55 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 14-May-2023 07:09:53.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 14-May-2023 07:09:54.636 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 14-May-2023 07:09:54.741 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:54.741 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:54.969 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35015"] 14-May-2023 07:09:55.157 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35015"] 14-May-2023 07:09:55.160 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.207 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35015"] 14-May-2023 07:09:55.210 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35015"] 14-May-2023 07:09:55.226 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 14-May-2023 07:09:55.230 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 14-May-2023 07:09:55.234 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.235 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.242 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43275"] 14-May-2023 07:09:55.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43275"] 14-May-2023 07:09:55.259 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.272 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43275"] 14-May-2023 07:09:55.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43275"] 14-May-2023 07:09:55.278 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 14-May-2023 07:09:55.279 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 14-May-2023 07:09:55.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 14-May-2023 07:09:55.288 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 14-May-2023 07:09:55.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.295 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.352 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 14-May-2023 07:09:55.464 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 14-May-2023 07:09:55.477 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 14-May-2023 07:09:55.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.485 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 14-May-2023 07:09:55.487 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44015"] 14-May-2023 07:09:55.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 14-May-2023 07:09:55.492 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 14-May-2023 07:09:55.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.505 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 14-May-2023 07:09:55.506 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 14-May-2023 07:09:55.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 14-May-2023 07:09:55.511 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36731"] 14-May-2023 07:09:55.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 14-May-2023 07:09:55.516 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 14-May-2023 07:09:55.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46233"] 14-May-2023 07:09:55.527 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46233"] 14-May-2023 07:09:55.530 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.534 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46233"] 14-May-2023 07:09:55.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-46233"] 14-May-2023 07:09:55.537 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 14-May-2023 07:09:55.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 14-May-2023 07:09:55.539 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 14-May-2023 07:09:55.541 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 14-May-2023 07:09:55.548 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.548 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.554 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35099"] 14-May-2023 07:09:55.559 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35099"] 14-May-2023 07:09:55.560 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.562 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35099"] 14-May-2023 07:09:55.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35099"] 14-May-2023 07:09:55.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 14-May-2023 07:09:55.569 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 14-May-2023 07:09:55.575 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.575 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.583 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36459"] 14-May-2023 07:09:55.587 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36459"] 14-May-2023 07:09:55.590 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.592 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36459"] 14-May-2023 07:09:55.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36459"] 14-May-2023 07:09:55.595 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 14-May-2023 07:09:55.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 14-May-2023 07:09:55.601 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.601 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.617 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45735"] 14-May-2023 07:09:55.622 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45735"] 14-May-2023 07:09:55.623 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.628 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45735"] 14-May-2023 07:09:55.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45735"] 14-May-2023 07:09:55.630 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 14-May-2023 07:09:55.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 14-May-2023 07:09:55.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.638 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36465"] 14-May-2023 07:09:55.646 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36465"] 14-May-2023 07:09:55.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36465"] 14-May-2023 07:09:55.649 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36465"] 14-May-2023 07:09:55.652 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 14-May-2023 07:09:55.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 14-May-2023 07:09:55.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 14-May-2023 07:09:55.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 14-May-2023 07:09:55.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.665 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.678 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35803"] 14-May-2023 07:09:55.682 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35803"] 14-May-2023 07:09:55.683 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.685 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35803"] 14-May-2023 07:09:55.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35803"] 14-May-2023 07:09:55.687 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 14-May-2023 07:09:55.688 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 14-May-2023 07:09:55.690 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.694 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38749"] 14-May-2023 07:09:55.701 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38749"] 14-May-2023 07:09:55.702 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.704 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38749"] 14-May-2023 07:09:55.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38749"] 14-May-2023 07:09:55.707 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 14-May-2023 07:09:55.708 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 14-May-2023 07:09:55.709 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 14-May-2023 07:09:55.710 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 14-May-2023 07:09:55.714 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42437"] 14-May-2023 07:09:55.718 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42437"] 14-May-2023 07:09:55.718 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 14-May-2023 07:09:55.720 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42437"] 14-May-2023 07:09:55.720 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42437"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.682 sec Testcase: testUseContentTypeExpiresConfiguration took 0.051 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.211 sec Testcase: testConfiguration took 0.024 sec Testcase: testNullContentType took 0.022 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.029 sec Testcase: testUseDefaultConfiguration2 took 0.028 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.035 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.022 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.034 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.019 sec Testcase: testEmptyContent took 0.016 sec