Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.568 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 07 Apr 2024 19:53:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:56:32 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 07 Apr 2024 19:53:32 GMT Expires: Sun, 07 Apr 2024 20:00:33 GMT Keep-Alive: timeout=3 ETag: W/"971-1712518845185" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:54:33 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 19:53:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:54:33 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:54:33 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:00:33 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 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: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:53:33 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 07 Apr 2024 19:58:33 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:00:33 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 19:53:32 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Apr-2024 19:53:31.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Apr-2024 19:53:32.233 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 07-Apr-2024 19:53:32.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:32.281 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:32.555 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45915"] 07-Apr-2024 19:53:32.773 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45915"] 07-Apr-2024 19:53:32.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:32.806 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45915"] 07-Apr-2024 19:53:32.819 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45915"] 07-Apr-2024 19:53:32.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Apr-2024 19:53:32.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 07-Apr-2024 19:53:32.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:32.829 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:32.864 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45363"] 07-Apr-2024 19:53:32.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45363"] 07-Apr-2024 19:53:32.907 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:32.913 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45363"] 07-Apr-2024 19:53:32.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45363"] 07-Apr-2024 19:53:32.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Apr-2024 19:53:32.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 07-Apr-2024 19:53:32.922 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Apr-2024 19:53:32.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 07-Apr-2024 19:53:32.937 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:32.937 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.050 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Apr-2024 19:53:33.253 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40883"] 07-Apr-2024 19:53:33.297 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40883"] 07-Apr-2024 19:53:33.300 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40883"] 07-Apr-2024 19:53:33.311 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40883"] 07-Apr-2024 19:53:33.313 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Apr-2024 19:53:33.317 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 07-Apr-2024 19:53:33.321 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.321 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.335 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44535"] 07-Apr-2024 19:53:33.381 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44535"] 07-Apr-2024 19:53:33.381 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.384 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44535"] 07-Apr-2024 19:53:33.391 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44535"] 07-Apr-2024 19:53:33.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Apr-2024 19:53:33.395 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 07-Apr-2024 19:53:33.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.396 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.413 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-41241"] 07-Apr-2024 19:53:33.425 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-41241"] 07-Apr-2024 19:53:33.426 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.428 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-41241"] 07-Apr-2024 19:53:33.432 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-41241"] 07-Apr-2024 19:53:33.433 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Apr-2024 19:53:33.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 07-Apr-2024 19:53:33.434 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Apr-2024 19:53:33.437 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 07-Apr-2024 19:53:33.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.442 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41553"] 07-Apr-2024 19:53:33.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41553"] 07-Apr-2024 19:53:33.454 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.457 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41553"] 07-Apr-2024 19:53:33.460 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41553"] 07-Apr-2024 19:53:33.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Apr-2024 19:53:33.464 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 07-Apr-2024 19:53:33.465 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.465 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.470 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36959"] 07-Apr-2024 19:53:33.494 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36959"] 07-Apr-2024 19:53:33.497 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.498 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36959"] 07-Apr-2024 19:53:33.501 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36959"] 07-Apr-2024 19:53:33.503 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Apr-2024 19:53:33.507 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 07-Apr-2024 19:53:33.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.508 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.513 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33685"] 07-Apr-2024 19:53:33.521 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33685"] 07-Apr-2024 19:53:33.522 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.524 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33685"] 07-Apr-2024 19:53:33.526 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33685"] 07-Apr-2024 19:53:33.528 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Apr-2024 19:53:33.530 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 07-Apr-2024 19:53:33.530 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.535 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40369"] 07-Apr-2024 19:53:33.542 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40369"] 07-Apr-2024 19:53:33.542 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.544 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40369"] 07-Apr-2024 19:53:33.547 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40369"] 07-Apr-2024 19:53:33.549 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Apr-2024 19:53:33.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 07-Apr-2024 19:53:33.550 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Apr-2024 19:53:33.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 07-Apr-2024 19:53:33.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.568 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44523"] 07-Apr-2024 19:53:33.582 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44523"] 07-Apr-2024 19:53:33.584 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.591 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44523"] 07-Apr-2024 19:53:33.597 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44523"] 07-Apr-2024 19:53:33.600 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Apr-2024 19:53:33.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 07-Apr-2024 19:53:33.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-46785"] 07-Apr-2024 19:53:33.627 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-46785"] 07-Apr-2024 19:53:33.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-46785"] 07-Apr-2024 19:53:33.637 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-46785"] 07-Apr-2024 19:53:33.638 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Apr-2024 19:53:33.640 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 07-Apr-2024 19:53:33.640 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 19:53:33.640 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 19:53:33.649 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37951"] 07-Apr-2024 19:53:33.660 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37951"] 07-Apr-2024 19:53:33.662 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 19:53:33.664 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37951"] 07-Apr-2024 19:53:33.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37951"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.64 sec Testcase: testUseContentTypeExpiresConfiguration took 0.092 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.392 sec Testcase: testConfiguration took 0.079 sec Testcase: testNullContentType took 0.04 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.027 sec Testcase: testUseDefaultConfiguration2 took 0.04 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.02 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.049 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.037 sec Testcase: testEmptyContent took 0.034 sec