Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.608 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 11 Oct 2023 10:07:23 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:10:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 11 Oct 2023 10:07:24 GMT Expires: Wed, 11 Oct 2023 10:14:24 GMT Keep-Alive: timeout=3 ETag: W/"971-1697018216695" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:08:24 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 10:07:24 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:08:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:08:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:14:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 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, 11 Oct 2023 10:07:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:07:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:12:24 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:14:24 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 10:07:24 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Oct-2023 10:07:22.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Oct-2023 10:07:23.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Oct-2023 10:07:23.417 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:23.417 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:23.629 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38121"] 11-Oct-2023 10:07:23.875 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38121"] 11-Oct-2023 10:07:23.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:23.898 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38121"] 11-Oct-2023 10:07:23.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38121"] 11-Oct-2023 10:07:23.939 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Oct-2023 10:07:23.949 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Oct-2023 10:07:23.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:23.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.004 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44329"] 11-Oct-2023 10:07:24.047 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44329"] 11-Oct-2023 10:07:24.063 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.068 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44329"] 11-Oct-2023 10:07:24.073 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44329"] 11-Oct-2023 10:07:24.077 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Oct-2023 10:07:24.078 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Oct-2023 10:07:24.079 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Oct-2023 10:07:24.107 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Oct-2023 10:07:24.108 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.108 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.208 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Oct-2023 10:07:24.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 11-Oct-2023 10:07:24.503 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 11-Oct-2023 10:07:24.506 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.531 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 11-Oct-2023 10:07:24.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 11-Oct-2023 10:07:24.545 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Oct-2023 10:07:24.547 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Oct-2023 10:07:24.556 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.556 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45697"] 11-Oct-2023 10:07:24.668 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45697"] 11-Oct-2023 10:07:24.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45697"] 11-Oct-2023 10:07:24.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45697"] 11-Oct-2023 10:07:24.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Oct-2023 10:07:24.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Oct-2023 10:07:24.690 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.702 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 11-Oct-2023 10:07:24.708 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 11-Oct-2023 10:07:24.711 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.713 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 11-Oct-2023 10:07:24.715 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 11-Oct-2023 10:07:24.718 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Oct-2023 10:07:24.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Oct-2023 10:07:24.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Oct-2023 10:07:24.720 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Oct-2023 10:07:24.720 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.720 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.726 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-32967"] 11-Oct-2023 10:07:24.732 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-32967"] 11-Oct-2023 10:07:24.732 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.735 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-32967"] 11-Oct-2023 10:07:24.737 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-32967"] 11-Oct-2023 10:07:24.739 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Oct-2023 10:07:24.741 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Oct-2023 10:07:24.741 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.741 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.745 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38485"] 11-Oct-2023 10:07:24.753 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38485"] 11-Oct-2023 10:07:24.754 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.757 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38485"] 11-Oct-2023 10:07:24.759 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38485"] 11-Oct-2023 10:07:24.761 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Oct-2023 10:07:24.762 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Oct-2023 10:07:24.762 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.767 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37677"] 11-Oct-2023 10:07:24.773 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37677"] 11-Oct-2023 10:07:24.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37677"] 11-Oct-2023 10:07:24.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37677"] 11-Oct-2023 10:07:24.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Oct-2023 10:07:24.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-Oct-2023 10:07:24.784 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.784 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.789 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33223"] 11-Oct-2023 10:07:24.794 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33223"] 11-Oct-2023 10:07:24.796 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.799 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33223"] 11-Oct-2023 10:07:24.801 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33223"] 11-Oct-2023 10:07:24.803 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Oct-2023 10:07:24.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-Oct-2023 10:07:24.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Oct-2023 10:07:24.806 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-Oct-2023 10:07:24.808 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.812 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-32905"] 11-Oct-2023 10:07:24.817 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-32905"] 11-Oct-2023 10:07:24.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-32905"] 11-Oct-2023 10:07:24.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-32905"] 11-Oct-2023 10:07:24.829 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Oct-2023 10:07:24.830 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-Oct-2023 10:07:24.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40211"] 11-Oct-2023 10:07:24.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40211"] 11-Oct-2023 10:07:24.846 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.848 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40211"] 11-Oct-2023 10:07:24.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40211"] 11-Oct-2023 10:07:24.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Oct-2023 10:07:24.855 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-Oct-2023 10:07:24.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:07:24.855 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:07:24.860 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-39153"] 11-Oct-2023 10:07:24.864 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-39153"] 11-Oct-2023 10:07:24.866 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:07:24.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-39153"] 11-Oct-2023 10:07:24.870 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-39153"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.612 sec Testcase: testUseContentTypeExpiresConfiguration took 0.147 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.466 sec Testcase: testConfiguration took 0.142 sec Testcase: testNullContentType took 0.029 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.021 sec Testcase: testUseDefaultConfiguration2 took 0.022 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.02 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.022 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.024 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.025 sec Testcase: testEmptyContent took 0.019 sec