Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.419 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 09 May 2023 23:43:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 09 May 2023 23:46:38 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 09 May 2023 23:43:38 GMT Expires: Tue, 09 May 2023 23:50:39 GMT Keep-Alive: timeout=3 ETag: W/"971-1683674840745" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 09 May 2023 23:44:39 GMT Content-Length: 0 Date: Tue, 09 May 2023 23:43:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 09 May 2023 23:44:39 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 09 May 2023 23:44:39 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 09 May 2023 23:50:39 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 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, 09 May 2023 23:43:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 09 May 2023 23:43:39 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=299 Connection: keep-alive Expires: Tue, 09 May 2023 23:48:39 GMT Content-Length: 11 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 09 May 2023 23:50:39 GMT Content-Length: 0 Date: Tue, 09 May 2023 23:43:38 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 09-May-2023 23:43:37.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 09-May-2023 23:43:38.266 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 09-May-2023 23:43:38.311 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:38.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:38.594 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-45521"] 09-May-2023 23:43:38.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-45521"] 09-May-2023 23:43:38.867 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:38.887 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-45521"] 09-May-2023 23:43:38.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-45521"] 09-May-2023 23:43:38.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 09-May-2023 23:43:38.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 09-May-2023 23:43:38.905 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:38.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:38.919 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38639"] 09-May-2023 23:43:38.947 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38639"] 09-May-2023 23:43:38.950 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:38.953 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38639"] 09-May-2023 23:43:38.960 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38639"] 09-May-2023 23:43:38.963 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 09-May-2023 23:43:38.964 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 09-May-2023 23:43:38.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 09-May-2023 23:43:38.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 09-May-2023 23:43:39.000 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.001 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.062 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 09-May-2023 23:43:39.231 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38555"] 09-May-2023 23:43:39.361 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38555"] 09-May-2023 23:43:39.362 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38555"] 09-May-2023 23:43:39.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38555"] 09-May-2023 23:43:39.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 09-May-2023 23:43:39.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 09-May-2023 23:43:39.376 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.376 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43023"] 09-May-2023 23:43:39.483 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43023"] 09-May-2023 23:43:39.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43023"] 09-May-2023 23:43:39.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43023"] 09-May-2023 23:43:39.498 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 09-May-2023 23:43:39.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 09-May-2023 23:43:39.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.527 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38439"] 09-May-2023 23:43:39.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38439"] 09-May-2023 23:43:39.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38439"] 09-May-2023 23:43:39.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38439"] 09-May-2023 23:43:39.623 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 09-May-2023 23:43:39.624 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 09-May-2023 23:43:39.625 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 09-May-2023 23:43:39.626 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 09-May-2023 23:43:39.627 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.627 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.652 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35557"] 09-May-2023 23:43:39.663 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35557"] 09-May-2023 23:43:39.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.667 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35557"] 09-May-2023 23:43:39.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35557"] 09-May-2023 23:43:39.672 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 09-May-2023 23:43:39.674 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 09-May-2023 23:43:39.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.675 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.683 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45015"] 09-May-2023 23:43:39.700 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45015"] 09-May-2023 23:43:39.701 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.703 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45015"] 09-May-2023 23:43:39.706 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45015"] 09-May-2023 23:43:39.707 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 09-May-2023 23:43:39.709 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 09-May-2023 23:43:39.709 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.709 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.714 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36823"] 09-May-2023 23:43:39.721 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36823"] 09-May-2023 23:43:39.722 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.724 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36823"] 09-May-2023 23:43:39.728 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36823"] 09-May-2023 23:43:39.729 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 09-May-2023 23:43:39.730 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 09-May-2023 23:43:39.730 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33167"] 09-May-2023 23:43:39.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33167"] 09-May-2023 23:43:39.746 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.748 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33167"] 09-May-2023 23:43:39.752 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33167"] 09-May-2023 23:43:39.754 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 09-May-2023 23:43:39.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 09-May-2023 23:43:39.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 09-May-2023 23:43:39.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 09-May-2023 23:43:39.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.758 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-46831"] 09-May-2023 23:43:39.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-46831"] 09-May-2023 23:43:39.780 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.782 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-46831"] 09-May-2023 23:43:39.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-46831"] 09-May-2023 23:43:39.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 09-May-2023 23:43:39.788 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 09-May-2023 23:43:39.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.789 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.793 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43635"] 09-May-2023 23:43:39.799 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43635"] 09-May-2023 23:43:39.800 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43635"] 09-May-2023 23:43:39.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43635"] 09-May-2023 23:43:39.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 09-May-2023 23:43:39.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 09-May-2023 23:43:39.809 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-May-2023 23:43:39.809 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 09-May-2023 23:43:39.814 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41379"] 09-May-2023 23:43:39.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41379"] 09-May-2023 23:43:39.825 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-May-2023 23:43:39.827 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41379"] 09-May-2023 23:43:39.829 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41379"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.43 sec Testcase: testUseContentTypeExpiresConfiguration took 0.063 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.407 sec Testcase: testConfiguration took 0.125 sec Testcase: testNullContentType took 0.124 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.047 sec Testcase: testUseDefaultConfiguration2 took 0.035 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.021 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.024 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.031 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.021 sec Testcase: testEmptyContent took 0.023 sec