Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.581 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 28 Feb 2024 16:24:24 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:27:24 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 28 Feb 2024 16:24:24 GMT Expires: Wed, 28 Feb 2024 16:31:24 GMT Keep-Alive: timeout=3 ETag: W/"971-1709135741456" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:25:24 GMT Content-Length: 0 Date: Wed, 28 Feb 2024 16:24:24 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:25:24 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:25:24 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:31:24 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 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: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:24:25 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:29:25 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Wed, 28 Feb 2024 16:31:25 GMT Content-Length: 0 Date: Wed, 28 Feb 2024 16:24:24 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 28-Feb-2024 16:24:22.353 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 28-Feb-2024 16:24:23.512 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 28-Feb-2024 16:24:23.704 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:23.707 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:23.948 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40981"] 28-Feb-2024 16:24:24.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40981"] 28-Feb-2024 16:24:24.287 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.319 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40981"] 28-Feb-2024 16:24:24.327 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40981"] 28-Feb-2024 16:24:24.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 28-Feb-2024 16:24:24.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 28-Feb-2024 16:24:24.404 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.404 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.416 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41645"] 28-Feb-2024 16:24:24.448 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41645"] 28-Feb-2024 16:24:24.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41645"] 28-Feb-2024 16:24:24.455 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41645"] 28-Feb-2024 16:24:24.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 28-Feb-2024 16:24:24.461 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 28-Feb-2024 16:24:24.467 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 28-Feb-2024 16:24:24.474 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 28-Feb-2024 16:24:24.516 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.516 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.584 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 28-Feb-2024 16:24:24.756 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41433"] 28-Feb-2024 16:24:24.768 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41433"] 28-Feb-2024 16:24:24.769 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41433"] 28-Feb-2024 16:24:24.777 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41433"] 28-Feb-2024 16:24:24.794 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 28-Feb-2024 16:24:24.796 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 28-Feb-2024 16:24:24.809 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.810 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.829 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35525"] 28-Feb-2024 16:24:24.831 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35525"] 28-Feb-2024 16:24:24.834 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.836 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35525"] 28-Feb-2024 16:24:24.837 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35525"] 28-Feb-2024 16:24:24.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 28-Feb-2024 16:24:24.841 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 28-Feb-2024 16:24:24.858 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.858 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.865 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39321"] 28-Feb-2024 16:24:24.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39321"] 28-Feb-2024 16:24:24.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.874 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39321"] 28-Feb-2024 16:24:24.875 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39321"] 28-Feb-2024 16:24:24.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 28-Feb-2024 16:24:24.882 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 28-Feb-2024 16:24:24.883 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 28-Feb-2024 16:24:24.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 28-Feb-2024 16:24:24.887 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.887 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.892 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44603"] 28-Feb-2024 16:24:24.901 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44603"] 28-Feb-2024 16:24:24.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.905 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44603"] 28-Feb-2024 16:24:24.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44603"] 28-Feb-2024 16:24:24.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 28-Feb-2024 16:24:24.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 28-Feb-2024 16:24:24.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43969"] 28-Feb-2024 16:24:24.927 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43969"] 28-Feb-2024 16:24:24.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43969"] 28-Feb-2024 16:24:24.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43969"] 28-Feb-2024 16:24:24.935 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 28-Feb-2024 16:24:24.937 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 28-Feb-2024 16:24:24.951 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:24.951 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:24.956 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42447"] 28-Feb-2024 16:24:24.961 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42447"] 28-Feb-2024 16:24:24.963 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:24.965 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42447"] 28-Feb-2024 16:24:24.965 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42447"] 28-Feb-2024 16:24:24.969 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 28-Feb-2024 16:24:24.971 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 28-Feb-2024 16:24:25.082 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:25.083 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:25.089 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39483"] 28-Feb-2024 16:24:25.098 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39483"] 28-Feb-2024 16:24:25.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:25.101 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39483"] 28-Feb-2024 16:24:25.102 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39483"] 28-Feb-2024 16:24:25.109 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 28-Feb-2024 16:24:25.109 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 28-Feb-2024 16:24:25.110 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 28-Feb-2024 16:24:25.112 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 28-Feb-2024 16:24:25.172 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:25.172 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:25.178 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33063"] 28-Feb-2024 16:24:25.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33063"] 28-Feb-2024 16:24:25.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:25.186 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33063"] 28-Feb-2024 16:24:25.187 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33063"] 28-Feb-2024 16:24:25.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 28-Feb-2024 16:24:25.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 28-Feb-2024 16:24:25.245 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:25.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:25.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38751"] 28-Feb-2024 16:24:25.264 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38751"] 28-Feb-2024 16:24:25.266 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:25.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38751"] 28-Feb-2024 16:24:25.269 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38751"] 28-Feb-2024 16:24:25.279 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 28-Feb-2024 16:24:25.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 28-Feb-2024 16:24:25.313 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 16:24:25.314 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 28-Feb-2024 16:24:25.318 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44639"] 28-Feb-2024 16:24:25.322 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44639"] 28-Feb-2024 16:24:25.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 16:24:25.326 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44639"] 28-Feb-2024 16:24:25.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44639"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.493 sec Testcase: testUseContentTypeExpiresConfiguration took 0.117 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.007 sec Testcase: testBug63909 took 0.317 sec Testcase: testConfiguration took 0.055 sec Testcase: testNullContentType took 0.041 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.025 sec Testcase: testUseDefaultConfiguration2 took 0.028 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.034 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.139 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.083 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.082 sec Testcase: testEmptyContent took 0.051 sec