Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.307 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 20 Aug 2024 14:08:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:11:39 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:39 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 20 Aug 2024 14:08:39 GMT Expires: Tue, 20 Aug 2024 14:15:39 GMT Keep-Alive: timeout=3 ETag: W/"971-1724162130157" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:09:39 GMT Content-Length: 0 Date: Tue, 20 Aug 2024 14:08:39 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:09:39 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:39 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:09:39 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:39 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:15:40 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:39 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, 20 Aug 2024 14:08:39 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:08:40 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:40 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:13:40 GMT Content-Length: 11 Date: Tue, 20 Aug 2024 14:08:40 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Aug 2024 14:15:40 GMT Content-Length: 0 Date: Tue, 20 Aug 2024 14:08:40 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 20-Aug-2024 14:08:37.230 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 20-Aug-2024 14:08:38.222 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 20-Aug-2024 14:08:38.272 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:38.273 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:38.552 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43417"] 20-Aug-2024 14:08:38.899 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43417"] 20-Aug-2024 14:08:38.902 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:38.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43417"] 20-Aug-2024 14:08:38.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43417"] 20-Aug-2024 14:08:38.985 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 20-Aug-2024 14:08:38.992 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 20-Aug-2024 14:08:38.996 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:38.997 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.004 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-39457"] 20-Aug-2024 14:08:39.187 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-39457"] 20-Aug-2024 14:08:39.188 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.191 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-39457"] 20-Aug-2024 14:08:39.216 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-39457"] 20-Aug-2024 14:08:39.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 20-Aug-2024 14:08:39.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 20-Aug-2024 14:08:39.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 20-Aug-2024 14:08:39.237 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 20-Aug-2024 14:08:39.238 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.367 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Aug-2024 14:08:39.572 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. 20-Aug-2024 14:08:39.615 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39305"] 20-Aug-2024 14:08:39.699 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39305"] 20-Aug-2024 14:08:39.699 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39305"] 20-Aug-2024 14:08:39.722 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39305"] 20-Aug-2024 14:08:39.724 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 20-Aug-2024 14:08:39.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 20-Aug-2024 14:08:39.726 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.726 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37003"] 20-Aug-2024 14:08:39.798 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37003"] 20-Aug-2024 14:08:39.798 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37003"] 20-Aug-2024 14:08:39.808 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37003"] 20-Aug-2024 14:08:39.814 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 20-Aug-2024 14:08:39.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 20-Aug-2024 14:08:39.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.820 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35589"] 20-Aug-2024 14:08:39.862 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35589"] 20-Aug-2024 14:08:39.865 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.868 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35589"] 20-Aug-2024 14:08:39.870 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35589"] 20-Aug-2024 14:08:39.872 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 20-Aug-2024 14:08:39.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 20-Aug-2024 14:08:39.873 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 20-Aug-2024 14:08:39.874 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 20-Aug-2024 14:08:39.874 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35147"] 20-Aug-2024 14:08:39.887 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35147"] 20-Aug-2024 14:08:39.892 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.903 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35147"] 20-Aug-2024 14:08:39.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35147"] 20-Aug-2024 14:08:39.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 20-Aug-2024 14:08:39.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 20-Aug-2024 14:08:39.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.932 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33569"] 20-Aug-2024 14:08:39.953 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33569"] 20-Aug-2024 14:08:39.956 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:39.963 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33569"] 20-Aug-2024 14:08:39.969 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33569"] 20-Aug-2024 14:08:39.971 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 20-Aug-2024 14:08:39.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 20-Aug-2024 14:08:39.973 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:39.973 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:39.978 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33257"] 20-Aug-2024 14:08:40.067 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33257"] 20-Aug-2024 14:08:40.070 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:40.072 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33257"] 20-Aug-2024 14:08:40.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33257"] 20-Aug-2024 14:08:40.081 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 20-Aug-2024 14:08:40.082 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 20-Aug-2024 14:08:40.083 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:40.083 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:40.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44279"] 20-Aug-2024 14:08:40.148 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44279"] 20-Aug-2024 14:08:40.148 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:40.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44279"] 20-Aug-2024 14:08:40.154 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44279"] 20-Aug-2024 14:08:40.156 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 20-Aug-2024 14:08:40.157 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 20-Aug-2024 14:08:40.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 20-Aug-2024 14:08:40.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 20-Aug-2024 14:08:40.160 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:40.160 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:40.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41623"] 20-Aug-2024 14:08:40.189 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41623"] 20-Aug-2024 14:08:40.193 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:40.196 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41623"] 20-Aug-2024 14:08:40.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41623"] 20-Aug-2024 14:08:40.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 20-Aug-2024 14:08:40.204 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 20-Aug-2024 14:08:40.207 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:40.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:40.222 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39881"] 20-Aug-2024 14:08:40.244 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39881"] 20-Aug-2024 14:08:40.246 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:40.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39881"] 20-Aug-2024 14:08:40.251 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39881"] 20-Aug-2024 14:08:40.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 20-Aug-2024 14:08:40.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 20-Aug-2024 14:08:40.254 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Aug-2024 14:08:40.255 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 20-Aug-2024 14:08:40.264 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45631"] 20-Aug-2024 14:08:40.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45631"] 20-Aug-2024 14:08:40.288 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Aug-2024 14:08:40.290 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45631"] 20-Aug-2024 14:08:40.292 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45631"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.919 sec Testcase: testUseContentTypeExpiresConfiguration took 0.232 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.503 sec Testcase: testConfiguration took 0.089 sec Testcase: testNullContentType took 0.058 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.04 sec Testcase: testUseDefaultConfiguration2 took 0.056 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.11 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.074 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.045 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.05 sec Testcase: testEmptyContent took 0.042 sec