Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.451 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 06 Sep 2024 10:17:59 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:20:59 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:17:59 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 06 Sep 2024 10:17:59 GMT Expires: Fri, 06 Sep 2024 10:25:00 GMT Keep-Alive: timeout=3 ETag: W/"971-1725617096536" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:19:00 GMT Content-Length: 0 Date: Fri, 06 Sep 2024 10:17:59 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:19:00 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:17:59 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:19:00 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:17:59 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:25:00 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:17:59 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, 06 Sep 2024 10:17:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:18:00 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:17:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:23:00 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 10:18:00 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 06 Sep 2024 10:25:01 GMT Content-Length: 0 Date: Fri, 06 Sep 2024 10:18:00 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Sep-2024 10:17:57.850 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Sep-2024 10:17:59.007 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Sep-2024 10:17:59.065 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:17:59.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:17:59.381 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39041"] 06-Sep-2024 10:17:59.609 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39041"] 06-Sep-2024 10:17:59.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:17:59.640 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39041"] 06-Sep-2024 10:17:59.649 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39041"] 06-Sep-2024 10:17:59.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Sep-2024 10:17:59.669 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Sep-2024 10:17:59.669 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:17:59.669 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:17:59.685 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40457"] 06-Sep-2024 10:17:59.786 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40457"] 06-Sep-2024 10:17:59.790 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:17:59.796 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40457"] 06-Sep-2024 10:17:59.805 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40457"] 06-Sep-2024 10:17:59.808 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Sep-2024 10:17:59.809 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Sep-2024 10:17:59.814 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Sep-2024 10:17:59.826 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Sep-2024 10:17:59.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:17:59.846 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.013 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Sep-2024 10:18:00.321 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-Sep-2024 10:18:00.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37467"] 06-Sep-2024 10:18:00.423 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37467"] 06-Sep-2024 10:18:00.426 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.436 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37467"] 06-Sep-2024 10:18:00.452 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37467"] 06-Sep-2024 10:18:00.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Sep-2024 10:18:00.456 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Sep-2024 10:18:00.456 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.457 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.464 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33705"] 06-Sep-2024 10:18:00.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33705"] 06-Sep-2024 10:18:00.472 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.474 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33705"] 06-Sep-2024 10:18:00.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33705"] 06-Sep-2024 10:18:00.481 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Sep-2024 10:18:00.483 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Sep-2024 10:18:00.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33007"] 06-Sep-2024 10:18:00.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33007"] 06-Sep-2024 10:18:00.507 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33007"] 06-Sep-2024 10:18:00.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33007"] 06-Sep-2024 10:18:00.513 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Sep-2024 10:18:00.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Sep-2024 10:18:00.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Sep-2024 10:18:00.516 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Sep-2024 10:18:00.517 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.517 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.529 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34257"] 06-Sep-2024 10:18:00.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34257"] 06-Sep-2024 10:18:00.578 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34257"] 06-Sep-2024 10:18:00.581 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34257"] 06-Sep-2024 10:18:00.582 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Sep-2024 10:18:00.583 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Sep-2024 10:18:00.584 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.584 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.599 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34007"] 06-Sep-2024 10:18:00.612 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34007"] 06-Sep-2024 10:18:00.612 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.615 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34007"] 06-Sep-2024 10:18:00.616 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34007"] 06-Sep-2024 10:18:00.618 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Sep-2024 10:18:00.620 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Sep-2024 10:18:00.620 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.620 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33681"] 06-Sep-2024 10:18:00.639 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33681"] 06-Sep-2024 10:18:00.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33681"] 06-Sep-2024 10:18:00.655 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33681"] 06-Sep-2024 10:18:00.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Sep-2024 10:18:00.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Sep-2024 10:18:00.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.662 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.667 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33571"] 06-Sep-2024 10:18:00.682 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33571"] 06-Sep-2024 10:18:00.685 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33571"] 06-Sep-2024 10:18:00.693 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33571"] 06-Sep-2024 10:18:00.695 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Sep-2024 10:18:00.696 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Sep-2024 10:18:00.696 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Sep-2024 10:18:00.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Sep-2024 10:18:00.707 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.707 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35697"] 06-Sep-2024 10:18:00.748 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35697"] 06-Sep-2024 10:18:00.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35697"] 06-Sep-2024 10:18:00.758 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35697"] 06-Sep-2024 10:18:00.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Sep-2024 10:18:00.761 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Sep-2024 10:18:00.761 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.763 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42999"] 06-Sep-2024 10:18:00.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42999"] 06-Sep-2024 10:18:00.907 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:00.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42999"] 06-Sep-2024 10:18:00.912 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42999"] 06-Sep-2024 10:18:00.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Sep-2024 10:18:00.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Sep-2024 10:18:00.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 10:18:00.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 10:18:00.925 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40901"] 06-Sep-2024 10:18:01.019 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40901"] 06-Sep-2024 10:18:01.023 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 10:18:01.027 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40901"] 06-Sep-2024 10:18:01.033 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40901"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.948 sec Testcase: testUseContentTypeExpiresConfiguration took 0.141 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.644 sec Testcase: testConfiguration took 0.026 sec Testcase: testNullContentType took 0.033 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.067 sec Testcase: testUseDefaultConfiguration2 took 0.035 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.041 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.036 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.063 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.154 sec Testcase: testEmptyContent took 0.121 sec