Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.977 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 30 Oct 2024 13:18:04 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:21:04 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:04 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 30 Oct 2024 13:18:05 GMT Expires: Wed, 30 Oct 2024 13:25:05 GMT Keep-Alive: timeout=3 ETag: W/"971-1730293496385" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:19:05 GMT Content-Length: 0 Date: Wed, 30 Oct 2024 13:18:05 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:19:05 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:05 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:19:05 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:05 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:25:05 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:05 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, 30 Oct 2024 13:18:05 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:18:05 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:05 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:23:05 GMT Content-Length: 11 Date: Wed, 30 Oct 2024 13:18:05 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 30 Oct 2024 13:25:05 GMT Content-Length: 0 Date: Wed, 30 Oct 2024 13:18:05 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 30-Oct-2024 13:18:03.090 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 30-Oct-2024 13:18:04.284 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 30-Oct-2024 13:18:04.359 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:04.366 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:04.646 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35949"] 30-Oct-2024 13:18:04.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35949"] 30-Oct-2024 13:18:04.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:04.869 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35949"] 30-Oct-2024 13:18:04.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35949"] 30-Oct-2024 13:18:04.889 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 30-Oct-2024 13:18:04.891 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 30-Oct-2024 13:18:04.895 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:04.896 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:04.915 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33007"] 30-Oct-2024 13:18:05.005 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33007"] 30-Oct-2024 13:18:05.007 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.010 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33007"] 30-Oct-2024 13:18:05.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33007"] 30-Oct-2024 13:18:05.021 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 30-Oct-2024 13:18:05.023 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 30-Oct-2024 13:18:05.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 30-Oct-2024 13:18:05.040 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 30-Oct-2024 13:18:05.040 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.041 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.173 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 30-Oct-2024 13:18:05.377 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. 30-Oct-2024 13:18:05.431 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38589"] 30-Oct-2024 13:18:05.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38589"] 30-Oct-2024 13:18:05.449 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.455 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38589"] 30-Oct-2024 13:18:05.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38589"] 30-Oct-2024 13:18:05.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 30-Oct-2024 13:18:05.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 30-Oct-2024 13:18:05.465 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.470 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46271"] 30-Oct-2024 13:18:05.486 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46271"] 30-Oct-2024 13:18:05.486 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.489 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46271"] 30-Oct-2024 13:18:05.491 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46271"] 30-Oct-2024 13:18:05.494 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 30-Oct-2024 13:18:05.498 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 30-Oct-2024 13:18:05.498 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44873"] 30-Oct-2024 13:18:05.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44873"] 30-Oct-2024 13:18:05.541 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.543 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44873"] 30-Oct-2024 13:18:05.548 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44873"] 30-Oct-2024 13:18:05.551 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 30-Oct-2024 13:18:05.553 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 30-Oct-2024 13:18:05.554 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 30-Oct-2024 13:18:05.556 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 30-Oct-2024 13:18:05.557 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.576 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43921"] 30-Oct-2024 13:18:05.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43921"] 30-Oct-2024 13:18:05.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43921"] 30-Oct-2024 13:18:05.606 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43921"] 30-Oct-2024 13:18:05.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 30-Oct-2024 13:18:05.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 30-Oct-2024 13:18:05.611 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.611 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43965"] 30-Oct-2024 13:18:05.636 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43965"] 30-Oct-2024 13:18:05.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43965"] 30-Oct-2024 13:18:05.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43965"] 30-Oct-2024 13:18:05.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 30-Oct-2024 13:18:05.652 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 30-Oct-2024 13:18:05.653 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.653 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38815"] 30-Oct-2024 13:18:05.675 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38815"] 30-Oct-2024 13:18:05.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.681 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38815"] 30-Oct-2024 13:18:05.684 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38815"] 30-Oct-2024 13:18:05.686 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 30-Oct-2024 13:18:05.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 30-Oct-2024 13:18:05.688 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.688 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.703 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43523"] 30-Oct-2024 13:18:05.724 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43523"] 30-Oct-2024 13:18:05.727 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.732 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43523"] 30-Oct-2024 13:18:05.733 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43523"] 30-Oct-2024 13:18:05.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 30-Oct-2024 13:18:05.736 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 30-Oct-2024 13:18:05.737 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 30-Oct-2024 13:18:05.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 30-Oct-2024 13:18:05.739 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.739 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.775 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45709"] 30-Oct-2024 13:18:05.786 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45709"] 30-Oct-2024 13:18:05.787 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45709"] 30-Oct-2024 13:18:05.798 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45709"] 30-Oct-2024 13:18:05.800 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 30-Oct-2024 13:18:05.802 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 30-Oct-2024 13:18:05.805 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.805 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.822 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42759"] 30-Oct-2024 13:18:05.829 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42759"] 30-Oct-2024 13:18:05.830 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.832 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42759"] 30-Oct-2024 13:18:05.833 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42759"] 30-Oct-2024 13:18:05.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 30-Oct-2024 13:18:05.836 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 30-Oct-2024 13:18:05.836 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Oct-2024 13:18:05.836 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 30-Oct-2024 13:18:05.840 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-43313"] 30-Oct-2024 13:18:05.851 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-43313"] 30-Oct-2024 13:18:05.852 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Oct-2024 13:18:05.854 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-43313"] 30-Oct-2024 13:18:05.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-43313"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.928 sec Testcase: testUseContentTypeExpiresConfiguration took 0.133 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.438 sec Testcase: testConfiguration took 0.032 sec Testcase: testNullContentType took 0.056 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.055 sec Testcase: testUseDefaultConfiguration2 took 0.04 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.037 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.049 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.064 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.023 sec