Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.402 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 06 Feb 2024 17:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:09:09 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06:09 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 06 Feb 2024 17:06:09 GMT Expires: Tue, 06 Feb 2024 17:13:10 GMT Keep-Alive: timeout=3 ETag: W/"971-1707238579589" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:07:10 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 17:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:07:10 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:07:10 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:13:10 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06: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: Tue, 06 Feb 2024 17:06:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:06:10 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:11:10 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 17:06:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 17:13:11 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 17:06:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Feb-2024 17:06:08.206 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Feb-2024 17:06:08.979 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Feb-2024 17:06:09.085 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:09.086 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:09.368 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43443"] 06-Feb-2024 17:06:09.592 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43443"] 06-Feb-2024 17:06:09.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:09.659 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43443"] 06-Feb-2024 17:06:09.671 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43443"] 06-Feb-2024 17:06:09.692 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Feb-2024 17:06:09.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Feb-2024 17:06:09.702 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:09.706 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:09.725 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45733"] 06-Feb-2024 17:06:09.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45733"] 06-Feb-2024 17:06:09.812 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:09.825 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45733"] 06-Feb-2024 17:06:09.834 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45733"] 06-Feb-2024 17:06:09.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Feb-2024 17:06:09.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Feb-2024 17:06:09.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Feb-2024 17:06:09.854 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Feb-2024 17:06:09.855 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:09.855 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:09.907 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Feb-2024 17:06:10.134 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35107"] 06-Feb-2024 17:06:10.228 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35107"] 06-Feb-2024 17:06:10.229 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35107"] 06-Feb-2024 17:06:10.252 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35107"] 06-Feb-2024 17:06:10.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Feb-2024 17:06:10.270 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Feb-2024 17:06:10.270 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.271 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39609"] 06-Feb-2024 17:06:10.454 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39609"] 06-Feb-2024 17:06:10.461 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.469 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39609"] 06-Feb-2024 17:06:10.471 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39609"] 06-Feb-2024 17:06:10.475 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Feb-2024 17:06:10.477 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Feb-2024 17:06:10.478 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.481 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.526 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38257"] 06-Feb-2024 17:06:10.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38257"] 06-Feb-2024 17:06:10.603 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.606 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38257"] 06-Feb-2024 17:06:10.615 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38257"] 06-Feb-2024 17:06:10.618 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Feb-2024 17:06:10.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Feb-2024 17:06:10.622 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Feb-2024 17:06:10.623 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Feb-2024 17:06:10.624 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.624 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.641 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45467"] 06-Feb-2024 17:06:10.678 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45467"] 06-Feb-2024 17:06:10.683 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45467"] 06-Feb-2024 17:06:10.698 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45467"] 06-Feb-2024 17:06:10.701 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Feb-2024 17:06:10.703 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Feb-2024 17:06:10.703 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.704 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.746 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43335"] 06-Feb-2024 17:06:10.770 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43335"] 06-Feb-2024 17:06:10.772 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43335"] 06-Feb-2024 17:06:10.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43335"] 06-Feb-2024 17:06:10.782 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Feb-2024 17:06:10.784 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Feb-2024 17:06:10.784 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.784 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42573"] 06-Feb-2024 17:06:10.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42573"] 06-Feb-2024 17:06:10.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.823 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42573"] 06-Feb-2024 17:06:10.833 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42573"] 06-Feb-2024 17:06:10.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Feb-2024 17:06:10.840 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Feb-2024 17:06:10.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.861 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-37433"] 06-Feb-2024 17:06:10.871 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-37433"] 06-Feb-2024 17:06:10.874 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.876 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-37433"] 06-Feb-2024 17:06:10.880 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-37433"] 06-Feb-2024 17:06:10.882 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Feb-2024 17:06:10.883 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Feb-2024 17:06:10.883 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Feb-2024 17:06:10.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Feb-2024 17:06:10.886 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.886 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.892 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-37079"] 06-Feb-2024 17:06:10.911 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-37079"] 06-Feb-2024 17:06:10.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-37079"] 06-Feb-2024 17:06:10.932 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-37079"] 06-Feb-2024 17:06:10.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Feb-2024 17:06:10.937 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Feb-2024 17:06:10.938 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.938 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:10.947 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33257"] 06-Feb-2024 17:06:10.965 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33257"] 06-Feb-2024 17:06:10.966 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:10.972 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33257"] 06-Feb-2024 17:06:10.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33257"] 06-Feb-2024 17:06:10.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Feb-2024 17:06:10.984 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Feb-2024 17:06:10.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 17:06:10.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 06-Feb-2024 17:06:11.008 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37277"] 06-Feb-2024 17:06:11.025 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37277"] 06-Feb-2024 17:06:11.026 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 17:06:11.028 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37277"] 06-Feb-2024 17:06:11.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37277"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.979 sec Testcase: testUseContentTypeExpiresConfiguration took 0.146 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.416 sec Testcase: testConfiguration took 0.22 sec Testcase: testNullContentType took 0.142 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.08 sec Testcase: testUseDefaultConfiguration2 took 0.081 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.054 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.045 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.052 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.047 sec Testcase: testEmptyContent took 0.052 sec