Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.577 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 22 Jul 2024 19:46:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:49:16 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:16 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 22 Jul 2024 19:46:16 GMT Expires: Mon, 22 Jul 2024 19:53:17 GMT Keep-Alive: timeout=3 ETag: W/"971-1721676778017" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:47:17 GMT Content-Length: 0 Date: Mon, 22 Jul 2024 19:46:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:47:17 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:16 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:47:18 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:18 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:53:18 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:18 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: Mon, 22 Jul 2024 19:46:18 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:46:18 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:18 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:51:18 GMT Content-Length: 11 Date: Mon, 22 Jul 2024 19:46:18 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 22 Jul 2024 19:53:18 GMT Content-Length: 0 Date: Mon, 22 Jul 2024 19:46:18 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 22-Jul-2024 19:46:15.205 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 22-Jul-2024 19:46:16.182 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 22-Jul-2024 19:46:16.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:16.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:16.592 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33293"] 22-Jul-2024 19:46:16.814 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33293"] 22-Jul-2024 19:46:16.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:16.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33293"] 22-Jul-2024 19:46:16.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33293"] 22-Jul-2024 19:46:16.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 22-Jul-2024 19:46:16.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 22-Jul-2024 19:46:16.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:16.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:16.888 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41815"] 22-Jul-2024 19:46:16.997 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41815"] 22-Jul-2024 19:46:17.000 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:17.003 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41815"] 22-Jul-2024 19:46:17.018 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41815"] 22-Jul-2024 19:46:17.028 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 22-Jul-2024 19:46:17.029 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 22-Jul-2024 19:46:17.030 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 22-Jul-2024 19:46:17.047 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 22-Jul-2024 19:46:17.048 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:17.048 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:17.186 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 22-Jul-2024 19:46:17.517 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. 22-Jul-2024 19:46:17.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44963"] 22-Jul-2024 19:46:17.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44963"] 22-Jul-2024 19:46:17.708 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:17.725 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44963"] 22-Jul-2024 19:46:17.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44963"] 22-Jul-2024 19:46:17.734 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 22-Jul-2024 19:46:17.735 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 22-Jul-2024 19:46:17.736 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:17.736 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:17.749 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35023"] 22-Jul-2024 19:46:17.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35023"] 22-Jul-2024 19:46:17.801 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:17.803 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35023"] 22-Jul-2024 19:46:17.817 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35023"] 22-Jul-2024 19:46:17.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 22-Jul-2024 19:46:17.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 22-Jul-2024 19:46:17.827 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:17.828 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:17.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35737"] 22-Jul-2024 19:46:17.864 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35737"] 22-Jul-2024 19:46:17.864 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:17.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35737"] 22-Jul-2024 19:46:17.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35737"] 22-Jul-2024 19:46:17.872 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 22-Jul-2024 19:46:17.873 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 22-Jul-2024 19:46:17.874 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 22-Jul-2024 19:46:17.877 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 22-Jul-2024 19:46:17.877 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:17.878 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:17.889 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45629"] 22-Jul-2024 19:46:17.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45629"] 22-Jul-2024 19:46:17.951 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:17.954 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45629"] 22-Jul-2024 19:46:17.960 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45629"] 22-Jul-2024 19:46:17.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 22-Jul-2024 19:46:17.963 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 22-Jul-2024 19:46:17.964 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:17.964 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:17.983 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36345"] 22-Jul-2024 19:46:18.003 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36345"] 22-Jul-2024 19:46:18.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36345"] 22-Jul-2024 19:46:18.011 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36345"] 22-Jul-2024 19:46:18.016 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 22-Jul-2024 19:46:18.018 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 22-Jul-2024 19:46:18.019 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:18.019 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:18.063 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40839"] 22-Jul-2024 19:46:18.106 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40839"] 22-Jul-2024 19:46:18.107 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.109 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40839"] 22-Jul-2024 19:46:18.112 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40839"] 22-Jul-2024 19:46:18.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 22-Jul-2024 19:46:18.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 22-Jul-2024 19:46:18.116 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:18.116 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:18.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41127"] 22-Jul-2024 19:46:18.172 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41127"] 22-Jul-2024 19:46:18.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.179 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41127"] 22-Jul-2024 19:46:18.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41127"] 22-Jul-2024 19:46:18.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 22-Jul-2024 19:46:18.186 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 22-Jul-2024 19:46:18.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 22-Jul-2024 19:46:18.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 22-Jul-2024 19:46:18.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:18.190 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:18.196 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42895"] 22-Jul-2024 19:46:18.219 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42895"] 22-Jul-2024 19:46:18.222 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.224 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42895"] 22-Jul-2024 19:46:18.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42895"] 22-Jul-2024 19:46:18.227 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 22-Jul-2024 19:46:18.229 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 22-Jul-2024 19:46:18.230 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:18.230 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:18.236 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32893"] 22-Jul-2024 19:46:18.290 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32893"] 22-Jul-2024 19:46:18.292 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32893"] 22-Jul-2024 19:46:18.297 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32893"] 22-Jul-2024 19:46:18.298 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 22-Jul-2024 19:46:18.300 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 22-Jul-2024 19:46:18.300 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Jul-2024 19:46:18.300 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 22-Jul-2024 19:46:18.314 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38207"] 22-Jul-2024 19:46:18.428 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38207"] 22-Jul-2024 19:46:18.429 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Jul-2024 19:46:18.431 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38207"] 22-Jul-2024 19:46:18.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38207"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.868 sec Testcase: testUseContentTypeExpiresConfiguration took 0.168 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.703 sec Testcase: testConfiguration took 0.086 sec Testcase: testNullContentType took 0.052 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.087 sec Testcase: testUseDefaultConfiguration2 took 0.055 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.097 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.071 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.04 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.071 sec Testcase: testEmptyContent took 0.137 sec