Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.519 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 12 Sep 2024 10:54:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:57:28 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:28 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 12 Sep 2024 10:54:28 GMT Expires: Thu, 12 Sep 2024 11:01:28 GMT Keep-Alive: timeout=3 ETag: W/"971-1726137686939" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:55:28 GMT Content-Length: 0 Date: Thu, 12 Sep 2024 10:54:28 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:55:29 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:55:29 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 12 Sep 2024 11:01:29 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:28 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: Thu, 12 Sep 2024 10:54:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:54:29 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 12 Sep 2024 10:59:29 GMT Content-Length: 11 Date: Thu, 12 Sep 2024 10:54:29 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 12 Sep 2024 11:01:29 GMT Content-Length: 0 Date: Thu, 12 Sep 2024 10:54:29 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 12-Sep-2024 10:54:26.192 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 12-Sep-2024 10:54:27.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Sep-2024 10:54:27.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:27.345 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:27.567 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39003"] 12-Sep-2024 10:54:27.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39003"] 12-Sep-2024 10:54:27.893 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:27.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39003"] 12-Sep-2024 10:54:27.926 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39003"] 12-Sep-2024 10:54:27.942 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 12-Sep-2024 10:54:27.960 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Sep-2024 10:54:27.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:27.961 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:27.991 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35537"] 12-Sep-2024 10:54:28.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35537"] 12-Sep-2024 10:54:28.165 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:28.181 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35537"] 12-Sep-2024 10:54:28.214 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35537"] 12-Sep-2024 10:54:28.219 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 12-Sep-2024 10:54:28.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Sep-2024 10:54:28.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 12-Sep-2024 10:54:28.245 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Sep-2024 10:54:28.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:28.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:28.478 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 12-Sep-2024 10:54:28.709 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. 12-Sep-2024 10:54:28.766 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44323"] 12-Sep-2024 10:54:28.803 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44323"] 12-Sep-2024 10:54:28.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:28.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44323"] 12-Sep-2024 10:54:28.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44323"] 12-Sep-2024 10:54:28.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 12-Sep-2024 10:54:28.839 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Sep-2024 10:54:28.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:28.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:28.865 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33435"] 12-Sep-2024 10:54:28.906 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33435"] 12-Sep-2024 10:54:28.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:28.916 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33435"] 12-Sep-2024 10:54:28.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33435"] 12-Sep-2024 10:54:28.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 12-Sep-2024 10:54:28.928 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Sep-2024 10:54:28.929 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:28.931 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:28.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46025"] 12-Sep-2024 10:54:28.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46025"] 12-Sep-2024 10:54:28.974 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:28.977 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46025"] 12-Sep-2024 10:54:28.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46025"] 12-Sep-2024 10:54:28.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 12-Sep-2024 10:54:28.983 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Sep-2024 10:54:28.984 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 12-Sep-2024 10:54:28.985 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Sep-2024 10:54:28.986 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:28.986 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.002 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35071"] 12-Sep-2024 10:54:29.059 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35071"] 12-Sep-2024 10:54:29.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.064 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35071"] 12-Sep-2024 10:54:29.069 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35071"] 12-Sep-2024 10:54:29.070 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 12-Sep-2024 10:54:29.072 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Sep-2024 10:54:29.073 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.073 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.080 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37517"] 12-Sep-2024 10:54:29.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37517"] 12-Sep-2024 10:54:29.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.093 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37517"] 12-Sep-2024 10:54:29.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37517"] 12-Sep-2024 10:54:29.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 12-Sep-2024 10:54:29.104 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Sep-2024 10:54:29.105 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.105 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43975"] 12-Sep-2024 10:54:29.150 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43975"] 12-Sep-2024 10:54:29.155 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43975"] 12-Sep-2024 10:54:29.160 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43975"] 12-Sep-2024 10:54:29.161 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 12-Sep-2024 10:54:29.163 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 12-Sep-2024 10:54:29.163 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.163 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.170 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38949"] 12-Sep-2024 10:54:29.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38949"] 12-Sep-2024 10:54:29.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.189 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38949"] 12-Sep-2024 10:54:29.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38949"] 12-Sep-2024 10:54:29.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 12-Sep-2024 10:54:29.195 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 12-Sep-2024 10:54:29.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 12-Sep-2024 10:54:29.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 12-Sep-2024 10:54:29.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.216 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41847"] 12-Sep-2024 10:54:29.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41847"] 12-Sep-2024 10:54:29.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.242 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41847"] 12-Sep-2024 10:54:29.244 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41847"] 12-Sep-2024 10:54:29.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 12-Sep-2024 10:54:29.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 12-Sep-2024 10:54:29.250 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33815"] 12-Sep-2024 10:54:29.388 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33815"] 12-Sep-2024 10:54:29.388 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.391 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33815"] 12-Sep-2024 10:54:29.394 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33815"] 12-Sep-2024 10:54:29.397 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 12-Sep-2024 10:54:29.399 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 12-Sep-2024 10:54:29.400 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Sep-2024 10:54:29.400 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.30-dev] 12-Sep-2024 10:54:29.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38489"] 12-Sep-2024 10:54:29.434 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38489"] 12-Sep-2024 10:54:29.437 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Sep-2024 10:54:29.439 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38489"] 12-Sep-2024 10:54:29.442 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38489"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.918 sec Testcase: testUseContentTypeExpiresConfiguration took 0.274 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.616 sec Testcase: testConfiguration took 0.085 sec Testcase: testNullContentType took 0.058 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.086 sec Testcase: testUseDefaultConfiguration2 took 0.032 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.059 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.032 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.05 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.151 sec Testcase: testEmptyContent took 0.045 sec