Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.111 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 19 Oct 2023 12:43:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:46:55 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 19 Oct 2023 12:43:55 GMT Expires: Thu, 19 Oct 2023 12:50:56 GMT Keep-Alive: timeout=3 ETag: W/"971-1697717488046" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:44:56 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 12:43:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:44:56 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:44:56 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:50:56 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43: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: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:43:56 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=299 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:48:56 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 12:50:56 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 12:43:55 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 19-Oct-2023 12:43:54.503 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 19-Oct-2023 12:43:55.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 19-Oct-2023 12:43:55.265 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:55.265 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:55.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45231"] 19-Oct-2023 12:43:55.626 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45231"] 19-Oct-2023 12:43:55.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:55.649 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45231"] 19-Oct-2023 12:43:55.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45231"] 19-Oct-2023 12:43:55.664 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 19-Oct-2023 12:43:55.666 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 19-Oct-2023 12:43:55.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:55.728 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:55.744 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39079"] 19-Oct-2023 12:43:55.761 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39079"] 19-Oct-2023 12:43:55.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:55.775 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39079"] 19-Oct-2023 12:43:55.776 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39079"] 19-Oct-2023 12:43:55.781 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 19-Oct-2023 12:43:55.782 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 19-Oct-2023 12:43:55.783 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 19-Oct-2023 12:43:55.796 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 19-Oct-2023 12:43:55.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:55.840 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:55.910 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 19-Oct-2023 12:43:56.005 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41565"] 19-Oct-2023 12:43:56.014 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41565"] 19-Oct-2023 12:43:56.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.021 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41565"] 19-Oct-2023 12:43:56.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41565"] 19-Oct-2023 12:43:56.026 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 19-Oct-2023 12:43:56.027 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 19-Oct-2023 12:43:56.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.052 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.057 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46657"] 19-Oct-2023 12:43:56.060 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46657"] 19-Oct-2023 12:43:56.061 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46657"] 19-Oct-2023 12:43:56.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46657"] 19-Oct-2023 12:43:56.066 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 19-Oct-2023 12:43:56.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 19-Oct-2023 12:43:56.078 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43391"] 19-Oct-2023 12:43:56.096 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43391"] 19-Oct-2023 12:43:56.098 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43391"] 19-Oct-2023 12:43:56.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43391"] 19-Oct-2023 12:43:56.104 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 19-Oct-2023 12:43:56.105 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 19-Oct-2023 12:43:56.106 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 19-Oct-2023 12:43:56.107 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 19-Oct-2023 12:43:56.120 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.120 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33589"] 19-Oct-2023 12:43:56.129 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33589"] 19-Oct-2023 12:43:56.132 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.134 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33589"] 19-Oct-2023 12:43:56.135 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33589"] 19-Oct-2023 12:43:56.143 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 19-Oct-2023 12:43:56.144 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 19-Oct-2023 12:43:56.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.162 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46757"] 19-Oct-2023 12:43:56.165 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46757"] 19-Oct-2023 12:43:56.167 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.173 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46757"] 19-Oct-2023 12:43:56.173 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46757"] 19-Oct-2023 12:43:56.175 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 19-Oct-2023 12:43:56.177 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 19-Oct-2023 12:43:56.179 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.179 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.183 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33379"] 19-Oct-2023 12:43:56.191 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33379"] 19-Oct-2023 12:43:56.191 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.193 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33379"] 19-Oct-2023 12:43:56.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33379"] 19-Oct-2023 12:43:56.196 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 19-Oct-2023 12:43:56.197 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 19-Oct-2023 12:43:56.200 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.200 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.204 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40989"] 19-Oct-2023 12:43:56.209 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40989"] 19-Oct-2023 12:43:56.212 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.214 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40989"] 19-Oct-2023 12:43:56.215 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40989"] 19-Oct-2023 12:43:56.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 19-Oct-2023 12:43:56.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 19-Oct-2023 12:43:56.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 19-Oct-2023 12:43:56.221 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 19-Oct-2023 12:43:56.233 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.233 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.237 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38995"] 19-Oct-2023 12:43:56.241 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38995"] 19-Oct-2023 12:43:56.243 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.245 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38995"] 19-Oct-2023 12:43:56.246 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38995"] 19-Oct-2023 12:43:56.248 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 19-Oct-2023 12:43:56.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 19-Oct-2023 12:43:56.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.264 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36715"] 19-Oct-2023 12:43:56.268 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36715"] 19-Oct-2023 12:43:56.269 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.270 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36715"] 19-Oct-2023 12:43:56.271 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36715"] 19-Oct-2023 12:43:56.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 19-Oct-2023 12:43:56.275 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 19-Oct-2023 12:43:56.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 12:43:56.281 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 12:43:56.285 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42599"] 19-Oct-2023 12:43:56.288 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42599"] 19-Oct-2023 12:43:56.289 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 12:43:56.291 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42599"] 19-Oct-2023 12:43:56.292 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42599"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.414 sec Testcase: testUseContentTypeExpiresConfiguration took 0.115 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.242 sec Testcase: testConfiguration took 0.04 sec Testcase: testNullContentType took 0.037 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.037 sec Testcase: testUseDefaultConfiguration2 took 0.033 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.02 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.023 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.029 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.025 sec Testcase: testEmptyContent took 0.022 sec