Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.487 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 16 Jul 2024 10:39:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:42:16 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:16 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 16 Jul 2024 10:39:16 GMT Expires: Tue, 16 Jul 2024 10:46:17 GMT Keep-Alive: timeout=3 ETag: W/"971-1721125511684" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:40:17 GMT Content-Length: 0 Date: Tue, 16 Jul 2024 10:39:16 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:40:17 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:16 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:40:17 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:16 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:46:17 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:16 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, 16 Jul 2024 10:39:16 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:39:17 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:16 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:44:18 GMT Content-Length: 11 Date: Tue, 16 Jul 2024 10:39:18 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 16 Jul 2024 10:46:18 GMT Content-Length: 0 Date: Tue, 16 Jul 2024 10:39:18 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 16-Jul-2024 10:39:14.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 16-Jul-2024 10:39:16.177 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 16-Jul-2024 10:39:16.211 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:16.211 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:16.441 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41149"] 16-Jul-2024 10:39:16.740 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41149"] 16-Jul-2024 10:39:16.743 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:16.769 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41149"] 16-Jul-2024 10:39:16.782 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41149"] 16-Jul-2024 10:39:16.796 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 16-Jul-2024 10:39:16.799 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 16-Jul-2024 10:39:16.803 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:16.803 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:16.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44251"] 16-Jul-2024 10:39:16.988 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44251"] 16-Jul-2024 10:39:17.002 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.021 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44251"] 16-Jul-2024 10:39:17.036 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44251"] 16-Jul-2024 10:39:17.038 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 16-Jul-2024 10:39:17.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 16-Jul-2024 10:39:17.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 16-Jul-2024 10:39:17.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 16-Jul-2024 10:39:17.067 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.068 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.193 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 16-Jul-2024 10:39:17.400 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 16-Jul-2024 10:39:17.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36055"] 16-Jul-2024 10:39:17.512 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36055"] 16-Jul-2024 10:39:17.513 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.520 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36055"] 16-Jul-2024 10:39:17.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36055"] 16-Jul-2024 10:39:17.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 16-Jul-2024 10:39:17.526 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 16-Jul-2024 10:39:17.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.532 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46513"] 16-Jul-2024 10:39:17.544 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46513"] 16-Jul-2024 10:39:17.547 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.550 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46513"] 16-Jul-2024 10:39:17.555 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46513"] 16-Jul-2024 10:39:17.557 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 16-Jul-2024 10:39:17.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 16-Jul-2024 10:39:17.560 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.560 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.573 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39163"] 16-Jul-2024 10:39:17.581 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39163"] 16-Jul-2024 10:39:17.582 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.585 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39163"] 16-Jul-2024 10:39:17.591 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39163"] 16-Jul-2024 10:39:17.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 16-Jul-2024 10:39:17.594 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 16-Jul-2024 10:39:17.595 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 16-Jul-2024 10:39:17.596 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 16-Jul-2024 10:39:17.596 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.597 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.606 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39995"] 16-Jul-2024 10:39:17.617 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39995"] 16-Jul-2024 10:39:17.618 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.620 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39995"] 16-Jul-2024 10:39:17.622 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39995"] 16-Jul-2024 10:39:17.624 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 16-Jul-2024 10:39:17.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 16-Jul-2024 10:39:17.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.636 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41609"] 16-Jul-2024 10:39:17.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41609"] 16-Jul-2024 10:39:17.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.673 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41609"] 16-Jul-2024 10:39:17.675 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41609"] 16-Jul-2024 10:39:17.677 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 16-Jul-2024 10:39:17.678 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 16-Jul-2024 10:39:17.679 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.679 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.707 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34087"] 16-Jul-2024 10:39:17.769 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34087"] 16-Jul-2024 10:39:17.773 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.780 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34087"] 16-Jul-2024 10:39:17.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34087"] 16-Jul-2024 10:39:17.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 16-Jul-2024 10:39:17.787 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 16-Jul-2024 10:39:17.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.793 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-45655"] 16-Jul-2024 10:39:17.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-45655"] 16-Jul-2024 10:39:17.815 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-45655"] 16-Jul-2024 10:39:17.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-45655"] 16-Jul-2024 10:39:17.829 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 16-Jul-2024 10:39:17.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 16-Jul-2024 10:39:17.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 16-Jul-2024 10:39:17.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 16-Jul-2024 10:39:17.833 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.833 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40877"] 16-Jul-2024 10:39:17.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40877"] 16-Jul-2024 10:39:17.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:17.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40877"] 16-Jul-2024 10:39:17.914 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40877"] 16-Jul-2024 10:39:17.916 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 16-Jul-2024 10:39:17.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 16-Jul-2024 10:39:17.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:17.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:17.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33203"] 16-Jul-2024 10:39:18.054 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33203"] 16-Jul-2024 10:39:18.057 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:18.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33203"] 16-Jul-2024 10:39:18.071 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33203"] 16-Jul-2024 10:39:18.074 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 16-Jul-2024 10:39:18.078 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 16-Jul-2024 10:39:18.080 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 16-Jul-2024 10:39:18.081 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 16-Jul-2024 10:39:18.098 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-34659"] 16-Jul-2024 10:39:18.164 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-34659"] 16-Jul-2024 10:39:18.164 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 16-Jul-2024 10:39:18.166 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-34659"] 16-Jul-2024 10:39:18.170 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-34659"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.017 sec Testcase: testUseContentTypeExpiresConfiguration took 0.241 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.482 sec Testcase: testConfiguration took 0.033 sec Testcase: testNullContentType took 0.035 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.03 sec Testcase: testUseDefaultConfiguration2 took 0.052 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.109 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.043 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.085 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.156 sec Testcase: testEmptyContent took 0.097 sec