Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.698 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 26 Sep 2024 13:10:22 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:13:23 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:23 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 26 Sep 2024 13:10:23 GMT Expires: Thu, 26 Sep 2024 13:17:23 GMT Keep-Alive: timeout=3 ETag: W/"971-1727355362479" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:11:23 GMT Content-Length: 0 Date: Thu, 26 Sep 2024 13:10:23 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:11:23 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:23 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:11:23 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:23 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:17:23 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:23 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, 26 Sep 2024 13:10:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:10:24 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:15:24 GMT Content-Length: 11 Date: Thu, 26 Sep 2024 13:10:24 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Sep 2024 13:17:24 GMT Content-Length: 0 Date: Thu, 26 Sep 2024 13:10:24 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 26-Sep-2024 13:10:20.971 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 26-Sep-2024 13:10:22.194 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 26-Sep-2024 13:10:22.243 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:22.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:22.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33345"] 26-Sep-2024 13:10:22.882 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33345"] 26-Sep-2024 13:10:22.885 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:22.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33345"] 26-Sep-2024 13:10:22.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33345"] 26-Sep-2024 13:10:22.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 26-Sep-2024 13:10:22.964 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 26-Sep-2024 13:10:22.965 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:22.965 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:22.973 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36785"] 26-Sep-2024 13:10:23.060 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36785"] 26-Sep-2024 13:10:23.061 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.074 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36785"] 26-Sep-2024 13:10:23.084 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36785"] 26-Sep-2024 13:10:23.091 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 26-Sep-2024 13:10:23.099 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 26-Sep-2024 13:10:23.101 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 26-Sep-2024 13:10:23.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 26-Sep-2024 13:10:23.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.128 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.285 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Sep-2024 13:10:23.473 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. 26-Sep-2024 13:10:23.548 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38899"] 26-Sep-2024 13:10:23.630 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38899"] 26-Sep-2024 13:10:23.633 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38899"] 26-Sep-2024 13:10:23.656 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38899"] 26-Sep-2024 13:10:23.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 26-Sep-2024 13:10:23.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 26-Sep-2024 13:10:23.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.662 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.669 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44327"] 26-Sep-2024 13:10:23.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44327"] 26-Sep-2024 13:10:23.686 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.689 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44327"] 26-Sep-2024 13:10:23.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44327"] 26-Sep-2024 13:10:23.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 26-Sep-2024 13:10:23.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 26-Sep-2024 13:10:23.699 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45625"] 26-Sep-2024 13:10:23.748 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45625"] 26-Sep-2024 13:10:23.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.755 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45625"] 26-Sep-2024 13:10:23.761 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45625"] 26-Sep-2024 13:10:23.763 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 26-Sep-2024 13:10:23.764 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 26-Sep-2024 13:10:23.765 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 26-Sep-2024 13:10:23.766 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 26-Sep-2024 13:10:23.767 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.767 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.776 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-32917"] 26-Sep-2024 13:10:23.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-32917"] 26-Sep-2024 13:10:23.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-32917"] 26-Sep-2024 13:10:23.832 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-32917"] 26-Sep-2024 13:10:23.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 26-Sep-2024 13:10:23.837 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 26-Sep-2024 13:10:23.837 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.837 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34499"] 26-Sep-2024 13:10:23.861 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34499"] 26-Sep-2024 13:10:23.862 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.864 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34499"] 26-Sep-2024 13:10:23.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34499"] 26-Sep-2024 13:10:23.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 26-Sep-2024 13:10:23.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 26-Sep-2024 13:10:23.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45345"] 26-Sep-2024 13:10:23.899 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45345"] 26-Sep-2024 13:10:23.905 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:23.908 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45345"] 26-Sep-2024 13:10:23.910 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45345"] 26-Sep-2024 13:10:23.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 26-Sep-2024 13:10:23.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 26-Sep-2024 13:10:23.917 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:23.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:23.937 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44313"] 26-Sep-2024 13:10:24.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44313"] 26-Sep-2024 13:10:24.014 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:24.017 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44313"] 26-Sep-2024 13:10:24.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44313"] 26-Sep-2024 13:10:24.021 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 26-Sep-2024 13:10:24.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 26-Sep-2024 13:10:24.023 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 26-Sep-2024 13:10:24.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 26-Sep-2024 13:10:24.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:24.025 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:24.039 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45339"] 26-Sep-2024 13:10:24.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45339"] 26-Sep-2024 13:10:24.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:24.188 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45339"] 26-Sep-2024 13:10:24.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45339"] 26-Sep-2024 13:10:24.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 26-Sep-2024 13:10:24.197 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 26-Sep-2024 13:10:24.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:24.200 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:24.206 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-34731"] 26-Sep-2024 13:10:24.259 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-34731"] 26-Sep-2024 13:10:24.266 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:24.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-34731"] 26-Sep-2024 13:10:24.273 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-34731"] 26-Sep-2024 13:10:24.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 26-Sep-2024 13:10:24.277 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 26-Sep-2024 13:10:24.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Sep-2024 13:10:24.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.31-dev] 26-Sep-2024 13:10:24.304 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45853"] 26-Sep-2024 13:10:24.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45853"] 26-Sep-2024 13:10:24.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Sep-2024 13:10:24.326 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45853"] 26-Sep-2024 13:10:24.329 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45853"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.185 sec Testcase: testUseContentTypeExpiresConfiguration took 0.126 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.009 sec Testcase: testBug63909 took 0.558 sec Testcase: testConfiguration took 0.038 sec Testcase: testNullContentType took 0.066 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.069 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.106 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.171 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.08 sec Testcase: testEmptyContent took 0.055 sec