Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.448 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 07 Feb 2024 20:09:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:12:11 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 07 Feb 2024 20:09:11 GMT Expires: Wed, 07 Feb 2024 20:16:12 GMT Keep-Alive: timeout=3 ETag: W/"971-1707335279495" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:10:12 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 20:09:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:10:12 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:10:12 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:16:12 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 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, 07 Feb 2024 20:09:11 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:09:12 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:14:12 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 20:09:11 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 20:16:12 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 20:09:12 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Feb-2024 20:09:09.795 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Feb-2024 20:09:10.865 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Feb-2024 20:09:10.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:10.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:11.231 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43985"] 07-Feb-2024 20:09:11.391 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43985"] 07-Feb-2024 20:09:11.395 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:11.424 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43985"] 07-Feb-2024 20:09:11.432 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43985"] 07-Feb-2024 20:09:11.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Feb-2024 20:09:11.458 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Feb-2024 20:09:11.592 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:11.592 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:11.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38259"] 07-Feb-2024 20:09:11.646 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38259"] 07-Feb-2024 20:09:11.647 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:11.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38259"] 07-Feb-2024 20:09:11.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38259"] 07-Feb-2024 20:09:11.654 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Feb-2024 20:09:11.671 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Feb-2024 20:09:11.672 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Feb-2024 20:09:11.694 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Feb-2024 20:09:11.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:11.829 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:11.887 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Feb-2024 20:09:12.065 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 07-Feb-2024 20:09:12.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 07-Feb-2024 20:09:12.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.081 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 07-Feb-2024 20:09:12.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34395"] 07-Feb-2024 20:09:12.086 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Feb-2024 20:09:12.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Feb-2024 20:09:12.122 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.122 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.128 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42465"] 07-Feb-2024 20:09:12.129 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42465"] 07-Feb-2024 20:09:12.130 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.132 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42465"] 07-Feb-2024 20:09:12.132 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42465"] 07-Feb-2024 20:09:12.137 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Feb-2024 20:09:12.138 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Feb-2024 20:09:12.157 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.157 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.162 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34611"] 07-Feb-2024 20:09:12.167 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34611"] 07-Feb-2024 20:09:12.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.171 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34611"] 07-Feb-2024 20:09:12.171 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34611"] 07-Feb-2024 20:09:12.187 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Feb-2024 20:09:12.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Feb-2024 20:09:12.189 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Feb-2024 20:09:12.195 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Feb-2024 20:09:12.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.218 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35445"] 07-Feb-2024 20:09:12.254 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35445"] 07-Feb-2024 20:09:12.256 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.258 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35445"] 07-Feb-2024 20:09:12.260 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35445"] 07-Feb-2024 20:09:12.266 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Feb-2024 20:09:12.270 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Feb-2024 20:09:12.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33805"] 07-Feb-2024 20:09:12.347 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33805"] 07-Feb-2024 20:09:12.348 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.350 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33805"] 07-Feb-2024 20:09:12.350 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33805"] 07-Feb-2024 20:09:12.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Feb-2024 20:09:12.363 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Feb-2024 20:09:12.378 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.378 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.398 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45971"] 07-Feb-2024 20:09:12.402 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45971"] 07-Feb-2024 20:09:12.404 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.406 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45971"] 07-Feb-2024 20:09:12.407 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45971"] 07-Feb-2024 20:09:12.425 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Feb-2024 20:09:12.427 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 07-Feb-2024 20:09:12.467 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.467 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37279"] 07-Feb-2024 20:09:12.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37279"] 07-Feb-2024 20:09:12.504 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.514 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37279"] 07-Feb-2024 20:09:12.515 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37279"] 07-Feb-2024 20:09:12.517 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Feb-2024 20:09:12.518 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 07-Feb-2024 20:09:12.519 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Feb-2024 20:09:12.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 07-Feb-2024 20:09:12.523 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.523 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.528 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45303"] 07-Feb-2024 20:09:12.531 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45303"] 07-Feb-2024 20:09:12.532 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.533 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45303"] 07-Feb-2024 20:09:12.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45303"] 07-Feb-2024 20:09:12.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Feb-2024 20:09:12.547 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 07-Feb-2024 20:09:12.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.562 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.566 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37763"] 07-Feb-2024 20:09:12.598 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37763"] 07-Feb-2024 20:09:12.600 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.607 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37763"] 07-Feb-2024 20:09:12.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37763"] 07-Feb-2024 20:09:12.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Feb-2024 20:09:12.620 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 07-Feb-2024 20:09:12.636 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 20:09:12.636 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 07-Feb-2024 20:09:12.641 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35345"] 07-Feb-2024 20:09:12.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35345"] 07-Feb-2024 20:09:12.657 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 20:09:12.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35345"] 07-Feb-2024 20:09:12.660 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35345"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.105 sec Testcase: testUseContentTypeExpiresConfiguration took 0.201 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.017 sec Testcase: testBug63909 took 0.415 sec Testcase: testConfiguration took 0.049 sec Testcase: testNullContentType took 0.049 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.075 sec Testcase: testUseDefaultConfiguration2 took 0.097 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.063 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.093 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.026 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.07 sec Testcase: testEmptyContent took 0.049 sec