Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.701 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 09 Sep 2024 12:20:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:23:14 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:14 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 09 Sep 2024 12:20:14 GMT Expires: Mon, 09 Sep 2024 12:27:15 GMT Keep-Alive: timeout=3 ETag: W/"971-1725883619399" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:21:15 GMT Content-Length: 0 Date: Mon, 09 Sep 2024 12:20:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:21:15 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:21:15 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:27:15 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:15 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: Mon, 09 Sep 2024 12:20:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:20:16 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:25:16 GMT Content-Length: 11 Date: Mon, 09 Sep 2024 12:20:15 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 09 Sep 2024 12:27:16 GMT Content-Length: 0 Date: Mon, 09 Sep 2024 12:20:15 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 09-Sep-2024 12:20:12.926 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 09-Sep-2024 12:20:13.913 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 09-Sep-2024 12:20:13.965 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:13.980 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:14.282 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40957"] 09-Sep-2024 12:20:14.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40957"] 09-Sep-2024 12:20:14.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:14.700 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40957"] 09-Sep-2024 12:20:14.714 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40957"] 09-Sep-2024 12:20:14.721 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 09-Sep-2024 12:20:14.733 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 09-Sep-2024 12:20:14.744 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:14.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:14.769 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43519"] 09-Sep-2024 12:20:14.846 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43519"] 09-Sep-2024 12:20:14.855 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:14.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43519"] 09-Sep-2024 12:20:14.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43519"] 09-Sep-2024 12:20:14.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 09-Sep-2024 12:20:14.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 09-Sep-2024 12:20:14.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 09-Sep-2024 12:20:14.907 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 09-Sep-2024 12:20:14.910 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:14.910 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.083 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 09-Sep-2024 12:20:15.367 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. 09-Sep-2024 12:20:15.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46493"] 09-Sep-2024 12:20:15.528 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46493"] 09-Sep-2024 12:20:15.531 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.537 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46493"] 09-Sep-2024 12:20:15.549 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46493"] 09-Sep-2024 12:20:15.551 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 09-Sep-2024 12:20:15.552 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 09-Sep-2024 12:20:15.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.565 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41657"] 09-Sep-2024 12:20:15.582 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41657"] 09-Sep-2024 12:20:15.582 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.585 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41657"] 09-Sep-2024 12:20:15.586 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41657"] 09-Sep-2024 12:20:15.588 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 09-Sep-2024 12:20:15.590 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 09-Sep-2024 12:20:15.591 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.591 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.597 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32975"] 09-Sep-2024 12:20:15.695 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32975"] 09-Sep-2024 12:20:15.700 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32975"] 09-Sep-2024 12:20:15.706 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32975"] 09-Sep-2024 12:20:15.708 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 09-Sep-2024 12:20:15.709 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 09-Sep-2024 12:20:15.710 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 09-Sep-2024 12:20:15.711 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 09-Sep-2024 12:20:15.711 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.712 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36519"] 09-Sep-2024 12:20:15.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36519"] 09-Sep-2024 12:20:15.749 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.751 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36519"] 09-Sep-2024 12:20:15.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36519"] 09-Sep-2024 12:20:15.758 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 09-Sep-2024 12:20:15.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 09-Sep-2024 12:20:15.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.781 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-39067"] 09-Sep-2024 12:20:15.820 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-39067"] 09-Sep-2024 12:20:15.831 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.836 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-39067"] 09-Sep-2024 12:20:15.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-39067"] 09-Sep-2024 12:20:15.845 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 09-Sep-2024 12:20:15.846 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 09-Sep-2024 12:20:15.847 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.847 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.853 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40847"] 09-Sep-2024 12:20:15.878 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40847"] 09-Sep-2024 12:20:15.881 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40847"] 09-Sep-2024 12:20:15.887 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40847"] 09-Sep-2024 12:20:15.888 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 09-Sep-2024 12:20:15.890 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 09-Sep-2024 12:20:15.891 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.892 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41413"] 09-Sep-2024 12:20:15.920 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41413"] 09-Sep-2024 12:20:15.922 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:15.925 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41413"] 09-Sep-2024 12:20:15.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41413"] 09-Sep-2024 12:20:15.942 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 09-Sep-2024 12:20:15.943 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 09-Sep-2024 12:20:15.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 09-Sep-2024 12:20:15.952 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 09-Sep-2024 12:20:15.953 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:15.953 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:15.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 09-Sep-2024 12:20:16.075 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 09-Sep-2024 12:20:16.079 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:16.081 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 09-Sep-2024 12:20:16.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-33997"] 09-Sep-2024 12:20:16.087 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 09-Sep-2024 12:20:16.090 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 09-Sep-2024 12:20:16.092 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:16.093 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:16.114 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40371"] 09-Sep-2024 12:20:16.210 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40371"] 09-Sep-2024 12:20:16.214 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:16.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40371"] 09-Sep-2024 12:20:16.220 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40371"] 09-Sep-2024 12:20:16.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 09-Sep-2024 12:20:16.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 09-Sep-2024 12:20:16.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Sep-2024 12:20:16.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 09-Sep-2024 12:20:16.243 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38769"] 09-Sep-2024 12:20:16.319 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38769"] 09-Sep-2024 12:20:16.322 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Sep-2024 12:20:16.323 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38769"] 09-Sep-2024 12:20:16.327 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38769"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2 sec Testcase: testUseContentTypeExpiresConfiguration took 0.158 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.016 sec Testcase: testBug63909 took 0.654 sec Testcase: testConfiguration took 0.038 sec Testcase: testNullContentType took 0.12 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.047 sec Testcase: testUseDefaultConfiguration2 took 0.088 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.053 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.143 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.134 sec Testcase: testEmptyContent took 0.107 sec