Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.087 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 17 Oct 2023 17:54:40 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:57:40 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 17 Oct 2023 17:54:40 GMT Expires: Tue, 17 Oct 2023 18:01:41 GMT Keep-Alive: timeout=3 ETag: W/"971-1697564688081" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:55:41 GMT Content-Length: 0 Date: Tue, 17 Oct 2023 17:54:40 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:55:41 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:55:41 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 17 Oct 2023 18:01:41 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 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, 17 Oct 2023 17:54:40 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:54:41 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 17 Oct 2023 17:59:41 GMT Content-Length: 11 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 17 Oct 2023 18:01:41 GMT Content-Length: 0 Date: Tue, 17 Oct 2023 17:54:40 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 17-Oct-2023 17:54:39.642 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 17-Oct-2023 17:54:40.376 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 17-Oct-2023 17:54:40.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:40.444 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:40.585 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43637"] 17-Oct-2023 17:54:40.700 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43637"] 17-Oct-2023 17:54:40.709 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:40.747 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43637"] 17-Oct-2023 17:54:40.754 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43637"] 17-Oct-2023 17:54:40.765 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 17-Oct-2023 17:54:40.777 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 17-Oct-2023 17:54:40.778 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:40.778 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:40.800 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38405"] 17-Oct-2023 17:54:40.880 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38405"] 17-Oct-2023 17:54:40.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:40.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38405"] 17-Oct-2023 17:54:40.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38405"] 17-Oct-2023 17:54:40.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 17-Oct-2023 17:54:40.899 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 17-Oct-2023 17:54:40.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 17-Oct-2023 17:54:40.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 17-Oct-2023 17:54:40.919 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:40.919 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.003 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 17-Oct-2023 17:54:41.177 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38499"] 17-Oct-2023 17:54:41.214 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38499"] 17-Oct-2023 17:54:41.223 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.235 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38499"] 17-Oct-2023 17:54:41.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38499"] 17-Oct-2023 17:54:41.242 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 17-Oct-2023 17:54:41.244 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 17-Oct-2023 17:54:41.244 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39279"] 17-Oct-2023 17:54:41.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39279"] 17-Oct-2023 17:54:41.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39279"] 17-Oct-2023 17:54:41.270 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39279"] 17-Oct-2023 17:54:41.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 17-Oct-2023 17:54:41.273 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 17-Oct-2023 17:54:41.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.274 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45867"] 17-Oct-2023 17:54:41.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45867"] 17-Oct-2023 17:54:41.283 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.285 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45867"] 17-Oct-2023 17:54:41.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45867"] 17-Oct-2023 17:54:41.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 17-Oct-2023 17:54:41.290 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 17-Oct-2023 17:54:41.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 17-Oct-2023 17:54:41.292 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 17-Oct-2023 17:54:41.292 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.292 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-33809"] 17-Oct-2023 17:54:41.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-33809"] 17-Oct-2023 17:54:41.308 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.310 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-33809"] 17-Oct-2023 17:54:41.318 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-33809"] 17-Oct-2023 17:54:41.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 17-Oct-2023 17:54:41.320 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 17-Oct-2023 17:54:41.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.326 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42043"] 17-Oct-2023 17:54:41.335 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42043"] 17-Oct-2023 17:54:41.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42043"] 17-Oct-2023 17:54:41.342 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42043"] 17-Oct-2023 17:54:41.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 17-Oct-2023 17:54:41.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 17-Oct-2023 17:54:41.345 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.345 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36707"] 17-Oct-2023 17:54:41.364 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36707"] 17-Oct-2023 17:54:41.367 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.369 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36707"] 17-Oct-2023 17:54:41.372 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36707"] 17-Oct-2023 17:54:41.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 17-Oct-2023 17:54:41.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 17-Oct-2023 17:54:41.375 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.375 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38325"] 17-Oct-2023 17:54:41.387 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38325"] 17-Oct-2023 17:54:41.388 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.389 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38325"] 17-Oct-2023 17:54:41.391 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38325"] 17-Oct-2023 17:54:41.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 17-Oct-2023 17:54:41.393 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 17-Oct-2023 17:54:41.393 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 17-Oct-2023 17:54:41.395 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 17-Oct-2023 17:54:41.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-38051"] 17-Oct-2023 17:54:41.418 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-38051"] 17-Oct-2023 17:54:41.418 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-38051"] 17-Oct-2023 17:54:41.422 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-38051"] 17-Oct-2023 17:54:41.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 17-Oct-2023 17:54:41.425 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 17-Oct-2023 17:54:41.426 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.426 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.430 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36105"] 17-Oct-2023 17:54:41.437 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36105"] 17-Oct-2023 17:54:41.439 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.441 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36105"] 17-Oct-2023 17:54:41.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36105"] 17-Oct-2023 17:54:41.444 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 17-Oct-2023 17:54:41.446 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 17-Oct-2023 17:54:41.446 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 17-Oct-2023 17:54:41.446 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 17-Oct-2023 17:54:41.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46605"] 17-Oct-2023 17:54:41.463 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46605"] 17-Oct-2023 17:54:41.466 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 17-Oct-2023 17:54:41.468 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46605"] 17-Oct-2023 17:54:41.470 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46605"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.33 sec Testcase: testUseContentTypeExpiresConfiguration took 0.132 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.342 sec Testcase: testConfiguration took 0.029 sec Testcase: testNullContentType took 0.017 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.028 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.019 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.03 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.021 sec Testcase: testEmptyContent took 0.027 sec