Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 30 Jul 2024 16:17:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:20:26 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:26 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 30 Jul 2024 16:17:26 GMT Expires: Tue, 30 Jul 2024 16:24:26 GMT Keep-Alive: timeout=3 ETag: W/"971-1722355468133" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:18:26 GMT Content-Length: 0 Date: Tue, 30 Jul 2024 16:17:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:18:26 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:18:27 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:24:27 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:26 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, 30 Jul 2024 16:17:26 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:17:27 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:22:27 GMT Content-Length: 11 Date: Tue, 30 Jul 2024 16:17:27 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 Jul 2024 16:24:27 GMT Content-Length: 0 Date: Tue, 30 Jul 2024 16:17:27 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 30-Jul-2024 16:17:24.342 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 30-Jul-2024 16:17:25.365 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 30-Jul-2024 16:17:25.435 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:25.435 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:25.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34565"] 30-Jul-2024 16:17:26.140 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34565"] 30-Jul-2024 16:17:26.143 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.165 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34565"] 30-Jul-2024 16:17:26.172 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34565"] 30-Jul-2024 16:17:26.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 30-Jul-2024 16:17:26.188 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 30-Jul-2024 16:17:26.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.190 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.212 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38791"] 30-Jul-2024 16:17:26.273 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38791"] 30-Jul-2024 16:17:26.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38791"] 30-Jul-2024 16:17:26.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38791"] 30-Jul-2024 16:17:26.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 30-Jul-2024 16:17:26.294 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 30-Jul-2024 16:17:26.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 30-Jul-2024 16:17:26.315 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 30-Jul-2024 16:17:26.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.421 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 30-Jul-2024 16:17:26.587 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. 30-Jul-2024 16:17:26.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44723"] 30-Jul-2024 16:17:26.700 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44723"] 30-Jul-2024 16:17:26.703 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.719 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44723"] 30-Jul-2024 16:17:26.723 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44723"] 30-Jul-2024 16:17:26.725 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 30-Jul-2024 16:17:26.727 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 30-Jul-2024 16:17:26.727 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.727 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.751 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44075"] 30-Jul-2024 16:17:26.818 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44075"] 30-Jul-2024 16:17:26.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.820 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44075"] 30-Jul-2024 16:17:26.839 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44075"] 30-Jul-2024 16:17:26.843 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 30-Jul-2024 16:17:26.847 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 30-Jul-2024 16:17:26.848 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.848 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.856 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33909"] 30-Jul-2024 16:17:26.875 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33909"] 30-Jul-2024 16:17:26.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.879 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33909"] 30-Jul-2024 16:17:26.883 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33909"] 30-Jul-2024 16:17:26.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 30-Jul-2024 16:17:26.886 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 30-Jul-2024 16:17:26.887 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 30-Jul-2024 16:17:26.888 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 30-Jul-2024 16:17:26.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.900 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45985"] 30-Jul-2024 16:17:26.910 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45985"] 30-Jul-2024 16:17:26.911 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:26.916 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45985"] 30-Jul-2024 16:17:26.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45985"] 30-Jul-2024 16:17:26.926 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 30-Jul-2024 16:17:26.927 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 30-Jul-2024 16:17:26.930 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:26.930 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:26.935 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44237"] 30-Jul-2024 16:17:27.003 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44237"] 30-Jul-2024 16:17:27.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.008 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44237"] 30-Jul-2024 16:17:27.012 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44237"] 30-Jul-2024 16:17:27.013 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 30-Jul-2024 16:17:27.014 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 30-Jul-2024 16:17:27.016 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:27.016 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:27.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46073"] 30-Jul-2024 16:17:27.082 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46073"] 30-Jul-2024 16:17:27.085 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.088 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46073"] 30-Jul-2024 16:17:27.090 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46073"] 30-Jul-2024 16:17:27.092 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 30-Jul-2024 16:17:27.094 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 30-Jul-2024 16:17:27.094 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:27.095 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:27.108 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-32845"] 30-Jul-2024 16:17:27.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-32845"] 30-Jul-2024 16:17:27.169 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.175 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-32845"] 30-Jul-2024 16:17:27.177 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-32845"] 30-Jul-2024 16:17:27.179 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 30-Jul-2024 16:17:27.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 30-Jul-2024 16:17:27.180 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 30-Jul-2024 16:17:27.182 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 30-Jul-2024 16:17:27.182 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:27.182 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:27.195 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-43125"] 30-Jul-2024 16:17:27.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-43125"] 30-Jul-2024 16:17:27.280 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-43125"] 30-Jul-2024 16:17:27.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-43125"] 30-Jul-2024 16:17:27.288 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 30-Jul-2024 16:17:27.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 30-Jul-2024 16:17:27.292 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:27.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:27.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-41371"] 30-Jul-2024 16:17:27.324 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-41371"] 30-Jul-2024 16:17:27.327 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-41371"] 30-Jul-2024 16:17:27.332 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-41371"] 30-Jul-2024 16:17:27.333 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 30-Jul-2024 16:17:27.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 30-Jul-2024 16:17:27.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-Jul-2024 16:17:27.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.28-dev] 30-Jul-2024 16:17:27.341 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45597"] 30-Jul-2024 16:17:27.358 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45597"] 30-Jul-2024 16:17:27.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-Jul-2024 16:17:27.363 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45597"] 30-Jul-2024 16:17:27.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45597"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.017 sec Testcase: testUseContentTypeExpiresConfiguration took 0.109 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.43 sec Testcase: testConfiguration took 0.116 sec Testcase: testNullContentType took 0.042 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.039 sec Testcase: testUseDefaultConfiguration2 took 0.087 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.078 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.086 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.108 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.045 sec Testcase: testEmptyContent took 0.034 sec