Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.484 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 20 Feb 2024 18:34:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:37:14 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34:14 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 20 Feb 2024 18:34:14 GMT Expires: Tue, 20 Feb 2024 18:41:15 GMT Keep-Alive: timeout=3 ETag: W/"971-1708452724583" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:35:15 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 18:34:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:35:15 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:35:15 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34:15 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:41:15 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34: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: Tue, 20 Feb 2024 18:34:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:34:15 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:39:15 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 18:34:15 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Feb 2024 18:41:16 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 18:34:15 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 20-Feb-2024 18:34:12.151 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 20-Feb-2024 18:34:13.348 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Feb-2024 18:34:13.583 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:13.583 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:13.920 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42213"] 20-Feb-2024 18:34:14.256 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42213"] 20-Feb-2024 18:34:14.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:14.304 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42213"] 20-Feb-2024 18:34:14.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42213"] 20-Feb-2024 18:34:14.329 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 20-Feb-2024 18:34:14.359 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Feb-2024 18:34:14.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:14.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:14.582 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46581"] 20-Feb-2024 18:34:14.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46581"] 20-Feb-2024 18:34:14.597 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:14.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46581"] 20-Feb-2024 18:34:14.602 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46581"] 20-Feb-2024 18:34:14.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 20-Feb-2024 18:34:14.610 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Feb-2024 18:34:14.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 20-Feb-2024 18:34:14.640 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Feb-2024 18:34:14.671 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:14.672 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:14.810 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Feb-2024 18:34:15.167 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39129"] 20-Feb-2024 18:34:15.190 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39129"] 20-Feb-2024 18:34:15.190 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39129"] 20-Feb-2024 18:34:15.217 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39129"] 20-Feb-2024 18:34:15.222 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 20-Feb-2024 18:34:15.225 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Feb-2024 18:34:15.274 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.274 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.297 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40685"] 20-Feb-2024 18:34:15.302 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40685"] 20-Feb-2024 18:34:15.304 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.313 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40685"] 20-Feb-2024 18:34:15.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40685"] 20-Feb-2024 18:34:15.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 20-Feb-2024 18:34:15.332 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Feb-2024 18:34:15.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43217"] 20-Feb-2024 18:34:15.464 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43217"] 20-Feb-2024 18:34:15.467 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43217"] 20-Feb-2024 18:34:15.472 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43217"] 20-Feb-2024 18:34:15.481 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 20-Feb-2024 18:34:15.482 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Feb-2024 18:34:15.486 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 20-Feb-2024 18:34:15.488 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Feb-2024 18:34:15.504 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.504 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.525 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36563"] 20-Feb-2024 18:34:15.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36563"] 20-Feb-2024 18:34:15.539 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.545 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36563"] 20-Feb-2024 18:34:15.546 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36563"] 20-Feb-2024 18:34:15.554 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 20-Feb-2024 18:34:15.556 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 20-Feb-2024 18:34:15.593 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.593 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.628 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36963"] 20-Feb-2024 18:34:15.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36963"] 20-Feb-2024 18:34:15.651 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.658 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36963"] 20-Feb-2024 18:34:15.661 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36963"] 20-Feb-2024 18:34:15.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 20-Feb-2024 18:34:15.670 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 20-Feb-2024 18:34:15.686 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.687 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.727 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37203"] 20-Feb-2024 18:34:15.732 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37203"] 20-Feb-2024 18:34:15.735 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.740 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37203"] 20-Feb-2024 18:34:15.741 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37203"] 20-Feb-2024 18:34:15.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 20-Feb-2024 18:34:15.755 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 20-Feb-2024 18:34:15.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.805 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36095"] 20-Feb-2024 18:34:15.858 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36095"] 20-Feb-2024 18:34:15.861 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.864 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36095"] 20-Feb-2024 18:34:15.864 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36095"] 20-Feb-2024 18:34:15.870 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 20-Feb-2024 18:34:15.870 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 20-Feb-2024 18:34:15.872 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 20-Feb-2024 18:34:15.873 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 20-Feb-2024 18:34:15.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.898 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46715"] 20-Feb-2024 18:34:15.902 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46715"] 20-Feb-2024 18:34:15.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.905 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46715"] 20-Feb-2024 18:34:15.907 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46715"] 20-Feb-2024 18:34:15.913 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 20-Feb-2024 18:34:15.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 20-Feb-2024 18:34:15.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:15.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 20-Feb-2024 18:34:15.934 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 20-Feb-2024 18:34:15.934 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:15.937 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 20-Feb-2024 18:34:15.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43135"] 20-Feb-2024 18:34:15.944 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 20-Feb-2024 18:34:15.945 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 20-Feb-2024 18:34:15.980 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 18:34:15.980 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 20-Feb-2024 18:34:16.022 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35983"] 20-Feb-2024 18:34:16.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35983"] 20-Feb-2024 18:34:16.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 18:34:16.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35983"] 20-Feb-2024 18:34:16.053 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35983"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.659 sec Testcase: testUseContentTypeExpiresConfiguration took 0.279 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.612 sec Testcase: testConfiguration took 0.107 sec Testcase: testNullContentType took 0.151 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.071 sec Testcase: testUseDefaultConfiguration2 took 0.112 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.085 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.116 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.041 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.03 sec Testcase: testEmptyContent took 0.113 sec