Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.4 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 06 Sep 2024 12:55:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 06 Sep 2024 12:58:35 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:35 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 06 Sep 2024 12:55:35 GMT Expires: Fri, 06 Sep 2024 13:02:35 GMT Keep-Alive: timeout=3 ETag: W/"971-1725626544849" 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 12:56:36 GMT Content-Length: 0 Date: Fri, 06 Sep 2024 12:55:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Fri, 06 Sep 2024 12:56:36 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:35 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 12:56:36 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:35 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 13:02:36 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:35 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 12:55:35 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 06 Sep 2024 12:55:36 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:35 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 13:00:36 GMT Content-Length: 11 Date: Fri, 06 Sep 2024 12:55:36 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 13:02:36 GMT Content-Length: 0 Date: Fri, 06 Sep 2024 12:55:36 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Sep-2024 12:55:33.494 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Sep-2024 12:55:34.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Sep-2024 12:55:34.739 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:34.743 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:34.966 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45793"] 06-Sep-2024 12:55:35.189 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45793"] 06-Sep-2024 12:55:35.191 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:35.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45793"] 06-Sep-2024 12:55:35.252 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45793"] 06-Sep-2024 12:55:35.281 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Sep-2024 12:55:35.293 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Sep-2024 12:55:35.296 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:35.297 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:35.315 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44803"] 06-Sep-2024 12:55:35.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44803"] 06-Sep-2024 12:55:35.445 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:35.455 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44803"] 06-Sep-2024 12:55:35.467 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44803"] 06-Sep-2024 12:55:35.469 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Sep-2024 12:55:35.471 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Sep-2024 12:55:35.472 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Sep-2024 12:55:35.490 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Sep-2024 12:55:35.506 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:35.507 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:35.650 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Sep-2024 12:55:35.887 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 12:55:35.940 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35443"] 06-Sep-2024 12:55:35.978 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35443"] 06-Sep-2024 12:55:35.981 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:35.988 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35443"] 06-Sep-2024 12:55:35.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35443"] 06-Sep-2024 12:55:35.996 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Sep-2024 12:55:36.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Sep-2024 12:55:36.001 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.014 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46015"] 06-Sep-2024 12:55:36.029 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46015"] 06-Sep-2024 12:55:36.030 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.032 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46015"] 06-Sep-2024 12:55:36.034 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46015"] 06-Sep-2024 12:55:36.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Sep-2024 12:55:36.037 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Sep-2024 12:55:36.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45655"] 06-Sep-2024 12:55:36.082 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45655"] 06-Sep-2024 12:55:36.087 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.095 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45655"] 06-Sep-2024 12:55:36.098 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45655"] 06-Sep-2024 12:55:36.099 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Sep-2024 12:55:36.100 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Sep-2024 12:55:36.101 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Sep-2024 12:55:36.103 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Sep-2024 12:55:36.104 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34537"] 06-Sep-2024 12:55:36.167 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34537"] 06-Sep-2024 12:55:36.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.171 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34537"] 06-Sep-2024 12:55:36.173 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34537"] 06-Sep-2024 12:55:36.178 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Sep-2024 12:55:36.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Sep-2024 12:55:36.180 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.181 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.196 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45455"] 06-Sep-2024 12:55:36.235 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45455"] 06-Sep-2024 12:55:36.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45455"] 06-Sep-2024 12:55:36.248 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45455"] 06-Sep-2024 12:55:36.250 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Sep-2024 12:55:36.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Sep-2024 12:55:36.252 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.252 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.259 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46545"] 06-Sep-2024 12:55:36.290 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46545"] 06-Sep-2024 12:55:36.291 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.293 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46545"] 06-Sep-2024 12:55:36.302 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46545"] 06-Sep-2024 12:55:36.305 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Sep-2024 12:55:36.311 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Sep-2024 12:55:36.317 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.317 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.336 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41279"] 06-Sep-2024 12:55:36.343 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41279"] 06-Sep-2024 12:55:36.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.347 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41279"] 06-Sep-2024 12:55:36.352 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41279"] 06-Sep-2024 12:55:36.354 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Sep-2024 12:55:36.355 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Sep-2024 12:55:36.356 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Sep-2024 12:55:36.357 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Sep-2024 12:55:36.358 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.362 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-46503"] 06-Sep-2024 12:55:36.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-46503"] 06-Sep-2024 12:55:36.417 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.419 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-46503"] 06-Sep-2024 12:55:36.422 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-46503"] 06-Sep-2024 12:55:36.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Sep-2024 12:55:36.425 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Sep-2024 12:55:36.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.426 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-46525"] 06-Sep-2024 12:55:36.484 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-46525"] 06-Sep-2024 12:55:36.485 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.487 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-46525"] 06-Sep-2024 12:55:36.491 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-46525"] 06-Sep-2024 12:55:36.492 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Sep-2024 12:55:36.494 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Sep-2024 12:55:36.494 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Sep-2024 12:55:36.494 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 06-Sep-2024 12:55:36.511 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-44631"] 06-Sep-2024 12:55:36.607 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-44631"] 06-Sep-2024 12:55:36.608 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Sep-2024 12:55:36.611 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-44631"] 06-Sep-2024 12:55:36.620 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-44631"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.975 sec Testcase: testUseContentTypeExpiresConfiguration took 0.187 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.524 sec Testcase: testConfiguration took 0.04 sec Testcase: testNullContentType took 0.063 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.078 sec Testcase: testUseDefaultConfiguration2 took 0.071 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.055 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.049 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.067 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.069 sec Testcase: testEmptyContent took 0.129 sec