Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.365 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 25 Sep 2024 21:15:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:18:35 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:35 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 25 Sep 2024 21:15:36 GMT Expires: Wed, 25 Sep 2024 21:22:36 GMT Keep-Alive: timeout=3 ETag: W/"971-1727298141148" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:16:36 GMT Content-Length: 0 Date: Wed, 25 Sep 2024 21:15:36 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:16:36 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:36 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:16:36 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:36 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:22:36 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:36 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, 25 Sep 2024 21:15:36 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:15:36 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:36 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:20:36 GMT Content-Length: 11 Date: Wed, 25 Sep 2024 21:15:36 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 25 Sep 2024 21:22:36 GMT Content-Length: 0 Date: Wed, 25 Sep 2024 21:15:36 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 25-Sep-2024 21:15:33.394 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 25-Sep-2024 21:15:34.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-Sep-2024 21:15:34.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:34.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:34.908 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46471"] 25-Sep-2024 21:15:35.221 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46471"] 25-Sep-2024 21:15:35.226 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:35.265 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46471"] 25-Sep-2024 21:15:35.280 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46471"] 25-Sep-2024 21:15:35.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 25-Sep-2024 21:15:35.288 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-Sep-2024 21:15:35.289 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:35.290 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:35.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38327"] 25-Sep-2024 21:15:35.372 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38327"] 25-Sep-2024 21:15:35.376 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:35.379 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38327"] 25-Sep-2024 21:15:35.397 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38327"] 25-Sep-2024 21:15:35.399 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 25-Sep-2024 21:15:35.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-Sep-2024 21:15:35.401 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 25-Sep-2024 21:15:35.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-Sep-2024 21:15:35.424 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:35.425 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:35.585 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 25-Sep-2024 21:15:35.925 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. 25-Sep-2024 21:15:35.999 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37197"] 25-Sep-2024 21:15:36.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37197"] 25-Sep-2024 21:15:36.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.048 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37197"] 25-Sep-2024 21:15:36.052 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37197"] 25-Sep-2024 21:15:36.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 25-Sep-2024 21:15:36.055 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-Sep-2024 21:15:36.056 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.056 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33359"] 25-Sep-2024 21:15:36.076 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33359"] 25-Sep-2024 21:15:36.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.079 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33359"] 25-Sep-2024 21:15:36.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33359"] 25-Sep-2024 21:15:36.084 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 25-Sep-2024 21:15:36.086 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-Sep-2024 21:15:36.086 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.087 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.096 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44037"] 25-Sep-2024 21:15:36.103 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44037"] 25-Sep-2024 21:15:36.106 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.108 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44037"] 25-Sep-2024 21:15:36.111 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44037"] 25-Sep-2024 21:15:36.112 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 25-Sep-2024 21:15:36.113 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-Sep-2024 21:15:36.114 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 25-Sep-2024 21:15:36.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-Sep-2024 21:15:36.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.119 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.125 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39833"] 25-Sep-2024 21:15:36.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39833"] 25-Sep-2024 21:15:36.142 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.145 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39833"] 25-Sep-2024 21:15:36.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39833"] 25-Sep-2024 21:15:36.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 25-Sep-2024 21:15:36.150 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-Sep-2024 21:15:36.151 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.151 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38803"] 25-Sep-2024 21:15:36.174 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38803"] 25-Sep-2024 21:15:36.177 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.179 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38803"] 25-Sep-2024 21:15:36.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38803"] 25-Sep-2024 21:15:36.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 25-Sep-2024 21:15:36.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-Sep-2024 21:15:36.187 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.187 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.204 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36739"] 25-Sep-2024 21:15:36.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36739"] 25-Sep-2024 21:15:36.219 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.221 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36739"] 25-Sep-2024 21:15:36.224 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36739"] 25-Sep-2024 21:15:36.226 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 25-Sep-2024 21:15:36.233 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 25-Sep-2024 21:15:36.233 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.233 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.248 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43397"] 25-Sep-2024 21:15:36.267 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43397"] 25-Sep-2024 21:15:36.269 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.274 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43397"] 25-Sep-2024 21:15:36.283 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43397"] 25-Sep-2024 21:15:36.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 25-Sep-2024 21:15:36.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 25-Sep-2024 21:15:36.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 25-Sep-2024 21:15:36.287 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 25-Sep-2024 21:15:36.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.288 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.294 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40163"] 25-Sep-2024 21:15:36.301 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40163"] 25-Sep-2024 21:15:36.302 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.304 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40163"] 25-Sep-2024 21:15:36.307 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40163"] 25-Sep-2024 21:15:36.308 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 25-Sep-2024 21:15:36.310 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 25-Sep-2024 21:15:36.310 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.337 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37825"] 25-Sep-2024 21:15:36.477 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37825"] 25-Sep-2024 21:15:36.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.480 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37825"] 25-Sep-2024 21:15:36.483 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37825"] 25-Sep-2024 21:15:36.485 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 25-Sep-2024 21:15:36.487 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 25-Sep-2024 21:15:36.487 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-Sep-2024 21:15:36.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 25-Sep-2024 21:15:36.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-42813"] 25-Sep-2024 21:15:36.559 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-42813"] 25-Sep-2024 21:15:36.562 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-Sep-2024 21:15:36.564 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-42813"] 25-Sep-2024 21:15:36.566 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-42813"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.013 sec Testcase: testUseContentTypeExpiresConfiguration took 0.113 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.652 sec Testcase: testConfiguration took 0.03 sec Testcase: testNullContentType took 0.028 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.034 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.04 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.058 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.022 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.176 sec Testcase: testEmptyContent took 0.081 sec