Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.292 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sat, 06 May 2023 04:57:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sat, 06 May 2023 05:00:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: text/xml;charset=utf-8 Date: Sat, 06 May 2023 04:57:52 GMT Expires: Sat, 06 May 2023 05:04:52 GMT Keep-Alive: timeout=3 ETag: W/"971-1683348063763" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 06 May 2023 04:58:52 GMT Content-Length: 0 Date: Sat, 06 May 2023 04:57:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 06 May 2023 04:58:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sat, 06 May 2023 04:58:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Sat, 06 May 2023 05:04:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 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: Sat, 06 May 2023 04:57:52 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sat, 06 May 2023 04:57:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sat, 06 May 2023 05:02:52 GMT Content-Length: 11 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 06 May 2023 05:04:52 GMT Content-Length: 0 Date: Sat, 06 May 2023 04:57:52 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-May-2023 04:57:50.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-May-2023 04:57:51.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-May-2023 04:57:51.708 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:51.708 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:51.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40989"] 06-May-2023 04:57:52.104 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40989"] 06-May-2023 04:57:52.108 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.130 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40989"] 06-May-2023 04:57:52.148 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40989"] 06-May-2023 04:57:52.160 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-May-2023 04:57:52.165 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-May-2023 04:57:52.166 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38413"] 06-May-2023 04:57:52.305 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38413"] 06-May-2023 04:57:52.307 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38413"] 06-May-2023 04:57:52.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38413"] 06-May-2023 04:57:52.318 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-May-2023 04:57:52.337 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-May-2023 04:57:52.338 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-May-2023 04:57:52.357 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-May-2023 04:57:52.360 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.360 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.440 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-May-2023 04:57:52.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40875"] 06-May-2023 04:57:52.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40875"] 06-May-2023 04:57:52.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40875"] 06-May-2023 04:57:52.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40875"] 06-May-2023 04:57:52.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-May-2023 04:57:52.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-May-2023 04:57:52.658 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.658 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.663 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43017"] 06-May-2023 04:57:52.666 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43017"] 06-May-2023 04:57:52.666 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43017"] 06-May-2023 04:57:52.672 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43017"] 06-May-2023 04:57:52.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-May-2023 04:57:52.676 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-May-2023 04:57:52.677 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.683 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40839"] 06-May-2023 04:57:52.691 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40839"] 06-May-2023 04:57:52.691 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.693 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40839"] 06-May-2023 04:57:52.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40839"] 06-May-2023 04:57:52.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-May-2023 04:57:52.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-May-2023 04:57:52.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-May-2023 04:57:52.700 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-May-2023 04:57:52.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.700 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33271"] 06-May-2023 04:57:52.716 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33271"] 06-May-2023 04:57:52.718 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.720 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33271"] 06-May-2023 04:57:52.725 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33271"] 06-May-2023 04:57:52.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-May-2023 04:57:52.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-May-2023 04:57:52.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.729 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.732 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46757"] 06-May-2023 04:57:52.738 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46757"] 06-May-2023 04:57:52.738 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46757"] 06-May-2023 04:57:52.741 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46757"] 06-May-2023 04:57:52.742 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-May-2023 04:57:52.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-May-2023 04:57:52.744 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34451"] 06-May-2023 04:57:52.762 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34451"] 06-May-2023 04:57:52.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34451"] 06-May-2023 04:57:52.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34451"] 06-May-2023 04:57:52.768 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-May-2023 04:57:52.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-May-2023 04:57:52.770 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.770 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44127"] 06-May-2023 04:57:52.789 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44127"] 06-May-2023 04:57:52.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.791 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44127"] 06-May-2023 04:57:52.793 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44127"] 06-May-2023 04:57:52.795 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-May-2023 04:57:52.796 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-May-2023 04:57:52.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-May-2023 04:57:52.798 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-May-2023 04:57:52.798 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.798 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.802 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45725"] 06-May-2023 04:57:52.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45725"] 06-May-2023 04:57:52.816 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45725"] 06-May-2023 04:57:52.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45725"] 06-May-2023 04:57:52.824 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-May-2023 04:57:52.825 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-May-2023 04:57:52.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.831 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32847"] 06-May-2023 04:57:52.850 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32847"] 06-May-2023 04:57:52.853 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.855 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32847"] 06-May-2023 04:57:52.862 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32847"] 06-May-2023 04:57:52.864 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-May-2023 04:57:52.865 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-May-2023 04:57:52.866 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-May-2023 04:57:52.866 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 06-May-2023 04:57:52.872 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46325"] 06-May-2023 04:57:52.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46325"] 06-May-2023 04:57:52.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-May-2023 04:57:52.899 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46325"] 06-May-2023 04:57:52.903 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46325"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.49 sec Testcase: testUseContentTypeExpiresConfiguration took 0.158 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.019 sec Testcase: testBug63909 took 0.317 sec Testcase: testConfiguration took 0.018 sec Testcase: testNullContentType took 0.022 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.028 sec Testcase: testUseDefaultConfiguration2 took 0.015 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.026 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.027 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.027 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.04 sec Testcase: testEmptyContent took 0.042 sec