Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.361 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 16 Oct 2024 09:18:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:21:13 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:13 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 16 Oct 2024 09:18:14 GMT Expires: Wed, 16 Oct 2024 09:25:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1729069412175" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:19:14 GMT Content-Length: 0 Date: Wed, 16 Oct 2024 09:18:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:19:14 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:19:14 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:25:14 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:14 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: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:18:14 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:23:14 GMT Content-Length: 11 Date: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 16 Oct 2024 09:25:14 GMT Content-Length: 0 Date: Wed, 16 Oct 2024 09:18:14 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 16-Oct-2024 09:18:11.634 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 16-Oct-2024 09:18:12.976 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 16-Oct-2024 09:18:13.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:13.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:13.268 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36103"] 16-Oct-2024 09:18:13.603 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36103"] 16-Oct-2024 09:18:13.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:13.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36103"] 16-Oct-2024 09:18:13.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36103"] 16-Oct-2024 09:18:13.684 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 16-Oct-2024 09:18:13.687 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 16-Oct-2024 09:18:13.688 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:13.696 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:13.730 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40663"] 16-Oct-2024 09:18:13.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40663"] 16-Oct-2024 09:18:13.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:13.825 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40663"] 16-Oct-2024 09:18:13.841 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40663"] 16-Oct-2024 09:18:13.845 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 16-Oct-2024 09:18:13.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 16-Oct-2024 09:18:13.857 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 16-Oct-2024 09:18:13.868 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 16-Oct-2024 09:18:13.869 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:13.869 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:13.951 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Oct-2024 09:18:14.131 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. 16-Oct-2024 09:18:14.162 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39595"] 16-Oct-2024 09:18:14.223 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39595"] 16-Oct-2024 09:18:14.226 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.232 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39595"] 16-Oct-2024 09:18:14.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39595"] 16-Oct-2024 09:18:14.243 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 16-Oct-2024 09:18:14.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 16-Oct-2024 09:18:14.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34981"] 16-Oct-2024 09:18:14.263 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34981"] 16-Oct-2024 09:18:14.263 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.273 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34981"] 16-Oct-2024 09:18:14.275 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34981"] 16-Oct-2024 09:18:14.279 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 16-Oct-2024 09:18:14.281 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 16-Oct-2024 09:18:14.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.282 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.293 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40951"] 16-Oct-2024 09:18:14.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40951"] 16-Oct-2024 09:18:14.307 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.310 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40951"] 16-Oct-2024 09:18:14.317 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40951"] 16-Oct-2024 09:18:14.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 16-Oct-2024 09:18:14.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 16-Oct-2024 09:18:14.321 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 16-Oct-2024 09:18:14.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 16-Oct-2024 09:18:14.325 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.325 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43501"] 16-Oct-2024 09:18:14.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43501"] 16-Oct-2024 09:18:14.382 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.385 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43501"] 16-Oct-2024 09:18:14.389 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43501"] 16-Oct-2024 09:18:14.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 16-Oct-2024 09:18:14.393 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 16-Oct-2024 09:18:14.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42259"] 16-Oct-2024 09:18:14.421 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42259"] 16-Oct-2024 09:18:14.424 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.427 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42259"] 16-Oct-2024 09:18:14.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42259"] 16-Oct-2024 09:18:14.435 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 16-Oct-2024 09:18:14.437 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 16-Oct-2024 09:18:14.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.438 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33531"] 16-Oct-2024 09:18:14.489 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33531"] 16-Oct-2024 09:18:14.492 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.495 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33531"] 16-Oct-2024 09:18:14.502 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33531"] 16-Oct-2024 09:18:14.506 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 16-Oct-2024 09:18:14.510 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 16-Oct-2024 09:18:14.512 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.512 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.521 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36069"] 16-Oct-2024 09:18:14.543 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36069"] 16-Oct-2024 09:18:14.544 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36069"] 16-Oct-2024 09:18:14.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36069"] 16-Oct-2024 09:18:14.552 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 16-Oct-2024 09:18:14.554 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 16-Oct-2024 09:18:14.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 16-Oct-2024 09:18:14.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 16-Oct-2024 09:18:14.559 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.560 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.569 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45127"] 16-Oct-2024 09:18:14.583 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45127"] 16-Oct-2024 09:18:14.586 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45127"] 16-Oct-2024 09:18:14.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45127"] 16-Oct-2024 09:18:14.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 16-Oct-2024 09:18:14.594 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 16-Oct-2024 09:18:14.595 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39589"] 16-Oct-2024 09:18:14.607 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39589"] 16-Oct-2024 09:18:14.610 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39589"] 16-Oct-2024 09:18:14.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39589"] 16-Oct-2024 09:18:14.618 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 16-Oct-2024 09:18:14.621 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 16-Oct-2024 09:18:14.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Oct-2024 09:18:14.622 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 16-Oct-2024 09:18:14.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46151"] 16-Oct-2024 09:18:14.638 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46151"] 16-Oct-2024 09:18:14.640 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Oct-2024 09:18:14.643 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46151"] 16-Oct-2024 09:18:14.644 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46151"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.264 sec Testcase: testUseContentTypeExpiresConfiguration took 0.16 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.012 sec Testcase: testBug63909 took 0.385 sec Testcase: testConfiguration took 0.035 sec Testcase: testNullContentType took 0.039 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.069 sec Testcase: testUseDefaultConfiguration2 took 0.043 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.071 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.045 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.037 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.025 sec Testcase: testEmptyContent took 0.027 sec