Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.604 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 03 May 2024 09:17:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 03 May 2024 09:20:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 03 May 2024 09:17:12 GMT Expires: Fri, 03 May 2024 09:24:12 GMT Keep-Alive: timeout=3 ETag: W/"971-1714727081994" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:18:12 GMT Content-Length: 0 Date: Fri, 03 May 2024 09:17:12 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:18:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:18:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 09:24:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 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: Fri, 03 May 2024 09:17:12 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 03 May 2024 09:17:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 03 May 2024 09:22:12 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 09:24:12 GMT Content-Length: 0 Date: Fri, 03 May 2024 09:17:12 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-May-2024 09:17:10.439 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-May-2024 09:17:11.303 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-May-2024 09:17:11.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:11.336 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:11.576 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38623"] 03-May-2024 09:17:11.825 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38623"] 03-May-2024 09:17:11.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:11.875 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38623"] 03-May-2024 09:17:11.881 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38623"] 03-May-2024 09:17:11.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-May-2024 09:17:11.902 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-May-2024 09:17:11.903 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:11.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:11.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-32965"] 03-May-2024 09:17:12.065 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-32965"] 03-May-2024 09:17:12.067 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.071 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-32965"] 03-May-2024 09:17:12.075 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-32965"] 03-May-2024 09:17:12.077 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-May-2024 09:17:12.083 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-May-2024 09:17:12.089 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-May-2024 09:17:12.105 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-May-2024 09:17:12.109 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.110 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.247 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-May-2024 09:17:12.380 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36167"] 03-May-2024 09:17:12.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36167"] 03-May-2024 09:17:12.412 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.424 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36167"] 03-May-2024 09:17:12.437 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36167"] 03-May-2024 09:17:12.439 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-May-2024 09:17:12.441 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-May-2024 09:17:12.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.446 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34725"] 03-May-2024 09:17:12.449 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34725"] 03-May-2024 09:17:12.449 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.453 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34725"] 03-May-2024 09:17:12.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34725"] 03-May-2024 09:17:12.467 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-May-2024 09:17:12.468 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-May-2024 09:17:12.469 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.469 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.481 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34921"] 03-May-2024 09:17:12.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34921"] 03-May-2024 09:17:12.510 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.513 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34921"] 03-May-2024 09:17:12.516 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34921"] 03-May-2024 09:17:12.518 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-May-2024 09:17:12.518 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-May-2024 09:17:12.519 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-May-2024 09:17:12.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-May-2024 09:17:12.521 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.521 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45997"] 03-May-2024 09:17:12.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45997"] 03-May-2024 09:17:12.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.556 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45997"] 03-May-2024 09:17:12.559 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45997"] 03-May-2024 09:17:12.560 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-May-2024 09:17:12.562 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-May-2024 09:17:12.562 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.562 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46555"] 03-May-2024 09:17:12.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46555"] 03-May-2024 09:17:12.592 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.594 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46555"] 03-May-2024 09:17:12.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46555"] 03-May-2024 09:17:12.598 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-May-2024 09:17:12.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-May-2024 09:17:12.600 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.600 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-35635"] 03-May-2024 09:17:12.609 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-35635"] 03-May-2024 09:17:12.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.611 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-35635"] 03-May-2024 09:17:12.613 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-35635"] 03-May-2024 09:17:12.614 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-May-2024 09:17:12.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 03-May-2024 09:17:12.615 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.615 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.619 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41971"] 03-May-2024 09:17:12.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41971"] 03-May-2024 09:17:12.651 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.654 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41971"] 03-May-2024 09:17:12.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41971"] 03-May-2024 09:17:12.661 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-May-2024 09:17:12.661 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 03-May-2024 09:17:12.662 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-May-2024 09:17:12.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 03-May-2024 09:17:12.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.668 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42903"] 03-May-2024 09:17:12.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42903"] 03-May-2024 09:17:12.685 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42903"] 03-May-2024 09:17:12.691 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42903"] 03-May-2024 09:17:12.693 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-May-2024 09:17:12.694 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 03-May-2024 09:17:12.699 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43193"] 03-May-2024 09:17:12.712 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43193"] 03-May-2024 09:17:12.715 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43193"] 03-May-2024 09:17:12.722 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43193"] 03-May-2024 09:17:12.724 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-May-2024 09:17:12.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 03-May-2024 09:17:12.726 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:17:12.726 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:17:12.738 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33437"] 03-May-2024 09:17:12.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33437"] 03-May-2024 09:17:12.749 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:17:12.751 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33437"] 03-May-2024 09:17:12.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33437"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.672 sec Testcase: testUseContentTypeExpiresConfiguration took 0.183 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.01 sec Testcase: testBug63909 took 0.352 sec Testcase: testConfiguration took 0.027 sec Testcase: testNullContentType took 0.05 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.041 sec Testcase: testUseDefaultConfiguration2 took 0.037 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.016 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.046 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.03 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.03 sec Testcase: testEmptyContent took 0.032 sec