Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.84 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 21 Feb 2024 11:54:54 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:57:54 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:54 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 21 Feb 2024 11:54:54 GMT Expires: Wed, 21 Feb 2024 12:01:54 GMT Keep-Alive: timeout=3 ETag: W/"971-1708515712728" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:55:55 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 11:54:54 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:55:55 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:55:55 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 21 Feb 2024 12:01:55 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:55 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, 21 Feb 2024 11:54:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:54:55 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 21 Feb 2024 11:59:55 GMT Content-Length: 11 Date: Wed, 21 Feb 2024 11:54:55 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 21 Feb 2024 12:01:55 GMT Content-Length: 0 Date: Wed, 21 Feb 2024 11:54:55 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 21-Feb-2024 11:54:52.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 21-Feb-2024 11:54:53.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 21-Feb-2024 11:54:53.546 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:53.550 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:53.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45283"] 21-Feb-2024 11:54:54.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45283"] 21-Feb-2024 11:54:54.220 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:54.248 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45283"] 21-Feb-2024 11:54:54.253 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45283"] 21-Feb-2024 11:54:54.261 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 21-Feb-2024 11:54:54.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 21-Feb-2024 11:54:54.280 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:54.280 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:54.297 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33421"] 21-Feb-2024 11:54:54.356 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33421"] 21-Feb-2024 11:54:54.357 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:54.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33421"] 21-Feb-2024 11:54:54.375 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33421"] 21-Feb-2024 11:54:54.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 21-Feb-2024 11:54:54.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 21-Feb-2024 11:54:54.384 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 21-Feb-2024 11:54:54.400 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 21-Feb-2024 11:54:54.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:54.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:54.544 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 21-Feb-2024 11:54:54.779 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36727"] 21-Feb-2024 11:54:54.837 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36727"] 21-Feb-2024 11:54:54.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:54.851 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36727"] 21-Feb-2024 11:54:54.861 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36727"] 21-Feb-2024 11:54:54.875 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 21-Feb-2024 11:54:54.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 21-Feb-2024 11:54:54.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:54.885 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:54.898 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35893"] 21-Feb-2024 11:54:55.013 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35893"] 21-Feb-2024 11:54:55.013 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35893"] 21-Feb-2024 11:54:55.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35893"] 21-Feb-2024 11:54:55.021 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 21-Feb-2024 11:54:55.022 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 21-Feb-2024 11:54:55.023 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.038 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38841"] 21-Feb-2024 11:54:55.184 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38841"] 21-Feb-2024 11:54:55.187 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.190 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38841"] 21-Feb-2024 11:54:55.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38841"] 21-Feb-2024 11:54:55.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 21-Feb-2024 11:54:55.197 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 21-Feb-2024 11:54:55.199 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 21-Feb-2024 11:54:55.202 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 21-Feb-2024 11:54:55.203 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.206 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.236 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33257"] 21-Feb-2024 11:54:55.348 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33257"] 21-Feb-2024 11:54:55.351 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33257"] 21-Feb-2024 11:54:55.362 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33257"] 21-Feb-2024 11:54:55.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 21-Feb-2024 11:54:55.372 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 21-Feb-2024 11:54:55.373 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.374 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.401 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42525"] 21-Feb-2024 11:54:55.464 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42525"] 21-Feb-2024 11:54:55.468 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.473 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42525"] 21-Feb-2024 11:54:55.476 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42525"] 21-Feb-2024 11:54:55.478 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 21-Feb-2024 11:54:55.479 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 21-Feb-2024 11:54:55.480 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.480 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.484 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45467"] 21-Feb-2024 11:54:55.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45467"] 21-Feb-2024 11:54:55.495 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.496 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45467"] 21-Feb-2024 11:54:55.498 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45467"] 21-Feb-2024 11:54:55.499 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 21-Feb-2024 11:54:55.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 21-Feb-2024 11:54:55.502 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.502 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.506 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41993"] 21-Feb-2024 11:54:55.516 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41993"] 21-Feb-2024 11:54:55.519 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.521 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41993"] 21-Feb-2024 11:54:55.528 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41993"] 21-Feb-2024 11:54:55.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 21-Feb-2024 11:54:55.531 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 21-Feb-2024 11:54:55.532 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 21-Feb-2024 11:54:55.534 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 21-Feb-2024 11:54:55.534 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.535 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.546 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44051"] 21-Feb-2024 11:54:55.556 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44051"] 21-Feb-2024 11:54:55.559 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.565 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44051"] 21-Feb-2024 11:54:55.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44051"] 21-Feb-2024 11:54:55.573 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 21-Feb-2024 11:54:55.575 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 21-Feb-2024 11:54:55.576 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.580 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33611"] 21-Feb-2024 11:54:55.593 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33611"] 21-Feb-2024 11:54:55.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.598 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33611"] 21-Feb-2024 11:54:55.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33611"] 21-Feb-2024 11:54:55.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 21-Feb-2024 11:54:55.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 21-Feb-2024 11:54:55.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 21-Feb-2024 11:54:55.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 21-Feb-2024 11:54:55.610 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37157"] 21-Feb-2024 11:54:55.624 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37157"] 21-Feb-2024 11:54:55.626 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 21-Feb-2024 11:54:55.629 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37157"] 21-Feb-2024 11:54:55.630 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37157"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.35 sec Testcase: testUseContentTypeExpiresConfiguration took 0.118 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.492 sec Testcase: testConfiguration took 0.145 sec Testcase: testNullContentType took 0.176 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.167 sec Testcase: testUseDefaultConfiguration2 took 0.112 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.022 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.031 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.041 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.03 sec Testcase: testEmptyContent took 0.028 sec