Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.509 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 21 Oct 2024 13:23:05 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:26:05 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:05 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 21 Oct 2024 13:23:06 GMT Expires: Mon, 21 Oct 2024 13:30:06 GMT Keep-Alive: timeout=3 ETag: W/"971-1729516067930" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:24:06 GMT Content-Length: 0 Date: Mon, 21 Oct 2024 13:23:06 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:24:06 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:24:06 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:30:06 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:06 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: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:23:06 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:28:06 GMT Content-Length: 11 Date: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 21 Oct 2024 13:30:06 GMT Content-Length: 0 Date: Mon, 21 Oct 2024 13:23:06 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 21-Oct-2024 13:23:03.632 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 21-Oct-2024 13:23:05.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 21-Oct-2024 13:23:05.132 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:05.133 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:05.339 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45363"] 21-Oct-2024 13:23:05.696 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45363"] 21-Oct-2024 13:23:05.698 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:05.728 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45363"] 21-Oct-2024 13:23:05.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45363"] 21-Oct-2024 13:23:05.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 21-Oct-2024 13:23:05.749 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 21-Oct-2024 13:23:05.750 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:05.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:05.756 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38385"] 21-Oct-2024 13:23:05.792 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38385"] 21-Oct-2024 13:23:05.793 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:05.798 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38385"] 21-Oct-2024 13:23:05.801 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38385"] 21-Oct-2024 13:23:05.803 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 21-Oct-2024 13:23:05.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 21-Oct-2024 13:23:05.844 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 21-Oct-2024 13:23:05.854 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 21-Oct-2024 13:23:05.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:05.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:05.943 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Oct-2024 13:23:06.159 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. 21-Oct-2024 13:23:06.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35733"] 21-Oct-2024 13:23:06.288 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35733"] 21-Oct-2024 13:23:06.293 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.300 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35733"] 21-Oct-2024 13:23:06.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35733"] 21-Oct-2024 13:23:06.306 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 21-Oct-2024 13:23:06.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 21-Oct-2024 13:23:06.308 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.313 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35551"] 21-Oct-2024 13:23:06.345 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35551"] 21-Oct-2024 13:23:06.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.349 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35551"] 21-Oct-2024 13:23:06.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35551"] 21-Oct-2024 13:23:06.360 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 21-Oct-2024 13:23:06.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 21-Oct-2024 13:23:06.365 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.366 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.383 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40057"] 21-Oct-2024 13:23:06.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40057"] 21-Oct-2024 13:23:06.454 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.457 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40057"] 21-Oct-2024 13:23:06.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40057"] 21-Oct-2024 13:23:06.460 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 21-Oct-2024 13:23:06.462 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 21-Oct-2024 13:23:06.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 21-Oct-2024 13:23:06.464 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 21-Oct-2024 13:23:06.465 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43897"] 21-Oct-2024 13:23:06.496 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43897"] 21-Oct-2024 13:23:06.498 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.502 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43897"] 21-Oct-2024 13:23:06.507 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43897"] 21-Oct-2024 13:23:06.509 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 21-Oct-2024 13:23:06.512 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 21-Oct-2024 13:23:06.513 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.513 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44589"] 21-Oct-2024 13:23:06.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44589"] 21-Oct-2024 13:23:06.534 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.536 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44589"] 21-Oct-2024 13:23:06.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44589"] 21-Oct-2024 13:23:06.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 21-Oct-2024 13:23:06.551 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 21-Oct-2024 13:23:06.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.580 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33615"] 21-Oct-2024 13:23:06.662 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33615"] 21-Oct-2024 13:23:06.665 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.668 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33615"] 21-Oct-2024 13:23:06.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33615"] 21-Oct-2024 13:23:06.675 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 21-Oct-2024 13:23:06.677 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 21-Oct-2024 13:23:06.677 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.678 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.685 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36729"] 21-Oct-2024 13:23:06.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36729"] 21-Oct-2024 13:23:06.750 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36729"] 21-Oct-2024 13:23:06.759 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36729"] 21-Oct-2024 13:23:06.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 21-Oct-2024 13:23:06.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 21-Oct-2024 13:23:06.772 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 21-Oct-2024 13:23:06.773 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 21-Oct-2024 13:23:06.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.782 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-36073"] 21-Oct-2024 13:23:06.793 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-36073"] 21-Oct-2024 13:23:06.796 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.800 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-36073"] 21-Oct-2024 13:23:06.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-36073"] 21-Oct-2024 13:23:06.806 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 21-Oct-2024 13:23:06.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 21-Oct-2024 13:23:06.808 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-34183"] 21-Oct-2024 13:23:06.833 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-34183"] 21-Oct-2024 13:23:06.837 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.840 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-34183"] 21-Oct-2024 13:23:06.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-34183"] 21-Oct-2024 13:23:06.845 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 21-Oct-2024 13:23:06.847 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 21-Oct-2024 13:23:06.847 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Oct-2024 13:23:06.847 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 21-Oct-2024 13:23:06.855 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41807"] 21-Oct-2024 13:23:06.864 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41807"] 21-Oct-2024 13:23:06.867 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Oct-2024 13:23:06.869 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41807"] 21-Oct-2024 13:23:06.873 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41807"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.268 sec Testcase: testUseContentTypeExpiresConfiguration took 0.056 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.041 sec Testcase: testBug63909 took 0.461 sec Testcase: testConfiguration took 0.052 sec Testcase: testNullContentType took 0.102 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.046 sec Testcase: testUseDefaultConfiguration2 took 0.039 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.126 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.087 sec Testcase: testIntsToCommaDelimitedString took 0.009 sec Testcase: testSkipBecauseExpiresIsDefined took 0.034 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.039 sec Testcase: testEmptyContent took 0.03 sec