Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.293 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 06 Feb 2024 10:19:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:22:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 06 Feb 2024 10:19:47 GMT Expires: Tue, 06 Feb 2024 10:26:47 GMT Keep-Alive: timeout=3 ETag: W/"971-1707213202607" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:20:47 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 10:19:47 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:20:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:20:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:26:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 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, 06 Feb 2024 10:19:47 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:19:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:24:47 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:26:47 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 10:19:47 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Feb-2024 10:19:45.216 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Feb-2024 10:19:46.522 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Feb-2024 10:19:46.624 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:46.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:46.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34971"] 06-Feb-2024 10:19:46.967 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34971"] 06-Feb-2024 10:19:46.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.022 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34971"] 06-Feb-2024 10:19:47.033 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34971"] 06-Feb-2024 10:19:47.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Feb-2024 10:19:47.071 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Feb-2024 10:19:47.162 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.162 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.168 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46495"] 06-Feb-2024 10:19:47.228 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46495"] 06-Feb-2024 10:19:47.229 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.232 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46495"] 06-Feb-2024 10:19:47.233 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46495"] 06-Feb-2024 10:19:47.236 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Feb-2024 10:19:47.237 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Feb-2024 10:19:47.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Feb-2024 10:19:47.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Feb-2024 10:19:47.314 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.314 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.366 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Feb-2024 10:19:47.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41897"] 06-Feb-2024 10:19:47.509 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41897"] 06-Feb-2024 10:19:47.512 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41897"] 06-Feb-2024 10:19:47.519 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41897"] 06-Feb-2024 10:19:47.536 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Feb-2024 10:19:47.538 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Feb-2024 10:19:47.543 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.543 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33011"] 06-Feb-2024 10:19:47.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33011"] 06-Feb-2024 10:19:47.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.551 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33011"] 06-Feb-2024 10:19:47.551 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33011"] 06-Feb-2024 10:19:47.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Feb-2024 10:19:47.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Feb-2024 10:19:47.594 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.594 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45291"] 06-Feb-2024 10:19:47.604 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45291"] 06-Feb-2024 10:19:47.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45291"] 06-Feb-2024 10:19:47.609 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45291"] 06-Feb-2024 10:19:47.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Feb-2024 10:19:47.612 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Feb-2024 10:19:47.613 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Feb-2024 10:19:47.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Feb-2024 10:19:47.619 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.619 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.634 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41441"] 06-Feb-2024 10:19:47.651 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41441"] 06-Feb-2024 10:19:47.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41441"] 06-Feb-2024 10:19:47.657 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41441"] 06-Feb-2024 10:19:47.665 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Feb-2024 10:19:47.667 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Feb-2024 10:19:47.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.672 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38391"] 06-Feb-2024 10:19:47.685 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38391"] 06-Feb-2024 10:19:47.688 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.690 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38391"] 06-Feb-2024 10:19:47.690 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38391"] 06-Feb-2024 10:19:47.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Feb-2024 10:19:47.701 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Feb-2024 10:19:47.723 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.724 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.728 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32935"] 06-Feb-2024 10:19:47.734 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32935"] 06-Feb-2024 10:19:47.736 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.738 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32935"] 06-Feb-2024 10:19:47.739 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-32935"] 06-Feb-2024 10:19:47.742 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Feb-2024 10:19:47.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 06-Feb-2024 10:19:47.782 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.782 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.802 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36743"] 06-Feb-2024 10:19:47.813 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36743"] 06-Feb-2024 10:19:47.816 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36743"] 06-Feb-2024 10:19:47.818 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36743"] 06-Feb-2024 10:19:47.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Feb-2024 10:19:47.823 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 06-Feb-2024 10:19:47.823 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Feb-2024 10:19:47.830 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 06-Feb-2024 10:19:47.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.850 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34599"] 06-Feb-2024 10:19:47.855 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34599"] 06-Feb-2024 10:19:47.858 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.859 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34599"] 06-Feb-2024 10:19:47.860 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34599"] 06-Feb-2024 10:19:47.864 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Feb-2024 10:19:47.865 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 06-Feb-2024 10:19:47.877 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.877 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.884 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34719"] 06-Feb-2024 10:19:47.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34719"] 06-Feb-2024 10:19:47.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.892 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34719"] 06-Feb-2024 10:19:47.892 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34719"] 06-Feb-2024 10:19:47.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Feb-2024 10:19:47.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 06-Feb-2024 10:19:47.936 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:19:47.936 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:19:47.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35431"] 06-Feb-2024 10:19:47.956 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35431"] 06-Feb-2024 10:19:47.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:19:47.959 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35431"] 06-Feb-2024 10:19:47.959 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35431"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.316 sec Testcase: testUseContentTypeExpiresConfiguration took 0.168 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.293 sec Testcase: testConfiguration took 0.023 sec Testcase: testNullContentType took 0.056 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.052 sec Testcase: testUseDefaultConfiguration2 took 0.034 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.043 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.079 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.041 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.048 sec Testcase: testEmptyContent took 0.055 sec