Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.325 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 27 Feb 2024 15:14:22 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:17:22 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:22 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 27 Feb 2024 15:14:22 GMT Expires: Tue, 27 Feb 2024 15:21:23 GMT Keep-Alive: timeout=3 ETag: W/"971-1709046241845" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:15:23 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 15:14:22 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:15:23 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:23 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:15:23 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:23 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:21:23 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:23 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, 27 Feb 2024 15:14:23 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:14:23 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:23 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:19:24 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:14:23 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:21:24 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 15:14:23 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 27-Feb-2024 15:14:21.228 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 27-Feb-2024 15:14:21.878 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 27-Feb-2024 15:14:21.939 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:21.940 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:22.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40507"] 27-Feb-2024 15:14:22.352 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40507"] 27-Feb-2024 15:14:22.353 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:22.390 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40507"] 27-Feb-2024 15:14:22.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40507"] 27-Feb-2024 15:14:22.410 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 27-Feb-2024 15:14:22.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 27-Feb-2024 15:14:22.439 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:22.440 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:22.475 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35379"] 27-Feb-2024 15:14:22.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35379"] 27-Feb-2024 15:14:22.511 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:22.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35379"] 27-Feb-2024 15:14:22.537 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35379"] 27-Feb-2024 15:14:22.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 27-Feb-2024 15:14:22.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 27-Feb-2024 15:14:22.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 27-Feb-2024 15:14:22.562 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 27-Feb-2024 15:14:22.563 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:22.563 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:22.675 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 27-Feb-2024 15:14:22.920 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36399"] 27-Feb-2024 15:14:23.033 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36399"] 27-Feb-2024 15:14:23.058 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.073 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36399"] 27-Feb-2024 15:14:23.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36399"] 27-Feb-2024 15:14:23.094 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 27-Feb-2024 15:14:23.099 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 27-Feb-2024 15:14:23.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.100 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-32899"] 27-Feb-2024 15:14:23.231 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-32899"] 27-Feb-2024 15:14:23.234 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-32899"] 27-Feb-2024 15:14:23.247 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-32899"] 27-Feb-2024 15:14:23.257 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 27-Feb-2024 15:14:23.259 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 27-Feb-2024 15:14:23.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.304 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32869"] 27-Feb-2024 15:14:23.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32869"] 27-Feb-2024 15:14:23.394 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32869"] 27-Feb-2024 15:14:23.401 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32869"] 27-Feb-2024 15:14:23.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 27-Feb-2024 15:14:23.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 27-Feb-2024 15:14:23.405 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 27-Feb-2024 15:14:23.409 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 27-Feb-2024 15:14:23.410 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.469 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45517"] 27-Feb-2024 15:14:23.594 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45517"] 27-Feb-2024 15:14:23.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45517"] 27-Feb-2024 15:14:23.605 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45517"] 27-Feb-2024 15:14:23.612 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 27-Feb-2024 15:14:23.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 27-Feb-2024 15:14:23.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.614 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.662 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37487"] 27-Feb-2024 15:14:23.738 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37487"] 27-Feb-2024 15:14:23.739 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.745 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37487"] 27-Feb-2024 15:14:23.748 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37487"] 27-Feb-2024 15:14:23.755 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 27-Feb-2024 15:14:23.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 27-Feb-2024 15:14:23.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.758 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.782 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33923"] 27-Feb-2024 15:14:23.818 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33923"] 27-Feb-2024 15:14:23.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.826 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33923"] 27-Feb-2024 15:14:23.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33923"] 27-Feb-2024 15:14:23.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 27-Feb-2024 15:14:23.842 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 27-Feb-2024 15:14:23.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.870 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41557"] 27-Feb-2024 15:14:23.887 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41557"] 27-Feb-2024 15:14:23.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41557"] 27-Feb-2024 15:14:23.895 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41557"] 27-Feb-2024 15:14:23.904 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 27-Feb-2024 15:14:23.906 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 27-Feb-2024 15:14:23.906 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 27-Feb-2024 15:14:23.908 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 27-Feb-2024 15:14:23.909 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.909 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:23.938 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-36195"] 27-Feb-2024 15:14:23.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-36195"] 27-Feb-2024 15:14:23.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:23.978 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-36195"] 27-Feb-2024 15:14:23.981 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-36195"] 27-Feb-2024 15:14:23.983 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 27-Feb-2024 15:14:23.985 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 27-Feb-2024 15:14:23.985 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:23.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:24.012 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-44509"] 27-Feb-2024 15:14:24.031 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-44509"] 27-Feb-2024 15:14:24.046 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:24.050 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-44509"] 27-Feb-2024 15:14:24.055 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-44509"] 27-Feb-2024 15:14:24.058 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 27-Feb-2024 15:14:24.060 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 27-Feb-2024 15:14:24.061 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:14:24.061 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:14:24.101 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38179"] 27-Feb-2024 15:14:24.132 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38179"] 27-Feb-2024 15:14:24.134 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:14:24.138 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38179"] 27-Feb-2024 15:14:24.146 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38179"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.485 sec Testcase: testUseContentTypeExpiresConfiguration took 0.134 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.547 sec Testcase: testConfiguration took 0.163 sec Testcase: testNullContentType took 0.147 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.206 sec Testcase: testUseDefaultConfiguration2 took 0.139 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.083 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.071 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.077 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.074 sec Testcase: testEmptyContent took 0.091 sec