Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.771 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 03 Sep 2024 11:13:18 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:16:18 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:18 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 03 Sep 2024 11:13:18 GMT Expires: Tue, 03 Sep 2024 11:20:19 GMT Keep-Alive: timeout=3 ETag: W/"971-1725361210941" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:14:19 GMT Content-Length: 0 Date: Tue, 03 Sep 2024 11:13:18 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:14:19 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:18 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:14:19 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:18 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:20:19 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:18 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: Tue, 03 Sep 2024 11:13:18 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:13:19 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:19 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:18:20 GMT Content-Length: 11 Date: Tue, 03 Sep 2024 11:13:19 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 03 Sep 2024 11:20:20 GMT Content-Length: 0 Date: Tue, 03 Sep 2024 11:13:19 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Sep-2024 11:13:16.620 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Sep-2024 11:13:17.961 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Sep-2024 11:13:18.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:18.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:18.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46625"] 03-Sep-2024 11:13:18.560 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46625"] 03-Sep-2024 11:13:18.564 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:18.622 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46625"] 03-Sep-2024 11:13:18.636 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46625"] 03-Sep-2024 11:13:18.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Sep-2024 11:13:18.657 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Sep-2024 11:13:18.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:18.661 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:18.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36797"] 03-Sep-2024 11:13:18.833 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36797"] 03-Sep-2024 11:13:18.835 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:18.839 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36797"] 03-Sep-2024 11:13:18.847 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36797"] 03-Sep-2024 11:13:18.852 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Sep-2024 11:13:18.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Sep-2024 11:13:18.855 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Sep-2024 11:13:18.894 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Sep-2024 11:13:18.895 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:18.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:18.988 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Sep-2024 11:13:19.158 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. 03-Sep-2024 11:13:19.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40845"] 03-Sep-2024 11:13:19.341 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40845"] 03-Sep-2024 11:13:19.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.354 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40845"] 03-Sep-2024 11:13:19.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40845"] 03-Sep-2024 11:13:19.369 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Sep-2024 11:13:19.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Sep-2024 11:13:19.371 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.372 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44741"] 03-Sep-2024 11:13:19.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44741"] 03-Sep-2024 11:13:19.436 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.438 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44741"] 03-Sep-2024 11:13:19.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44741"] 03-Sep-2024 11:13:19.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Sep-2024 11:13:19.460 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Sep-2024 11:13:19.461 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.461 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.466 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45777"] 03-Sep-2024 11:13:19.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45777"] 03-Sep-2024 11:13:19.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45777"] 03-Sep-2024 11:13:19.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45777"] 03-Sep-2024 11:13:19.516 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Sep-2024 11:13:19.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Sep-2024 11:13:19.518 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Sep-2024 11:13:19.519 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Sep-2024 11:13:19.520 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.520 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44895"] 03-Sep-2024 11:13:19.559 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44895"] 03-Sep-2024 11:13:19.560 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.562 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44895"] 03-Sep-2024 11:13:19.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44895"] 03-Sep-2024 11:13:19.566 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Sep-2024 11:13:19.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Sep-2024 11:13:19.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.593 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41905"] 03-Sep-2024 11:13:19.687 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41905"] 03-Sep-2024 11:13:19.690 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.692 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41905"] 03-Sep-2024 11:13:19.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41905"] 03-Sep-2024 11:13:19.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Sep-2024 11:13:19.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Sep-2024 11:13:19.699 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45499"] 03-Sep-2024 11:13:19.732 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45499"] 03-Sep-2024 11:13:19.735 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45499"] 03-Sep-2024 11:13:19.742 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45499"] 03-Sep-2024 11:13:19.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Sep-2024 11:13:19.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 03-Sep-2024 11:13:19.746 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.746 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-35931"] 03-Sep-2024 11:13:19.769 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-35931"] 03-Sep-2024 11:13:19.771 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.773 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-35931"] 03-Sep-2024 11:13:19.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-35931"] 03-Sep-2024 11:13:19.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Sep-2024 11:13:19.787 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 03-Sep-2024 11:13:19.788 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Sep-2024 11:13:19.789 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 03-Sep-2024 11:13:19.790 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.790 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.811 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 03-Sep-2024 11:13:19.870 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 03-Sep-2024 11:13:19.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:19.887 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 03-Sep-2024 11:13:19.898 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 03-Sep-2024 11:13:19.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Sep-2024 11:13:19.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 03-Sep-2024 11:13:19.902 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:19.902 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:19.914 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32807"] 03-Sep-2024 11:13:20.042 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32807"] 03-Sep-2024 11:13:20.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:20.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32807"] 03-Sep-2024 11:13:20.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32807"] 03-Sep-2024 11:13:20.051 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Sep-2024 11:13:20.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 03-Sep-2024 11:13:20.055 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Sep-2024 11:13:20.055 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 03-Sep-2024 11:13:20.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45921"] 03-Sep-2024 11:13:20.104 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45921"] 03-Sep-2024 11:13:20.106 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Sep-2024 11:13:20.109 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45921"] 03-Sep-2024 11:13:20.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45921"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.191 sec Testcase: testUseContentTypeExpiresConfiguration took 0.197 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.514 sec Testcase: testConfiguration took 0.088 sec Testcase: testNullContentType took 0.06 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.047 sec Testcase: testUseDefaultConfiguration2 took 0.13 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.047 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.042 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.112 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.151 sec Testcase: testEmptyContent took 0.066 sec