Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.201 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 24 Jan 2024 21:18:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:21:35 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 24 Jan 2024 21:18:35 GMT Expires: Wed, 24 Jan 2024 21:25:35 GMT Keep-Alive: timeout=3 ETag: W/"971-1706129577127" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:19:35 GMT Content-Length: 0 Date: Wed, 24 Jan 2024 21:18:35 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:19:35 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:19:35 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:25:35 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 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, 24 Jan 2024 21:18:35 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:18:36 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:23:36 GMT Content-Length: 11 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 24 Jan 2024 21:25:36 GMT Content-Length: 0 Date: Wed, 24 Jan 2024 21:18:35 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 24-Jan-2024 21:18:33.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 24-Jan-2024 21:18:34.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 24-Jan-2024 21:18:34.821 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:34.821 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:34.982 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46141"] 24-Jan-2024 21:18:35.117 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46141"] 24-Jan-2024 21:18:35.119 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.143 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46141"] 24-Jan-2024 21:18:35.145 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46141"] 24-Jan-2024 21:18:35.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 24-Jan-2024 21:18:35.174 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 24-Jan-2024 21:18:35.231 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.232 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.238 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39321"] 24-Jan-2024 21:18:35.256 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39321"] 24-Jan-2024 21:18:35.258 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.261 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39321"] 24-Jan-2024 21:18:35.264 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39321"] 24-Jan-2024 21:18:35.269 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 24-Jan-2024 21:18:35.270 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 24-Jan-2024 21:18:35.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 24-Jan-2024 21:18:35.283 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 24-Jan-2024 21:18:35.342 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.342 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.407 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 24-Jan-2024 21:18:35.557 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-32985"] 24-Jan-2024 21:18:35.567 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-32985"] 24-Jan-2024 21:18:35.570 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.576 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-32985"] 24-Jan-2024 21:18:35.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-32985"] 24-Jan-2024 21:18:35.604 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 24-Jan-2024 21:18:35.606 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 24-Jan-2024 21:18:35.637 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.637 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.657 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33913"] 24-Jan-2024 21:18:35.671 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33913"] 24-Jan-2024 21:18:35.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.674 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33913"] 24-Jan-2024 21:18:35.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33913"] 24-Jan-2024 21:18:35.680 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 24-Jan-2024 21:18:35.682 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 24-Jan-2024 21:18:35.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.745 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34935"] 24-Jan-2024 21:18:35.753 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34935"] 24-Jan-2024 21:18:35.756 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34935"] 24-Jan-2024 21:18:35.759 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34935"] 24-Jan-2024 21:18:35.762 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 24-Jan-2024 21:18:35.763 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 24-Jan-2024 21:18:35.764 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 24-Jan-2024 21:18:35.765 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 24-Jan-2024 21:18:35.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.788 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33177"] 24-Jan-2024 21:18:35.796 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33177"] 24-Jan-2024 21:18:35.806 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33177"] 24-Jan-2024 21:18:35.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33177"] 24-Jan-2024 21:18:35.818 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 24-Jan-2024 21:18:35.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 24-Jan-2024 21:18:35.834 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.834 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.839 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39077"] 24-Jan-2024 21:18:35.844 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39077"] 24-Jan-2024 21:18:35.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39077"] 24-Jan-2024 21:18:35.847 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39077"] 24-Jan-2024 21:18:35.852 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 24-Jan-2024 21:18:35.853 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 24-Jan-2024 21:18:35.875 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.886 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42123"] 24-Jan-2024 21:18:35.896 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42123"] 24-Jan-2024 21:18:35.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.898 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42123"] 24-Jan-2024 21:18:35.899 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42123"] 24-Jan-2024 21:18:35.902 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 24-Jan-2024 21:18:35.903 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 24-Jan-2024 21:18:35.914 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.914 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:35.924 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39247"] 24-Jan-2024 21:18:35.932 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39247"] 24-Jan-2024 21:18:35.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:35.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39247"] 24-Jan-2024 21:18:35.936 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39247"] 24-Jan-2024 21:18:35.949 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 24-Jan-2024 21:18:35.950 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 24-Jan-2024 21:18:35.951 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 24-Jan-2024 21:18:35.954 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 24-Jan-2024 21:18:35.995 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:35.995 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:36.000 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36497"] 24-Jan-2024 21:18:36.004 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36497"] 24-Jan-2024 21:18:36.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:36.008 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36497"] 24-Jan-2024 21:18:36.014 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36497"] 24-Jan-2024 21:18:36.016 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 24-Jan-2024 21:18:36.018 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 24-Jan-2024 21:18:36.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:36.022 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:36.028 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40711"] 24-Jan-2024 21:18:36.034 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40711"] 24-Jan-2024 21:18:36.037 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:36.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40711"] 24-Jan-2024 21:18:36.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40711"] 24-Jan-2024 21:18:36.043 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 24-Jan-2024 21:18:36.045 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 24-Jan-2024 21:18:36.139 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 21:18:36.139 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 24-Jan-2024 21:18:36.147 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40909"] 24-Jan-2024 21:18:36.158 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40909"] 24-Jan-2024 21:18:36.161 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 21:18:36.162 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40909"] 24-Jan-2024 21:18:36.163 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40909"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.075 sec Testcase: testUseContentTypeExpiresConfiguration took 0.111 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.334 sec Testcase: testConfiguration took 0.076 sec Testcase: testNullContentType took 0.082 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.052 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.05 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.065 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.027 sec Testcase: testEmptyContent took 0.13 sec