Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.048 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 19 Sep 2024 08:05:06 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:08:06 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 19 Sep 2024 08:05:06 GMT Expires: Thu, 19 Sep 2024 08:12:07 GMT Keep-Alive: timeout=3 ETag: W/"971-1726732099618" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:06:07 GMT Content-Length: 0 Date: Thu, 19 Sep 2024 08:05:06 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:06:07 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:06:07 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:12:07 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05: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: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:05:07 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:10:07 GMT Content-Length: 11 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Sep 2024 08:12:07 GMT Content-Length: 0 Date: Thu, 19 Sep 2024 08:05:06 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 19-Sep-2024 08:05:04.696 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 19-Sep-2024 08:05:05.784 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 19-Sep-2024 08:05:05.862 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:05.863 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:06.197 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35041"] 19-Sep-2024 08:05:06.469 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35041"] 19-Sep-2024 08:05:06.472 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:06.487 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35041"] 19-Sep-2024 08:05:06.499 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35041"] 19-Sep-2024 08:05:06.506 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 19-Sep-2024 08:05:06.508 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 19-Sep-2024 08:05:06.509 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:06.509 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:06.514 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-32793"] 19-Sep-2024 08:05:06.562 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-32793"] 19-Sep-2024 08:05:06.564 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:06.571 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-32793"] 19-Sep-2024 08:05:06.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-32793"] 19-Sep-2024 08:05:06.591 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 19-Sep-2024 08:05:06.594 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 19-Sep-2024 08:05:06.596 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 19-Sep-2024 08:05:06.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 19-Sep-2024 08:05:06.617 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:06.617 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:06.740 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 19-Sep-2024 08:05:06.986 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. 19-Sep-2024 08:05:07.020 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41571"] 19-Sep-2024 08:05:07.066 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41571"] 19-Sep-2024 08:05:07.068 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.076 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41571"] 19-Sep-2024 08:05:07.093 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41571"] 19-Sep-2024 08:05:07.104 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 19-Sep-2024 08:05:07.109 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 19-Sep-2024 08:05:07.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.114 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.123 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46223"] 19-Sep-2024 08:05:07.132 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46223"] 19-Sep-2024 08:05:07.132 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.135 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46223"] 19-Sep-2024 08:05:07.139 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46223"] 19-Sep-2024 08:05:07.141 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 19-Sep-2024 08:05:07.143 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 19-Sep-2024 08:05:07.144 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.144 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35519"] 19-Sep-2024 08:05:07.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35519"] 19-Sep-2024 08:05:07.186 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.189 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35519"] 19-Sep-2024 08:05:07.191 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35519"] 19-Sep-2024 08:05:07.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 19-Sep-2024 08:05:07.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 19-Sep-2024 08:05:07.195 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 19-Sep-2024 08:05:07.197 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 19-Sep-2024 08:05:07.197 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.197 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.212 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35243"] 19-Sep-2024 08:05:07.251 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35243"] 19-Sep-2024 08:05:07.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.261 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35243"] 19-Sep-2024 08:05:07.269 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35243"] 19-Sep-2024 08:05:07.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 19-Sep-2024 08:05:07.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 19-Sep-2024 08:05:07.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.273 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42877"] 19-Sep-2024 08:05:07.338 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42877"] 19-Sep-2024 08:05:07.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42877"] 19-Sep-2024 08:05:07.346 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42877"] 19-Sep-2024 08:05:07.355 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 19-Sep-2024 08:05:07.356 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 19-Sep-2024 08:05:07.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.357 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.365 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38807"] 19-Sep-2024 08:05:07.380 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38807"] 19-Sep-2024 08:05:07.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.388 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38807"] 19-Sep-2024 08:05:07.394 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38807"] 19-Sep-2024 08:05:07.396 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 19-Sep-2024 08:05:07.397 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 19-Sep-2024 08:05:07.398 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.398 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-34527"] 19-Sep-2024 08:05:07.419 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-34527"] 19-Sep-2024 08:05:07.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-34527"] 19-Sep-2024 08:05:07.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-34527"] 19-Sep-2024 08:05:07.431 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 19-Sep-2024 08:05:07.433 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 19-Sep-2024 08:05:07.435 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 19-Sep-2024 08:05:07.437 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 19-Sep-2024 08:05:07.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.447 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-34857"] 19-Sep-2024 08:05:07.478 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-34857"] 19-Sep-2024 08:05:07.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.483 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-34857"] 19-Sep-2024 08:05:07.485 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-34857"] 19-Sep-2024 08:05:07.487 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 19-Sep-2024 08:05:07.488 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 19-Sep-2024 08:05:07.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37681"] 19-Sep-2024 08:05:07.518 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37681"] 19-Sep-2024 08:05:07.519 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.521 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37681"] 19-Sep-2024 08:05:07.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37681"] 19-Sep-2024 08:05:07.525 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 19-Sep-2024 08:05:07.527 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 19-Sep-2024 08:05:07.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Sep-2024 08:05:07.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 19-Sep-2024 08:05:07.531 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40641"] 19-Sep-2024 08:05:07.544 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40641"] 19-Sep-2024 08:05:07.545 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Sep-2024 08:05:07.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40641"] 19-Sep-2024 08:05:07.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40641"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.911 sec Testcase: testUseContentTypeExpiresConfiguration took 0.072 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.017 sec Testcase: testBug63909 took 0.508 sec Testcase: testConfiguration took 0.036 sec Testcase: testNullContentType took 0.051 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.075 sec Testcase: testUseDefaultConfiguration2 took 0.08 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.034 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.053 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.039 sec Testcase: testEmptyContent took 0.032 sec