Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.442 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 28 Aug 2024 19:22:47 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:25:48 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:48 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 28 Aug 2024 19:22:48 GMT Expires: Wed, 28 Aug 2024 19:29:48 GMT Keep-Alive: timeout=3 ETag: W/"971-1724872185046" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:23:48 GMT Content-Length: 0 Date: Wed, 28 Aug 2024 19:22:48 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:23:48 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:48 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:23:49 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:48 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:29:49 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:48 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, 28 Aug 2024 19:22:48 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:22:49 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:49 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:27:49 GMT Content-Length: 11 Date: Wed, 28 Aug 2024 19:22:49 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 28 Aug 2024 19:29:49 GMT Content-Length: 0 Date: Wed, 28 Aug 2024 19:22:49 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 28-Aug-2024 19:22:46.119 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 28-Aug-2024 19:22:47.232 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 28-Aug-2024 19:22:47.276 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:47.276 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:47.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46785"] 28-Aug-2024 19:22:47.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46785"] 28-Aug-2024 19:22:47.868 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:47.886 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46785"] 28-Aug-2024 19:22:47.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46785"] 28-Aug-2024 19:22:47.944 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 28-Aug-2024 19:22:47.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 28-Aug-2024 19:22:47.972 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:47.972 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:47.994 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46669"] 28-Aug-2024 19:22:48.111 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46669"] 28-Aug-2024 19:22:48.123 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:48.128 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46669"] 28-Aug-2024 19:22:48.134 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46669"] 28-Aug-2024 19:22:48.137 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 28-Aug-2024 19:22:48.138 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 28-Aug-2024 19:22:48.140 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 28-Aug-2024 19:22:48.191 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 28-Aug-2024 19:22:48.191 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:48.192 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:48.329 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 28-Aug-2024 19:22:48.643 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. 28-Aug-2024 19:22:48.688 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40757"] 28-Aug-2024 19:22:48.729 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40757"] 28-Aug-2024 19:22:48.732 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:48.739 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40757"] 28-Aug-2024 19:22:48.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40757"] 28-Aug-2024 19:22:48.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 28-Aug-2024 19:22:48.748 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 28-Aug-2024 19:22:48.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:48.749 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:48.768 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46423"] 28-Aug-2024 19:22:48.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46423"] 28-Aug-2024 19:22:48.797 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:48.800 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46423"] 28-Aug-2024 19:22:48.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46423"] 28-Aug-2024 19:22:48.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 28-Aug-2024 19:22:48.807 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 28-Aug-2024 19:22:48.808 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:48.808 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:48.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35679"] 28-Aug-2024 19:22:48.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35679"] 28-Aug-2024 19:22:48.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:48.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35679"] 28-Aug-2024 19:22:48.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35679"] 28-Aug-2024 19:22:48.915 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 28-Aug-2024 19:22:48.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 28-Aug-2024 19:22:48.917 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 28-Aug-2024 19:22:48.918 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 28-Aug-2024 19:22:48.920 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:48.920 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:48.932 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33757"] 28-Aug-2024 19:22:48.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33757"] 28-Aug-2024 19:22:48.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:48.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33757"] 28-Aug-2024 19:22:48.970 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33757"] 28-Aug-2024 19:22:48.972 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 28-Aug-2024 19:22:48.973 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 28-Aug-2024 19:22:48.974 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:48.977 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:48.990 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38787"] 28-Aug-2024 19:22:49.003 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38787"] 28-Aug-2024 19:22:49.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.008 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38787"] 28-Aug-2024 19:22:49.011 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38787"] 28-Aug-2024 19:22:49.013 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 28-Aug-2024 19:22:49.015 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 28-Aug-2024 19:22:49.015 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:49.016 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:49.028 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 28-Aug-2024 19:22:49.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 28-Aug-2024 19:22:49.042 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.044 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 28-Aug-2024 19:22:49.048 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 28-Aug-2024 19:22:49.050 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 28-Aug-2024 19:22:49.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 28-Aug-2024 19:22:49.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:49.052 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:49.065 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-37883"] 28-Aug-2024 19:22:49.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-37883"] 28-Aug-2024 19:22:49.076 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-37883"] 28-Aug-2024 19:22:49.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-37883"] 28-Aug-2024 19:22:49.082 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 28-Aug-2024 19:22:49.083 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 28-Aug-2024 19:22:49.084 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 28-Aug-2024 19:22:49.085 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 28-Aug-2024 19:22:49.087 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:49.088 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:49.092 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45383"] 28-Aug-2024 19:22:49.138 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45383"] 28-Aug-2024 19:22:49.141 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45383"] 28-Aug-2024 19:22:49.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45383"] 28-Aug-2024 19:22:49.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 28-Aug-2024 19:22:49.150 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 28-Aug-2024 19:22:49.151 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:49.151 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:49.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-41563"] 28-Aug-2024 19:22:49.187 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-41563"] 28-Aug-2024 19:22:49.190 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.192 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-41563"] 28-Aug-2024 19:22:49.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-41563"] 28-Aug-2024 19:22:49.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 28-Aug-2024 19:22:49.203 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 28-Aug-2024 19:22:49.207 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Aug-2024 19:22:49.207 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 28-Aug-2024 19:22:49.219 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37357"] 28-Aug-2024 19:22:49.227 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37357"] 28-Aug-2024 19:22:49.230 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Aug-2024 19:22:49.232 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37357"] 28-Aug-2024 19:22:49.255 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37357"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.016 sec Testcase: testUseContentTypeExpiresConfiguration took 0.193 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.607 sec Testcase: testConfiguration took 0.059 sec Testcase: testNullContentType took 0.109 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.054 sec Testcase: testUseDefaultConfiguration2 took 0.04 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.037 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.031 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.064 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.053 sec Testcase: testEmptyContent took 0.054 sec