Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.851 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 08 Feb 2024 23:00:39 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:03:40 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:40 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 08 Feb 2024 23:00:40 GMT Expires: Thu, 08 Feb 2024 23:07:40 GMT Keep-Alive: timeout=3 ETag: W/"971-1707432465238" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:01:40 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 23:00:40 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:01:40 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:01:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:07:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:41 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, 08 Feb 2024 23:00:41 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:00:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:41 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:05:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:00:41 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:07:41 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 23:00:41 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Feb-2024 23:00:38.778 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 08-Feb-2024 23:00:39.505 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 08-Feb-2024 23:00:39.581 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:39.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:39.751 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36379"] 08-Feb-2024 23:00:39.963 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36379"] 08-Feb-2024 23:00:39.966 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:39.996 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36379"] 08-Feb-2024 23:00:40.009 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36379"] 08-Feb-2024 23:00:40.015 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 08-Feb-2024 23:00:40.017 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 08-Feb-2024 23:00:40.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.046 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37851"] 08-Feb-2024 23:00:40.115 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37851"] 08-Feb-2024 23:00:40.119 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:40.134 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37851"] 08-Feb-2024 23:00:40.141 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37851"] 08-Feb-2024 23:00:40.143 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 08-Feb-2024 23:00:40.144 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 08-Feb-2024 23:00:40.145 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 08-Feb-2024 23:00:40.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 08-Feb-2024 23:00:40.181 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.181 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.278 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Feb-2024 23:00:40.454 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39995"] 08-Feb-2024 23:00:40.572 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39995"] 08-Feb-2024 23:00:40.575 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:40.580 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39995"] 08-Feb-2024 23:00:40.586 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39995"] 08-Feb-2024 23:00:40.588 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 08-Feb-2024 23:00:40.589 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 08-Feb-2024 23:00:40.590 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.591 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-46737"] 08-Feb-2024 23:00:40.666 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-46737"] 08-Feb-2024 23:00:40.666 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:40.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-46737"] 08-Feb-2024 23:00:40.672 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-46737"] 08-Feb-2024 23:00:40.673 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 08-Feb-2024 23:00:40.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 08-Feb-2024 23:00:40.682 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.682 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46661"] 08-Feb-2024 23:00:40.819 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46661"] 08-Feb-2024 23:00:40.822 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:40.824 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46661"] 08-Feb-2024 23:00:40.826 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46661"] 08-Feb-2024 23:00:40.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 08-Feb-2024 23:00:40.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 08-Feb-2024 23:00:40.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 08-Feb-2024 23:00:40.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 08-Feb-2024 23:00:40.842 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40687"] 08-Feb-2024 23:00:40.967 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40687"] 08-Feb-2024 23:00:40.971 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:40.975 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40687"] 08-Feb-2024 23:00:40.982 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40687"] 08-Feb-2024 23:00:40.987 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 08-Feb-2024 23:00:40.989 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 08-Feb-2024 23:00:40.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:40.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:40.998 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42125"] 08-Feb-2024 23:00:41.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42125"] 08-Feb-2024 23:00:41.041 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.043 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42125"] 08-Feb-2024 23:00:41.046 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42125"] 08-Feb-2024 23:00:41.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 08-Feb-2024 23:00:41.051 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 08-Feb-2024 23:00:41.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:41.052 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:41.060 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37107"] 08-Feb-2024 23:00:41.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37107"] 08-Feb-2024 23:00:41.145 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.148 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37107"] 08-Feb-2024 23:00:41.153 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37107"] 08-Feb-2024 23:00:41.155 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 08-Feb-2024 23:00:41.157 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 08-Feb-2024 23:00:41.158 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:41.158 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:41.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-42237"] 08-Feb-2024 23:00:41.179 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-42237"] 08-Feb-2024 23:00:41.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.184 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-42237"] 08-Feb-2024 23:00:41.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-42237"] 08-Feb-2024 23:00:41.193 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 08-Feb-2024 23:00:41.194 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 08-Feb-2024 23:00:41.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 08-Feb-2024 23:00:41.198 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 08-Feb-2024 23:00:41.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:41.199 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:41.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45853"] 08-Feb-2024 23:00:41.210 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45853"] 08-Feb-2024 23:00:41.213 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.215 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45853"] 08-Feb-2024 23:00:41.218 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45853"] 08-Feb-2024 23:00:41.221 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 08-Feb-2024 23:00:41.222 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 08-Feb-2024 23:00:41.223 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:41.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:41.242 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32945"] 08-Feb-2024 23:00:41.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32945"] 08-Feb-2024 23:00:41.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.288 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32945"] 08-Feb-2024 23:00:41.291 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32945"] 08-Feb-2024 23:00:41.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 08-Feb-2024 23:00:41.293 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 08-Feb-2024 23:00:41.294 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:00:41.294 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:00:41.299 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40427"] 08-Feb-2024 23:00:41.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40427"] 08-Feb-2024 23:00:41.314 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:00:41.315 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40427"] 08-Feb-2024 23:00:41.317 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40427"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.451 sec Testcase: testUseContentTypeExpiresConfiguration took 0.128 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.442 sec Testcase: testConfiguration took 0.085 sec Testcase: testNullContentType took 0.155 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.156 sec Testcase: testUseDefaultConfiguration2 took 0.061 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.107 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.039 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.025 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.071 sec Testcase: testEmptyContent took 0.026 sec