Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.449 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 09 Aug 2024 15:38:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:41:11 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:11 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 09 Aug 2024 15:38:11 GMT Expires: Fri, 09 Aug 2024 15:45:12 GMT Keep-Alive: timeout=3 ETag: W/"971-1723217086917" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:39:12 GMT Content-Length: 0 Date: Fri, 09 Aug 2024 15:38:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:39:12 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:11 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:39:12 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:11 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:45:12 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:11 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: Fri, 09 Aug 2024 15:38:11 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:38:12 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:12 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:43:12 GMT Content-Length: 11 Date: Fri, 09 Aug 2024 15:38:12 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 09 Aug 2024 15:45:12 GMT Content-Length: 0 Date: Fri, 09 Aug 2024 15:38:12 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 09-Aug-2024 15:38:09.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 09-Aug-2024 15:38:10.750 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 09-Aug-2024 15:38:10.783 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:10.783 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:11.083 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41837"] 09-Aug-2024 15:38:11.370 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41837"] 09-Aug-2024 15:38:11.374 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:11.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41837"] 09-Aug-2024 15:38:11.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41837"] 09-Aug-2024 15:38:11.432 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 09-Aug-2024 15:38:11.434 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 09-Aug-2024 15:38:11.447 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:11.448 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:11.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37553"] 09-Aug-2024 15:38:11.571 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37553"] 09-Aug-2024 15:38:11.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:11.590 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37553"] 09-Aug-2024 15:38:11.613 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37553"] 09-Aug-2024 15:38:11.619 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 09-Aug-2024 15:38:11.624 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 09-Aug-2024 15:38:11.630 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 09-Aug-2024 15:38:11.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 09-Aug-2024 15:38:11.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:11.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:11.790 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 09-Aug-2024 15:38:11.988 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. 09-Aug-2024 15:38:12.070 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33405"] 09-Aug-2024 15:38:12.198 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33405"] 09-Aug-2024 15:38:12.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.206 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33405"] 09-Aug-2024 15:38:12.210 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33405"] 09-Aug-2024 15:38:12.212 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 09-Aug-2024 15:38:12.214 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 09-Aug-2024 15:38:12.219 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.220 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38351"] 09-Aug-2024 15:38:12.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38351"] 09-Aug-2024 15:38:12.240 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38351"] 09-Aug-2024 15:38:12.244 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38351"] 09-Aug-2024 15:38:12.248 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 09-Aug-2024 15:38:12.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 09-Aug-2024 15:38:12.251 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.252 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43409"] 09-Aug-2024 15:38:12.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43409"] 09-Aug-2024 15:38:12.280 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.291 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43409"] 09-Aug-2024 15:38:12.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43409"] 09-Aug-2024 15:38:12.312 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 09-Aug-2024 15:38:12.313 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 09-Aug-2024 15:38:12.313 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 09-Aug-2024 15:38:12.315 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 09-Aug-2024 15:38:12.315 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.315 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39849"] 09-Aug-2024 15:38:12.381 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39849"] 09-Aug-2024 15:38:12.381 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.383 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39849"] 09-Aug-2024 15:38:12.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39849"] 09-Aug-2024 15:38:12.387 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 09-Aug-2024 15:38:12.390 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 09-Aug-2024 15:38:12.390 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.391 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.400 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45171"] 09-Aug-2024 15:38:12.433 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45171"] 09-Aug-2024 15:38:12.434 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.436 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45171"] 09-Aug-2024 15:38:12.441 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45171"] 09-Aug-2024 15:38:12.443 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 09-Aug-2024 15:38:12.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 09-Aug-2024 15:38:12.449 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.449 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.472 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-35059"] 09-Aug-2024 15:38:12.488 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-35059"] 09-Aug-2024 15:38:12.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-35059"] 09-Aug-2024 15:38:12.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-35059"] 09-Aug-2024 15:38:12.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 09-Aug-2024 15:38:12.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 09-Aug-2024 15:38:12.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.516 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41455"] 09-Aug-2024 15:38:12.542 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41455"] 09-Aug-2024 15:38:12.545 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.547 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41455"] 09-Aug-2024 15:38:12.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41455"] 09-Aug-2024 15:38:12.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 09-Aug-2024 15:38:12.561 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 09-Aug-2024 15:38:12.563 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 09-Aug-2024 15:38:12.566 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 09-Aug-2024 15:38:12.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35275"] 09-Aug-2024 15:38:12.644 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35275"] 09-Aug-2024 15:38:12.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35275"] 09-Aug-2024 15:38:12.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35275"] 09-Aug-2024 15:38:12.663 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 09-Aug-2024 15:38:12.665 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 09-Aug-2024 15:38:12.665 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.677 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40003"] 09-Aug-2024 15:38:12.714 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40003"] 09-Aug-2024 15:38:12.727 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.731 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40003"] 09-Aug-2024 15:38:12.737 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40003"] 09-Aug-2024 15:38:12.740 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 09-Aug-2024 15:38:12.742 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 09-Aug-2024 15:38:12.752 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Aug-2024 15:38:12.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Aug-2024 15:38:12.770 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-34317"] 09-Aug-2024 15:38:12.784 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-34317"] 09-Aug-2024 15:38:12.787 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Aug-2024 15:38:12.789 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-34317"] 09-Aug-2024 15:38:12.791 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-34317"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.024 sec Testcase: testUseContentTypeExpiresConfiguration took 0.186 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.583 sec Testcase: testConfiguration took 0.036 sec Testcase: testNullContentType took 0.063 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.074 sec Testcase: testUseDefaultConfiguration2 took 0.055 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.054 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.06 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.091 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.085 sec Testcase: testEmptyContent took 0.053 sec