Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.333 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 29 May 2023 08:19:18 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 29 May 2023 08:22:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 29 May 2023 08:19:19 GMT Expires: Mon, 29 May 2023 08:26:19 GMT Keep-Alive: timeout=3 ETag: W/"971-1685347370542" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 29 May 2023 08:20:19 GMT Content-Length: 0 Date: Mon, 29 May 2023 08:19:19 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 29 May 2023 08:20:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 29 May 2023 08:20:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 29 May 2023 08:26:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 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: Mon, 29 May 2023 08:19:19 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 29 May 2023 08:19:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 29 May 2023 08:24:19 GMT Content-Length: 11 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 29 May 2023 08:26:19 GMT Content-Length: 0 Date: Mon, 29 May 2023 08:19:19 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 29-May-2023 08:19:17.774 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 29-May-2023 08:19:18.452 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-May-2023 08:19:18.509 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:18.509 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:18.692 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35371"] 29-May-2023 08:19:18.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35371"] 29-May-2023 08:19:18.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:18.969 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35371"] 29-May-2023 08:19:18.988 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35371"] 29-May-2023 08:19:18.995 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 29-May-2023 08:19:18.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-May-2023 08:19:18.999 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.001 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.009 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37195"] 29-May-2023 08:19:19.136 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37195"] 29-May-2023 08:19:19.136 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.139 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37195"] 29-May-2023 08:19:19.142 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37195"] 29-May-2023 08:19:19.144 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 29-May-2023 08:19:19.145 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 29-May-2023 08:19:19.146 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 29-May-2023 08:19:19.165 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 29-May-2023 08:19:19.166 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.308 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 29-May-2023 08:19:19.511 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36815"] 29-May-2023 08:19:19.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36815"] 29-May-2023 08:19:19.532 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36815"] 29-May-2023 08:19:19.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36815"] 29-May-2023 08:19:19.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 29-May-2023 08:19:19.546 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 29-May-2023 08:19:19.547 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.547 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.552 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45159"] 29-May-2023 08:19:19.554 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45159"] 29-May-2023 08:19:19.555 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.558 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45159"] 29-May-2023 08:19:19.561 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45159"] 29-May-2023 08:19:19.563 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 29-May-2023 08:19:19.564 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 29-May-2023 08:19:19.565 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.565 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.569 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43071"] 29-May-2023 08:19:19.578 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43071"] 29-May-2023 08:19:19.579 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.581 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43071"] 29-May-2023 08:19:19.584 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43071"] 29-May-2023 08:19:19.585 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 29-May-2023 08:19:19.586 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 29-May-2023 08:19:19.587 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 29-May-2023 08:19:19.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 29-May-2023 08:19:19.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43975"] 29-May-2023 08:19:19.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43975"] 29-May-2023 08:19:19.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43975"] 29-May-2023 08:19:19.618 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43975"] 29-May-2023 08:19:19.620 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 29-May-2023 08:19:19.621 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 29-May-2023 08:19:19.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40259"] 29-May-2023 08:19:19.639 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40259"] 29-May-2023 08:19:19.640 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.643 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40259"] 29-May-2023 08:19:19.648 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40259"] 29-May-2023 08:19:19.651 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 29-May-2023 08:19:19.652 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 29-May-2023 08:19:19.653 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.653 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.658 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36329"] 29-May-2023 08:19:19.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36329"] 29-May-2023 08:19:19.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36329"] 29-May-2023 08:19:19.681 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36329"] 29-May-2023 08:19:19.683 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 29-May-2023 08:19:19.686 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 29-May-2023 08:19:19.688 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.688 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46803"] 29-May-2023 08:19:19.715 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46803"] 29-May-2023 08:19:19.717 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.719 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46803"] 29-May-2023 08:19:19.723 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46803"] 29-May-2023 08:19:19.725 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 29-May-2023 08:19:19.726 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 29-May-2023 08:19:19.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 29-May-2023 08:19:19.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 29-May-2023 08:19:19.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.729 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.739 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35743"] 29-May-2023 08:19:19.776 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35743"] 29-May-2023 08:19:19.781 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.784 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35743"] 29-May-2023 08:19:19.788 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35743"] 29-May-2023 08:19:19.789 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 29-May-2023 08:19:19.790 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 29-May-2023 08:19:19.794 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40483"] 29-May-2023 08:19:19.807 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40483"] 29-May-2023 08:19:19.809 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40483"] 29-May-2023 08:19:19.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40483"] 29-May-2023 08:19:19.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 29-May-2023 08:19:19.816 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 29-May-2023 08:19:19.817 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-May-2023 08:19:19.817 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 29-May-2023 08:19:19.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46141"] 29-May-2023 08:19:19.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46141"] 29-May-2023 08:19:19.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-May-2023 08:19:19.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46141"] 29-May-2023 08:19:19.829 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46141"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.444 sec Testcase: testUseContentTypeExpiresConfiguration took 0.148 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.398 sec Testcase: testConfiguration took 0.018 sec Testcase: testNullContentType took 0.022 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.033 sec Testcase: testUseDefaultConfiguration2 took 0.029 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.034 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.041 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.062 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.025 sec Testcase: testEmptyContent took 0.015 sec