Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.445 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 29 Feb 2024 15:24:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:27:10 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 29 Feb 2024 15:24:10 GMT Expires: Thu, 29 Feb 2024 15:31:10 GMT Keep-Alive: timeout=3 ETag: W/"971-1709219474158" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:25:11 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 15:24:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:25:11 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:25:11 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:31:11 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 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: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:24:11 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:29:11 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 15:31:11 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 15:24:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 29-Feb-2024 15:24:08.349 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 29-Feb-2024 15:24:09.601 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-Feb-2024 15:24:09.655 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:09.666 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:09.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40253"] 29-Feb-2024 15:24:10.368 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40253"] 29-Feb-2024 15:24:10.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:10.416 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40253"] 29-Feb-2024 15:24:10.426 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40253"] 29-Feb-2024 15:24:10.441 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 29-Feb-2024 15:24:10.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-Feb-2024 15:24:10.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:10.469 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:10.500 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36431"] 29-Feb-2024 15:24:10.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36431"] 29-Feb-2024 15:24:10.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:10.562 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36431"] 29-Feb-2024 15:24:10.566 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36431"] 29-Feb-2024 15:24:10.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 29-Feb-2024 15:24:10.587 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 29-Feb-2024 15:24:10.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 29-Feb-2024 15:24:10.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 29-Feb-2024 15:24:10.609 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:10.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:10.709 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 29-Feb-2024 15:24:10.919 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33263"] 29-Feb-2024 15:24:10.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33263"] 29-Feb-2024 15:24:10.955 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:10.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33263"] 29-Feb-2024 15:24:10.990 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33263"] 29-Feb-2024 15:24:10.992 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 29-Feb-2024 15:24:10.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 29-Feb-2024 15:24:10.998 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:10.998 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.018 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41321"] 29-Feb-2024 15:24:11.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41321"] 29-Feb-2024 15:24:11.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.042 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41321"] 29-Feb-2024 15:24:11.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41321"] 29-Feb-2024 15:24:11.051 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 29-Feb-2024 15:24:11.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 29-Feb-2024 15:24:11.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.063 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37487"] 29-Feb-2024 15:24:11.071 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37487"] 29-Feb-2024 15:24:11.071 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.073 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37487"] 29-Feb-2024 15:24:11.076 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37487"] 29-Feb-2024 15:24:11.078 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 29-Feb-2024 15:24:11.080 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 29-Feb-2024 15:24:11.080 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 29-Feb-2024 15:24:11.082 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 29-Feb-2024 15:24:11.082 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.083 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.088 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45783"] 29-Feb-2024 15:24:11.098 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45783"] 29-Feb-2024 15:24:11.101 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.104 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45783"] 29-Feb-2024 15:24:11.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45783"] 29-Feb-2024 15:24:11.107 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 29-Feb-2024 15:24:11.109 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 29-Feb-2024 15:24:11.109 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.109 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.122 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36165"] 29-Feb-2024 15:24:11.130 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36165"] 29-Feb-2024 15:24:11.133 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.135 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36165"] 29-Feb-2024 15:24:11.138 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36165"] 29-Feb-2024 15:24:11.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 29-Feb-2024 15:24:11.141 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 29-Feb-2024 15:24:11.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44833"] 29-Feb-2024 15:24:11.161 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44833"] 29-Feb-2024 15:24:11.162 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.165 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44833"] 29-Feb-2024 15:24:11.166 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44833"] 29-Feb-2024 15:24:11.168 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 29-Feb-2024 15:24:11.171 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 29-Feb-2024 15:24:11.172 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.172 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.176 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36317"] 29-Feb-2024 15:24:11.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36317"] 29-Feb-2024 15:24:11.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.189 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36317"] 29-Feb-2024 15:24:11.193 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36317"] 29-Feb-2024 15:24:11.195 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 29-Feb-2024 15:24:11.196 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 29-Feb-2024 15:24:11.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 29-Feb-2024 15:24:11.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 29-Feb-2024 15:24:11.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35477"] 29-Feb-2024 15:24:11.221 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35477"] 29-Feb-2024 15:24:11.224 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.225 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35477"] 29-Feb-2024 15:24:11.228 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35477"] 29-Feb-2024 15:24:11.230 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 29-Feb-2024 15:24:11.231 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 29-Feb-2024 15:24:11.235 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.235 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.244 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37751"] 29-Feb-2024 15:24:11.259 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37751"] 29-Feb-2024 15:24:11.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.262 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37751"] 29-Feb-2024 15:24:11.266 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37751"] 29-Feb-2024 15:24:11.268 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 29-Feb-2024 15:24:11.272 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 29-Feb-2024 15:24:11.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 15:24:11.274 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 29-Feb-2024 15:24:11.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37913"] 29-Feb-2024 15:24:11.305 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37913"] 29-Feb-2024 15:24:11.306 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 15:24:11.309 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37913"] 29-Feb-2024 15:24:11.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37913"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.501 sec Testcase: testUseContentTypeExpiresConfiguration took 0.129 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.018 sec Testcase: testBug63909 took 0.399 sec Testcase: testConfiguration took 0.059 sec Testcase: testNullContentType took 0.026 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.027 sec Testcase: testUseDefaultConfiguration2 took 0.032 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.029 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.027 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.033 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.038 sec Testcase: testEmptyContent took 0.048 sec