Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.425 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 23 Jul 2024 10:55:41 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 23 Jul 2024 10:58:41 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:41 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 23 Jul 2024 10:55:41 GMT Expires: Tue, 23 Jul 2024 11:02:41 GMT Keep-Alive: timeout=3 ETag: W/"971-1721731358814" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 23 Jul 2024 10:56:42 GMT Content-Length: 0 Date: Tue, 23 Jul 2024 10:55:42 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 23 Jul 2024 10:56:42 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:42 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 23 Jul 2024 10:56:42 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:42 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 23 Jul 2024 11:02:42 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:42 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, 23 Jul 2024 10:55:42 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 23 Jul 2024 10:55:42 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:42 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 23 Jul 2024 11:00:42 GMT Content-Length: 11 Date: Tue, 23 Jul 2024 10:55:42 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 23 Jul 2024 11:02:42 GMT Content-Length: 0 Date: Tue, 23 Jul 2024 10:55:42 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 23-Jul-2024 10:55:39.547 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 23-Jul-2024 10:55:40.567 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 23-Jul-2024 10:55:40.598 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:40.599 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:40.870 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45183"] 23-Jul-2024 10:55:41.083 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45183"] 23-Jul-2024 10:55:41.094 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:41.127 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45183"] 23-Jul-2024 10:55:41.136 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45183"] 23-Jul-2024 10:55:41.147 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 23-Jul-2024 10:55:41.161 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 23-Jul-2024 10:55:41.161 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:41.162 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:41.171 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45543"] 23-Jul-2024 10:55:41.198 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45543"] 23-Jul-2024 10:55:41.199 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:41.201 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45543"] 23-Jul-2024 10:55:41.206 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45543"] 23-Jul-2024 10:55:41.223 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 23-Jul-2024 10:55:41.235 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 23-Jul-2024 10:55:41.236 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 23-Jul-2024 10:55:41.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 23-Jul-2024 10:55:41.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:41.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:41.373 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 23-Jul-2024 10:55:41.734 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. 23-Jul-2024 10:55:41.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-45349"] 23-Jul-2024 10:55:41.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-45349"] 23-Jul-2024 10:55:41.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:41.995 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-45349"] 23-Jul-2024 10:55:42.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-45349"] 23-Jul-2024 10:55:42.008 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 23-Jul-2024 10:55:42.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 23-Jul-2024 10:55:42.015 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.015 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.026 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-40301"] 23-Jul-2024 10:55:42.092 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-40301"] 23-Jul-2024 10:55:42.095 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-40301"] 23-Jul-2024 10:55:42.103 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-40301"] 23-Jul-2024 10:55:42.108 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 23-Jul-2024 10:55:42.111 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 23-Jul-2024 10:55:42.111 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.133 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44817"] 23-Jul-2024 10:55:42.202 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44817"] 23-Jul-2024 10:55:42.206 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.211 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44817"] 23-Jul-2024 10:55:42.214 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44817"] 23-Jul-2024 10:55:42.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 23-Jul-2024 10:55:42.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 23-Jul-2024 10:55:42.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 23-Jul-2024 10:55:42.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 23-Jul-2024 10:55:42.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33925"] 23-Jul-2024 10:55:42.253 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33925"] 23-Jul-2024 10:55:42.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.258 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33925"] 23-Jul-2024 10:55:42.260 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33925"] 23-Jul-2024 10:55:42.262 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 23-Jul-2024 10:55:42.264 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 23-Jul-2024 10:55:42.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.272 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40679"] 23-Jul-2024 10:55:42.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40679"] 23-Jul-2024 10:55:42.284 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.287 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40679"] 23-Jul-2024 10:55:42.291 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40679"] 23-Jul-2024 10:55:42.293 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 23-Jul-2024 10:55:42.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 23-Jul-2024 10:55:42.301 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.301 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.315 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43119"] 23-Jul-2024 10:55:42.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43119"] 23-Jul-2024 10:55:42.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.386 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43119"] 23-Jul-2024 10:55:42.389 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43119"] 23-Jul-2024 10:55:42.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 23-Jul-2024 10:55:42.393 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 23-Jul-2024 10:55:42.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.404 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40409"] 23-Jul-2024 10:55:42.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40409"] 23-Jul-2024 10:55:42.447 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.449 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40409"] 23-Jul-2024 10:55:42.456 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40409"] 23-Jul-2024 10:55:42.458 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 23-Jul-2024 10:55:42.459 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 23-Jul-2024 10:55:42.461 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 23-Jul-2024 10:55:42.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 23-Jul-2024 10:55:42.464 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.464 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40935"] 23-Jul-2024 10:55:42.500 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40935"] 23-Jul-2024 10:55:42.503 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.505 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40935"] 23-Jul-2024 10:55:42.508 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40935"] 23-Jul-2024 10:55:42.510 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 23-Jul-2024 10:55:42.512 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 23-Jul-2024 10:55:42.512 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.512 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40337"] 23-Jul-2024 10:55:42.562 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40337"] 23-Jul-2024 10:55:42.568 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.570 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40337"] 23-Jul-2024 10:55:42.574 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40337"] 23-Jul-2024 10:55:42.576 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 23-Jul-2024 10:55:42.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 23-Jul-2024 10:55:42.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 23-Jul-2024 10:55:42.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 23-Jul-2024 10:55:42.591 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-35847"] 23-Jul-2024 10:55:42.648 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-35847"] 23-Jul-2024 10:55:42.648 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 23-Jul-2024 10:55:42.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-35847"] 23-Jul-2024 10:55:42.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-35847"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.806 sec Testcase: testUseContentTypeExpiresConfiguration took 0.075 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.014 sec Testcase: testBug63909 took 0.772 sec Testcase: testConfiguration took 0.1 sec Testcase: testNullContentType took 0.107 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.005 sec Testcase: testUseDefaultConfiguration1 took 0.042 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.099 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.066 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.048 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.066 sec Testcase: testEmptyContent took 0.079 sec