Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.498 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 22 Aug 2024 13:16:24 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:19:24 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:24 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 22 Aug 2024 13:16:24 GMT Expires: Thu, 22 Aug 2024 13:23:25 GMT Keep-Alive: timeout=3 ETag: W/"971-1724331786453" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:17:25 GMT Content-Length: 0 Date: Thu, 22 Aug 2024 13:16:24 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:17:25 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:17:25 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:23:25 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:24 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: Thu, 22 Aug 2024 13:16:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:16:25 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:25 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=299 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:21:26 GMT Content-Length: 11 Date: Thu, 22 Aug 2024 13:16:25 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Thu, 22 Aug 2024 13:23:26 GMT Content-Length: 0 Date: Thu, 22 Aug 2024 13:16:25 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 22-Aug-2024 13:16:22.976 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 22-Aug-2024 13:16:23.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 22-Aug-2024 13:16:24.051 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:24.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:24.449 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-32775"] 22-Aug-2024 13:16:24.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-32775"] 22-Aug-2024 13:16:24.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:24.705 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-32775"] 22-Aug-2024 13:16:24.729 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-32775"] 22-Aug-2024 13:16:24.745 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 22-Aug-2024 13:16:24.747 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 22-Aug-2024 13:16:24.748 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:24.748 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:24.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 22-Aug-2024 13:16:24.841 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 22-Aug-2024 13:16:24.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:24.846 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 22-Aug-2024 13:16:24.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41203"] 22-Aug-2024 13:16:24.866 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 22-Aug-2024 13:16:24.870 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 22-Aug-2024 13:16:24.876 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 22-Aug-2024 13:16:24.911 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 22-Aug-2024 13:16:24.912 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:24.915 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.051 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 22-Aug-2024 13:16:25.365 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. 22-Aug-2024 13:16:25.431 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36479"] 22-Aug-2024 13:16:25.482 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36479"] 22-Aug-2024 13:16:25.484 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.491 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36479"] 22-Aug-2024 13:16:25.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36479"] 22-Aug-2024 13:16:25.502 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 22-Aug-2024 13:16:25.504 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 22-Aug-2024 13:16:25.505 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.505 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45479"] 22-Aug-2024 13:16:25.543 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45479"] 22-Aug-2024 13:16:25.543 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45479"] 22-Aug-2024 13:16:25.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45479"] 22-Aug-2024 13:16:25.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 22-Aug-2024 13:16:25.562 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 22-Aug-2024 13:16:25.563 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.564 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.581 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43909"] 22-Aug-2024 13:16:25.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43909"] 22-Aug-2024 13:16:25.602 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43909"] 22-Aug-2024 13:16:25.615 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43909"] 22-Aug-2024 13:16:25.618 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 22-Aug-2024 13:16:25.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 22-Aug-2024 13:16:25.620 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 22-Aug-2024 13:16:25.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 22-Aug-2024 13:16:25.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.628 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39115"] 22-Aug-2024 13:16:25.664 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39115"] 22-Aug-2024 13:16:25.667 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.670 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39115"] 22-Aug-2024 13:16:25.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39115"] 22-Aug-2024 13:16:25.679 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 22-Aug-2024 13:16:25.680 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 22-Aug-2024 13:16:25.681 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.687 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44401"] 22-Aug-2024 13:16:25.705 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44401"] 22-Aug-2024 13:16:25.705 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.708 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44401"] 22-Aug-2024 13:16:25.717 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44401"] 22-Aug-2024 13:16:25.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 22-Aug-2024 13:16:25.722 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 22-Aug-2024 13:16:25.722 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.723 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44769"] 22-Aug-2024 13:16:25.739 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44769"] 22-Aug-2024 13:16:25.743 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.745 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44769"] 22-Aug-2024 13:16:25.753 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44769"] 22-Aug-2024 13:16:25.755 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 22-Aug-2024 13:16:25.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 22-Aug-2024 13:16:25.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.758 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.766 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-34599"] 22-Aug-2024 13:16:25.804 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-34599"] 22-Aug-2024 13:16:25.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-34599"] 22-Aug-2024 13:16:25.819 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-34599"] 22-Aug-2024 13:16:25.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 22-Aug-2024 13:16:25.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 22-Aug-2024 13:16:25.823 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 22-Aug-2024 13:16:25.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 22-Aug-2024 13:16:25.828 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.829 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.847 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41135"] 22-Aug-2024 13:16:25.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41135"] 22-Aug-2024 13:16:25.875 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:25.877 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41135"] 22-Aug-2024 13:16:25.888 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41135"] 22-Aug-2024 13:16:25.890 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 22-Aug-2024 13:16:25.894 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 22-Aug-2024 13:16:25.895 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:25.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:25.920 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-41099"] 22-Aug-2024 13:16:26.022 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-41099"] 22-Aug-2024 13:16:26.025 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:26.029 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-41099"] 22-Aug-2024 13:16:26.036 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-41099"] 22-Aug-2024 13:16:26.037 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 22-Aug-2024 13:16:26.039 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 22-Aug-2024 13:16:26.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Aug-2024 13:16:26.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 22-Aug-2024 13:16:26.045 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45291"] 22-Aug-2024 13:16:26.094 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45291"] 22-Aug-2024 13:16:26.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Aug-2024 13:16:26.097 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45291"] 22-Aug-2024 13:16:26.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45291"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.996 sec Testcase: testUseContentTypeExpiresConfiguration took 0.121 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.009 sec Testcase: testBug63909 took 0.622 sec Testcase: testConfiguration took 0.061 sec Testcase: testNullContentType took 0.058 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.059 sec Testcase: testUseDefaultConfiguration2 took 0.039 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.036 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.065 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.067 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.148 sec Testcase: testEmptyContent took 0.067 sec