Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.132 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 22 Feb 2024 15:13:11 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:16:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 22 Feb 2024 15:13:12 GMT Expires: Thu, 22 Feb 2024 15:20:12 GMT Keep-Alive: timeout=3 ETag: W/"971-1708614004334" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:14:12 GMT Content-Length: 0 Date: Thu, 22 Feb 2024 15:13:12 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:14:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:14:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:20:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13: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: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:13:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:18:12 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 22 Feb 2024 15:20:12 GMT Content-Length: 0 Date: Thu, 22 Feb 2024 15:13:12 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 22-Feb-2024 15:13:10.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 22-Feb-2024 15:13:11.470 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 22-Feb-2024 15:13:11.544 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:11.545 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:11.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38633"] 22-Feb-2024 15:13:12.000 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38633"] 22-Feb-2024 15:13:12.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.028 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38633"] 22-Feb-2024 15:13:12.046 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38633"] 22-Feb-2024 15:13:12.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 22-Feb-2024 15:13:12.066 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 22-Feb-2024 15:13:12.074 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.082 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.099 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34529"] 22-Feb-2024 15:13:12.169 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34529"] 22-Feb-2024 15:13:12.170 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34529"] 22-Feb-2024 15:13:12.198 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34529"] 22-Feb-2024 15:13:12.200 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 22-Feb-2024 15:13:12.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 22-Feb-2024 15:13:12.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 22-Feb-2024 15:13:12.229 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 22-Feb-2024 15:13:12.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.369 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 22-Feb-2024 15:13:12.537 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42573"] 22-Feb-2024 15:13:12.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42573"] 22-Feb-2024 15:13:12.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.604 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42573"] 22-Feb-2024 15:13:12.609 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42573"] 22-Feb-2024 15:13:12.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 22-Feb-2024 15:13:12.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 22-Feb-2024 15:13:12.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.614 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42239"] 22-Feb-2024 15:13:12.628 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42239"] 22-Feb-2024 15:13:12.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.632 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42239"] 22-Feb-2024 15:13:12.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42239"] 22-Feb-2024 15:13:12.636 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 22-Feb-2024 15:13:12.638 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 22-Feb-2024 15:13:12.639 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.639 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.643 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39055"] 22-Feb-2024 15:13:12.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39055"] 22-Feb-2024 15:13:12.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.657 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39055"] 22-Feb-2024 15:13:12.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39055"] 22-Feb-2024 15:13:12.660 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 22-Feb-2024 15:13:12.661 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 22-Feb-2024 15:13:12.662 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 22-Feb-2024 15:13:12.663 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 22-Feb-2024 15:13:12.664 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.664 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.670 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34773"] 22-Feb-2024 15:13:12.678 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34773"] 22-Feb-2024 15:13:12.680 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.689 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34773"] 22-Feb-2024 15:13:12.691 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34773"] 22-Feb-2024 15:13:12.693 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 22-Feb-2024 15:13:12.694 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 22-Feb-2024 15:13:12.695 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.695 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.698 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45471"] 22-Feb-2024 15:13:12.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45471"] 22-Feb-2024 15:13:12.709 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.711 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45471"] 22-Feb-2024 15:13:12.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45471"] 22-Feb-2024 15:13:12.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 22-Feb-2024 15:13:12.720 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 22-Feb-2024 15:13:12.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.721 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.725 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41549"] 22-Feb-2024 15:13:12.737 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41549"] 22-Feb-2024 15:13:12.740 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.742 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41549"] 22-Feb-2024 15:13:12.746 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41549"] 22-Feb-2024 15:13:12.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 22-Feb-2024 15:13:12.750 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 22-Feb-2024 15:13:12.750 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44709"] 22-Feb-2024 15:13:12.769 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44709"] 22-Feb-2024 15:13:12.770 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.772 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44709"] 22-Feb-2024 15:13:12.775 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44709"] 22-Feb-2024 15:13:12.777 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 22-Feb-2024 15:13:12.778 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 22-Feb-2024 15:13:12.779 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 22-Feb-2024 15:13:12.780 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 22-Feb-2024 15:13:12.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.785 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-37069"] 22-Feb-2024 15:13:12.790 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-37069"] 22-Feb-2024 15:13:12.793 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.795 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-37069"] 22-Feb-2024 15:13:12.797 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-37069"] 22-Feb-2024 15:13:12.799 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 22-Feb-2024 15:13:12.800 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 22-Feb-2024 15:13:12.801 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.801 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.804 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-44623"] 22-Feb-2024 15:13:12.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-44623"] 22-Feb-2024 15:13:12.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.818 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-44623"] 22-Feb-2024 15:13:12.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-44623"] 22-Feb-2024 15:13:12.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 22-Feb-2024 15:13:12.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 22-Feb-2024 15:13:12.832 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 15:13:12.832 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 22-Feb-2024 15:13:12.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-43877"] 22-Feb-2024 15:13:12.848 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-43877"] 22-Feb-2024 15:13:12.850 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 15:13:12.852 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-43877"] 22-Feb-2024 15:13:12.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-43877"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.174 sec Testcase: testUseContentTypeExpiresConfiguration took 0.146 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.409 sec Testcase: testConfiguration took 0.026 sec Testcase: testNullContentType took 0.024 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.031 sec Testcase: testUseDefaultConfiguration2 took 0.027 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.028 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.028 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.02 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.024 sec Testcase: testEmptyContent took 0.033 sec