Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.673 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 29 Feb 2024 13:33:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 29 Feb 2024 13:36:30 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:30 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 29 Feb 2024 13:33:30 GMT Expires: Thu, 29 Feb 2024 13:40:30 GMT Keep-Alive: timeout=3 ETag: W/"971-1709212276722" 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 13:34:30 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 13:33:30 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 13:34:30 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:30 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 13:34:31 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:30 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 13:40:31 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:30 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 13:33:31 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 29 Feb 2024 13:33:31 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:31 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 13:38:31 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 13:33:31 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 13:40:31 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 13:33:31 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 29-Feb-2024 13:33:27.520 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 29-Feb-2024 13:33:29.131 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 29-Feb-2024 13:33:29.293 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:29.297 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:29.596 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32957"] 29-Feb-2024 13:33:29.968 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32957"] 29-Feb-2024 13:33:29.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.000 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32957"] 29-Feb-2024 13:33:30.003 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32957"] 29-Feb-2024 13:33:30.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 29-Feb-2024 13:33:30.026 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 29-Feb-2024 13:33:30.152 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:30.152 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:30.240 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46239"] 29-Feb-2024 13:33:30.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46239"] 29-Feb-2024 13:33:30.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46239"] 29-Feb-2024 13:33:30.295 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46239"] 29-Feb-2024 13:33:30.302 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 29-Feb-2024 13:33:30.303 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 29-Feb-2024 13:33:30.303 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 29-Feb-2024 13:33:30.332 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 29-Feb-2024 13:33:30.354 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:30.354 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:30.531 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 29-Feb-2024 13:33:30.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40167"] 29-Feb-2024 13:33:30.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40167"] 29-Feb-2024 13:33:30.755 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40167"] 29-Feb-2024 13:33:30.765 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40167"] 29-Feb-2024 13:33:30.783 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 29-Feb-2024 13:33:30.785 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 29-Feb-2024 13:33:30.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:30.831 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:30.844 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46299"] 29-Feb-2024 13:33:30.844 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46299"] 29-Feb-2024 13:33:30.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.850 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46299"] 29-Feb-2024 13:33:30.851 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46299"] 29-Feb-2024 13:33:30.863 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 29-Feb-2024 13:33:30.865 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 29-Feb-2024 13:33:30.885 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:30.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:30.922 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35667"] 29-Feb-2024 13:33:30.929 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35667"] 29-Feb-2024 13:33:30.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35667"] 29-Feb-2024 13:33:30.939 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35667"] 29-Feb-2024 13:33:30.943 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 29-Feb-2024 13:33:30.944 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 29-Feb-2024 13:33:30.945 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 29-Feb-2024 13:33:30.947 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 29-Feb-2024 13:33:30.953 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:30.953 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:30.975 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37897"] 29-Feb-2024 13:33:30.982 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37897"] 29-Feb-2024 13:33:30.986 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:30.993 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37897"] 29-Feb-2024 13:33:30.994 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-37897"] 29-Feb-2024 13:33:30.998 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 29-Feb-2024 13:33:31.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 29-Feb-2024 13:33:31.075 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.075 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43257"] 29-Feb-2024 13:33:31.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43257"] 29-Feb-2024 13:33:31.097 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.103 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43257"] 29-Feb-2024 13:33:31.104 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43257"] 29-Feb-2024 13:33:31.110 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 29-Feb-2024 13:33:31.113 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 29-Feb-2024 13:33:31.126 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.180 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42093"] 29-Feb-2024 13:33:31.190 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42093"] 29-Feb-2024 13:33:31.191 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.195 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42093"] 29-Feb-2024 13:33:31.195 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42093"] 29-Feb-2024 13:33:31.204 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 29-Feb-2024 13:33:31.206 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 29-Feb-2024 13:33:31.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.243 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36709"] 29-Feb-2024 13:33:31.285 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36709"] 29-Feb-2024 13:33:31.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.298 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36709"] 29-Feb-2024 13:33:31.302 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36709"] 29-Feb-2024 13:33:31.306 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 29-Feb-2024 13:33:31.307 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 29-Feb-2024 13:33:31.308 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 29-Feb-2024 13:33:31.310 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 29-Feb-2024 13:33:31.355 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.386 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46027"] 29-Feb-2024 13:33:31.391 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46027"] 29-Feb-2024 13:33:31.394 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.402 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46027"] 29-Feb-2024 13:33:31.403 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46027"] 29-Feb-2024 13:33:31.412 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 29-Feb-2024 13:33:31.414 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 29-Feb-2024 13:33:31.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.444 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.478 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33835"] 29-Feb-2024 13:33:31.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33835"] 29-Feb-2024 13:33:31.506 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33835"] 29-Feb-2024 13:33:31.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33835"] 29-Feb-2024 13:33:31.520 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 29-Feb-2024 13:33:31.522 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 29-Feb-2024 13:33:31.530 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 13:33:31.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 29-Feb-2024 13:33:31.545 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42707"] 29-Feb-2024 13:33:31.553 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42707"] 29-Feb-2024 13:33:31.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 13:33:31.570 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42707"] 29-Feb-2024 13:33:31.571 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42707"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 3.03 sec Testcase: testUseContentTypeExpiresConfiguration took 0.277 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.479 sec Testcase: testConfiguration took 0.079 sec Testcase: testNullContentType took 0.08 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.054 sec Testcase: testUseDefaultConfiguration2 took 0.112 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.094 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.102 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.104 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.108 sec Testcase: testEmptyContent took 0.056 sec