Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.634 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 31 Oct 2024 12:17:12 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:20:12 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:12 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 31 Oct 2024 12:17:13 GMT Expires: Thu, 31 Oct 2024 12:24:13 GMT Keep-Alive: timeout=3 ETag: W/"971-1730376247474" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:18:13 GMT Content-Length: 0 Date: Thu, 31 Oct 2024 12:17:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:18:13 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:18:13 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:24:13 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:13 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, 31 Oct 2024 12:17:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:17:13 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:22:13 GMT Content-Length: 11 Date: Thu, 31 Oct 2024 12:17:13 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 31 Oct 2024 12:24:13 GMT Content-Length: 0 Date: Thu, 31 Oct 2024 12:17:13 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 31-Oct-2024 12:17:10.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 31-Oct-2024 12:17:11.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 31-Oct-2024 12:17:11.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:11.804 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:12.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37771"] 31-Oct-2024 12:17:12.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37771"] 31-Oct-2024 12:17:12.241 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:12.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37771"] 31-Oct-2024 12:17:12.305 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37771"] 31-Oct-2024 12:17:12.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 31-Oct-2024 12:17:12.339 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 31-Oct-2024 12:17:12.340 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:12.341 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:12.347 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44981"] 31-Oct-2024 12:17:12.495 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44981"] 31-Oct-2024 12:17:12.496 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:12.510 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44981"] 31-Oct-2024 12:17:12.520 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44981"] 31-Oct-2024 12:17:12.523 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 31-Oct-2024 12:17:12.525 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 31-Oct-2024 12:17:12.532 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 31-Oct-2024 12:17:12.556 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 31-Oct-2024 12:17:12.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:12.563 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:12.684 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 31-Oct-2024 12:17:12.955 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. 31-Oct-2024 12:17:13.002 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39889"] 31-Oct-2024 12:17:13.099 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39889"] 31-Oct-2024 12:17:13.100 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39889"] 31-Oct-2024 12:17:13.110 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39889"] 31-Oct-2024 12:17:13.113 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 31-Oct-2024 12:17:13.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 31-Oct-2024 12:17:13.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.119 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.125 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36855"] 31-Oct-2024 12:17:13.150 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36855"] 31-Oct-2024 12:17:13.151 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36855"] 31-Oct-2024 12:17:13.162 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36855"] 31-Oct-2024 12:17:13.166 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 31-Oct-2024 12:17:13.169 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 31-Oct-2024 12:17:13.169 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.170 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.175 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38643"] 31-Oct-2024 12:17:13.191 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38643"] 31-Oct-2024 12:17:13.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.202 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38643"] 31-Oct-2024 12:17:13.206 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38643"] 31-Oct-2024 12:17:13.209 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 31-Oct-2024 12:17:13.210 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 31-Oct-2024 12:17:13.213 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 31-Oct-2024 12:17:13.215 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 31-Oct-2024 12:17:13.216 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.217 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.227 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34327"] 31-Oct-2024 12:17:13.263 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34327"] 31-Oct-2024 12:17:13.266 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.269 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34327"] 31-Oct-2024 12:17:13.272 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34327"] 31-Oct-2024 12:17:13.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 31-Oct-2024 12:17:13.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 31-Oct-2024 12:17:13.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.277 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.290 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42485"] 31-Oct-2024 12:17:13.367 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42485"] 31-Oct-2024 12:17:13.370 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.373 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42485"] 31-Oct-2024 12:17:13.376 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42485"] 31-Oct-2024 12:17:13.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 31-Oct-2024 12:17:13.379 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 31-Oct-2024 12:17:13.380 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.381 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.395 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41261"] 31-Oct-2024 12:17:13.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41261"] 31-Oct-2024 12:17:13.482 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.488 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41261"] 31-Oct-2024 12:17:13.491 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41261"] 31-Oct-2024 12:17:13.493 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 31-Oct-2024 12:17:13.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 31-Oct-2024 12:17:13.495 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.495 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44445"] 31-Oct-2024 12:17:13.516 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44445"] 31-Oct-2024 12:17:13.519 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.525 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44445"] 31-Oct-2024 12:17:13.531 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44445"] 31-Oct-2024 12:17:13.532 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 31-Oct-2024 12:17:13.533 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 31-Oct-2024 12:17:13.534 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 31-Oct-2024 12:17:13.535 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 31-Oct-2024 12:17:13.536 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.536 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.563 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-33917"] 31-Oct-2024 12:17:13.574 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-33917"] 31-Oct-2024 12:17:13.587 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.595 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-33917"] 31-Oct-2024 12:17:13.599 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-33917"] 31-Oct-2024 12:17:13.601 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 31-Oct-2024 12:17:13.603 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 31-Oct-2024 12:17:13.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39989"] 31-Oct-2024 12:17:13.628 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39989"] 31-Oct-2024 12:17:13.629 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39989"] 31-Oct-2024 12:17:13.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39989"] 31-Oct-2024 12:17:13.637 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 31-Oct-2024 12:17:13.638 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 31-Oct-2024 12:17:13.639 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 31-Oct-2024 12:17:13.639 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 31-Oct-2024 12:17:13.642 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33013"] 31-Oct-2024 12:17:13.661 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33013"] 31-Oct-2024 12:17:13.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 31-Oct-2024 12:17:13.666 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33013"] 31-Oct-2024 12:17:13.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33013"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.204 sec Testcase: testUseContentTypeExpiresConfiguration took 0.193 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.587 sec Testcase: testConfiguration took 0.053 sec Testcase: testNullContentType took 0.043 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.062 sec Testcase: testUseDefaultConfiguration2 took 0.103 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.115 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.039 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.066 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.034 sec