Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.083 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 12 Jul 2024 13:03:19 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:06:19 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:19 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 12 Jul 2024 13:03:19 GMT Expires: Fri, 12 Jul 2024 13:10:20 GMT Keep-Alive: timeout=3 ETag: W/"971-1720788613932" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:04:20 GMT Content-Length: 0 Date: Fri, 12 Jul 2024 13:03:20 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:04:20 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:04:20 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:10:20 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:20 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: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:03:21 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:08:21 GMT Content-Length: 11 Date: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 12 Jul 2024 13:10:21 GMT Content-Length: 0 Date: Fri, 12 Jul 2024 13:03:20 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 12-Jul-2024 13:03:16.591 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 12-Jul-2024 13:03:18.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Jul-2024 13:03:18.364 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:18.365 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:18.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44497"] 12-Jul-2024 13:03:19.119 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44497"] 12-Jul-2024 13:03:19.123 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:19.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44497"] 12-Jul-2024 13:03:19.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44497"] 12-Jul-2024 13:03:19.215 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 12-Jul-2024 13:03:19.217 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Jul-2024 13:03:19.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:19.218 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:19.239 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45365"] 12-Jul-2024 13:03:19.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45365"] 12-Jul-2024 13:03:19.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:19.353 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45365"] 12-Jul-2024 13:03:19.365 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45365"] 12-Jul-2024 13:03:19.370 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 12-Jul-2024 13:03:19.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Jul-2024 13:03:19.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 12-Jul-2024 13:03:19.384 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Jul-2024 13:03:19.386 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:19.387 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:19.579 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 12-Jul-2024 13:03:19.907 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-Jul-2024 13:03:19.986 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41451"] 12-Jul-2024 13:03:20.134 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41451"] 12-Jul-2024 13:03:20.137 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41451"] 12-Jul-2024 13:03:20.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41451"] 12-Jul-2024 13:03:20.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 12-Jul-2024 13:03:20.159 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Jul-2024 13:03:20.159 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.160 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.179 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-40849"] 12-Jul-2024 13:03:20.331 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-40849"] 12-Jul-2024 13:03:20.331 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.334 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-40849"] 12-Jul-2024 13:03:20.338 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-40849"] 12-Jul-2024 13:03:20.340 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 12-Jul-2024 13:03:20.343 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Jul-2024 13:03:20.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.345 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43913"] 12-Jul-2024 13:03:20.509 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43913"] 12-Jul-2024 13:03:20.510 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43913"] 12-Jul-2024 13:03:20.520 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43913"] 12-Jul-2024 13:03:20.522 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 12-Jul-2024 13:03:20.523 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Jul-2024 13:03:20.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 12-Jul-2024 13:03:20.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Jul-2024 13:03:20.526 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45845"] 12-Jul-2024 13:03:20.643 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45845"] 12-Jul-2024 13:03:20.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45845"] 12-Jul-2024 13:03:20.655 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45845"] 12-Jul-2024 13:03:20.658 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 12-Jul-2024 13:03:20.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Jul-2024 13:03:20.660 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.660 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.676 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45127"] 12-Jul-2024 13:03:20.734 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45127"] 12-Jul-2024 13:03:20.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.743 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45127"] 12-Jul-2024 13:03:20.747 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45127"] 12-Jul-2024 13:03:20.751 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 12-Jul-2024 13:03:20.759 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Jul-2024 13:03:20.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.760 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.777 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40055"] 12-Jul-2024 13:03:20.839 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40055"] 12-Jul-2024 13:03:20.841 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40055"] 12-Jul-2024 13:03:20.848 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40055"] 12-Jul-2024 13:03:20.850 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 12-Jul-2024 13:03:20.851 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 12-Jul-2024 13:03:20.852 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.852 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.859 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38753"] 12-Jul-2024 13:03:20.921 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38753"] 12-Jul-2024 13:03:20.921 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:20.926 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38753"] 12-Jul-2024 13:03:20.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38753"] 12-Jul-2024 13:03:20.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 12-Jul-2024 13:03:20.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 12-Jul-2024 13:03:20.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 12-Jul-2024 13:03:20.934 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 12-Jul-2024 13:03:20.935 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:20.937 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:20.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-32989"] 12-Jul-2024 13:03:21.055 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-32989"] 12-Jul-2024 13:03:21.058 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:21.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-32989"] 12-Jul-2024 13:03:21.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-32989"] 12-Jul-2024 13:03:21.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 12-Jul-2024 13:03:21.070 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 12-Jul-2024 13:03:21.070 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:21.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:21.110 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40957"] 12-Jul-2024 13:03:21.203 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40957"] 12-Jul-2024 13:03:21.206 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:21.212 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40957"] 12-Jul-2024 13:03:21.220 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40957"] 12-Jul-2024 13:03:21.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 12-Jul-2024 13:03:21.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 12-Jul-2024 13:03:21.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:03:21.225 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:03:21.239 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46453"] 12-Jul-2024 13:03:21.247 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46453"] 12-Jul-2024 13:03:21.248 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:03:21.250 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46453"] 12-Jul-2024 13:03:21.254 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46453"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.909 sec Testcase: testUseContentTypeExpiresConfiguration took 0.154 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.777 sec Testcase: testConfiguration took 0.19 sec Testcase: testNullContentType took 0.182 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.134 sec Testcase: testUseDefaultConfiguration2 took 0.093 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.098 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.082 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.135 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.153 sec Testcase: testEmptyContent took 0.035 sec