Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.362 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 24 Sep 2024 09:28:31 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:31:32 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:32 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 24 Sep 2024 09:28:32 GMT Expires: Tue, 24 Sep 2024 09:35:32 GMT Keep-Alive: timeout=3 ETag: W/"971-1727169259496" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:29:33 GMT Content-Length: 0 Date: Tue, 24 Sep 2024 09:28:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:29:33 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:29:33 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:35:33 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:33 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, 24 Sep 2024 09:28:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:28:33 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:33:33 GMT Content-Length: 11 Date: Tue, 24 Sep 2024 09:28:33 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 24 Sep 2024 09:35:33 GMT Content-Length: 0 Date: Tue, 24 Sep 2024 09:28:33 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 24-Sep-2024 09:28:30.341 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 24-Sep-2024 09:28:31.361 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 24-Sep-2024 09:28:31.419 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:31.422 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:31.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38683"] 24-Sep-2024 09:28:31.959 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38683"] 24-Sep-2024 09:28:31.961 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:32.032 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38683"] 24-Sep-2024 09:28:32.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38683"] 24-Sep-2024 09:28:32.072 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 24-Sep-2024 09:28:32.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 24-Sep-2024 09:28:32.075 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:32.076 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:32.093 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35277"] 24-Sep-2024 09:28:32.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35277"] 24-Sep-2024 09:28:32.146 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:32.149 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35277"] 24-Sep-2024 09:28:32.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35277"] 24-Sep-2024 09:28:32.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 24-Sep-2024 09:28:32.155 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 24-Sep-2024 09:28:32.156 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 24-Sep-2024 09:28:32.164 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 24-Sep-2024 09:28:32.165 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:32.165 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:32.278 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 24-Sep-2024 09:28:32.521 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. 24-Sep-2024 09:28:32.583 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34135"] 24-Sep-2024 09:28:32.742 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34135"] 24-Sep-2024 09:28:32.743 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:32.757 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34135"] 24-Sep-2024 09:28:32.766 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34135"] 24-Sep-2024 09:28:32.768 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 24-Sep-2024 09:28:32.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 24-Sep-2024 09:28:32.771 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:32.773 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:32.817 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45985"] 24-Sep-2024 09:28:32.853 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45985"] 24-Sep-2024 09:28:32.854 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:32.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45985"] 24-Sep-2024 09:28:32.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45985"] 24-Sep-2024 09:28:32.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 24-Sep-2024 09:28:32.886 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 24-Sep-2024 09:28:32.887 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:32.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:32.897 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44747"] 24-Sep-2024 09:28:33.003 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44747"] 24-Sep-2024 09:28:33.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.010 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44747"] 24-Sep-2024 09:28:33.055 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44747"] 24-Sep-2024 09:28:33.057 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 24-Sep-2024 09:28:33.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 24-Sep-2024 09:28:33.060 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 24-Sep-2024 09:28:33.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 24-Sep-2024 09:28:33.064 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.081 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42737"] 24-Sep-2024 09:28:33.125 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42737"] 24-Sep-2024 09:28:33.127 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.130 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42737"] 24-Sep-2024 09:28:33.137 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42737"] 24-Sep-2024 09:28:33.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 24-Sep-2024 09:28:33.140 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 24-Sep-2024 09:28:33.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.141 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.159 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41417"] 24-Sep-2024 09:28:33.174 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41417"] 24-Sep-2024 09:28:33.174 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41417"] 24-Sep-2024 09:28:33.182 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41417"] 24-Sep-2024 09:28:33.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 24-Sep-2024 09:28:33.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 24-Sep-2024 09:28:33.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.191 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36875"] 24-Sep-2024 09:28:33.213 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36875"] 24-Sep-2024 09:28:33.214 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.217 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36875"] 24-Sep-2024 09:28:33.220 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36875"] 24-Sep-2024 09:28:33.221 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 24-Sep-2024 09:28:33.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 24-Sep-2024 09:28:33.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.238 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38087"] 24-Sep-2024 09:28:33.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38087"] 24-Sep-2024 09:28:33.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.265 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38087"] 24-Sep-2024 09:28:33.271 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38087"] 24-Sep-2024 09:28:33.272 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 24-Sep-2024 09:28:33.274 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 24-Sep-2024 09:28:33.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 24-Sep-2024 09:28:33.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 24-Sep-2024 09:28:33.276 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.289 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42345"] 24-Sep-2024 09:28:33.299 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42345"] 24-Sep-2024 09:28:33.301 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.303 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42345"] 24-Sep-2024 09:28:33.305 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42345"] 24-Sep-2024 09:28:33.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 24-Sep-2024 09:28:33.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 24-Sep-2024 09:28:33.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.329 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-34293"] 24-Sep-2024 09:28:33.345 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-34293"] 24-Sep-2024 09:28:33.348 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.350 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-34293"] 24-Sep-2024 09:28:33.353 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-34293"] 24-Sep-2024 09:28:33.354 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 24-Sep-2024 09:28:33.355 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 24-Sep-2024 09:28:33.356 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Sep-2024 09:28:33.356 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 24-Sep-2024 09:28:33.365 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-35771"] 24-Sep-2024 09:28:33.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-35771"] 24-Sep-2024 09:28:33.381 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Sep-2024 09:28:33.383 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-35771"] 24-Sep-2024 09:28:33.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-35771"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.939 sec Testcase: testUseContentTypeExpiresConfiguration took 0.082 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.612 sec Testcase: testConfiguration took 0.115 sec Testcase: testNullContentType took 0.172 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.08 sec Testcase: testUseDefaultConfiguration2 took 0.045 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.038 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.051 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.032 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.047 sec Testcase: testEmptyContent took 0.033 sec