Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.375 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 06 Oct 2024 23:45:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:48:52 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:52 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 06 Oct 2024 23:45:53 GMT Expires: Sun, 06 Oct 2024 23:52:53 GMT Keep-Alive: timeout=3 ETag: W/"971-1728257555505" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:46:53 GMT Content-Length: 0 Date: Sun, 06 Oct 2024 23:45:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:46:53 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:46:53 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:52:53 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:53 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, 06 Oct 2024 23:45:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:45:53 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:50:53 GMT Content-Length: 11 Date: Sun, 06 Oct 2024 23:45:53 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 06 Oct 2024 23:52:54 GMT Content-Length: 0 Date: Sun, 06 Oct 2024 23:45:54 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Oct-2024 23:45:51.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Oct-2024 23:45:51.935 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Oct-2024 23:45:52.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:52.021 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:52.383 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42657"] 06-Oct-2024 23:45:52.769 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42657"] 06-Oct-2024 23:45:52.782 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:52.842 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42657"] 06-Oct-2024 23:45:52.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42657"] 06-Oct-2024 23:45:52.864 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Oct-2024 23:45:52.866 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Oct-2024 23:45:52.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:52.868 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:52.873 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41849"] 06-Oct-2024 23:45:52.983 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41849"] 06-Oct-2024 23:45:52.984 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:52.986 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41849"] 06-Oct-2024 23:45:53.007 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41849"] 06-Oct-2024 23:45:53.011 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Oct-2024 23:45:53.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Oct-2024 23:45:53.015 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Oct-2024 23:45:53.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Oct-2024 23:45:53.045 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.045 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.225 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Oct-2024 23:45:53.440 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 06-Oct-2024 23:45:53.484 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40261"] 06-Oct-2024 23:45:53.567 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40261"] 06-Oct-2024 23:45:53.570 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.581 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40261"] 06-Oct-2024 23:45:53.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40261"] 06-Oct-2024 23:45:53.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Oct-2024 23:45:53.595 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Oct-2024 23:45:53.596 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.596 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.615 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34331"] 06-Oct-2024 23:45:53.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34331"] 06-Oct-2024 23:45:53.678 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.680 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34331"] 06-Oct-2024 23:45:53.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34331"] 06-Oct-2024 23:45:53.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Oct-2024 23:45:53.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Oct-2024 23:45:53.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.692 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.698 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 06-Oct-2024 23:45:53.716 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 06-Oct-2024 23:45:53.718 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.720 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 06-Oct-2024 23:45:53.723 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44073"] 06-Oct-2024 23:45:53.725 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Oct-2024 23:45:53.726 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Oct-2024 23:45:53.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Oct-2024 23:45:53.730 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Oct-2024 23:45:53.731 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39135"] 06-Oct-2024 23:45:53.751 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39135"] 06-Oct-2024 23:45:53.754 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.756 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39135"] 06-Oct-2024 23:45:53.760 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39135"] 06-Oct-2024 23:45:53.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Oct-2024 23:45:53.764 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Oct-2024 23:45:53.764 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.765 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.771 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46799"] 06-Oct-2024 23:45:53.783 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46799"] 06-Oct-2024 23:45:53.786 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.788 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46799"] 06-Oct-2024 23:45:53.792 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46799"] 06-Oct-2024 23:45:53.794 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Oct-2024 23:45:53.796 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Oct-2024 23:45:53.796 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.797 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.809 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37029"] 06-Oct-2024 23:45:53.827 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37029"] 06-Oct-2024 23:45:53.829 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.832 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37029"] 06-Oct-2024 23:45:53.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37029"] 06-Oct-2024 23:45:53.836 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Oct-2024 23:45:53.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Oct-2024 23:45:53.838 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.838 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-39717"] 06-Oct-2024 23:45:53.860 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-39717"] 06-Oct-2024 23:45:53.862 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.869 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-39717"] 06-Oct-2024 23:45:53.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-39717"] 06-Oct-2024 23:45:53.879 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Oct-2024 23:45:53.880 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Oct-2024 23:45:53.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Oct-2024 23:45:53.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Oct-2024 23:45:53.882 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.883 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.888 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42751"] 06-Oct-2024 23:45:53.934 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42751"] 06-Oct-2024 23:45:53.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.937 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42751"] 06-Oct-2024 23:45:53.939 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42751"] 06-Oct-2024 23:45:53.942 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Oct-2024 23:45:53.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Oct-2024 23:45:53.947 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.947 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:53.955 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36827"] 06-Oct-2024 23:45:53.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36827"] 06-Oct-2024 23:45:53.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:53.975 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36827"] 06-Oct-2024 23:45:53.979 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36827"] 06-Oct-2024 23:45:53.980 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Oct-2024 23:45:53.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Oct-2024 23:45:53.982 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Oct-2024 23:45:53.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 06-Oct-2024 23:45:54.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33891"] 06-Oct-2024 23:45:54.049 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33891"] 06-Oct-2024 23:45:54.051 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Oct-2024 23:45:54.055 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33891"] 06-Oct-2024 23:45:54.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33891"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.03 sec Testcase: testUseContentTypeExpiresConfiguration took 0.144 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.58 sec Testcase: testConfiguration took 0.095 sec Testcase: testNullContentType took 0.036 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.034 sec Testcase: testUseDefaultConfiguration2 took 0.031 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.042 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.043 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.06 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.039 sec Testcase: testEmptyContent took 0.082 sec