Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.394 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 11 May 2023 11:34:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 11 May 2023 11:37:27 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 11 May 2023 11:34:27 GMT Expires: Thu, 11 May 2023 11:41:28 GMT Keep-Alive: timeout=3 ETag: W/"971-1683802787550" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 11:35:28 GMT Content-Length: 0 Date: Thu, 11 May 2023 11:34:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 11:35:28 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 11:35:28 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 11:41:28 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 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, 11 May 2023 11:34:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 11 May 2023 11:34:28 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 11 May 2023 11:39:28 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 11:41:28 GMT Content-Length: 0 Date: Thu, 11 May 2023 11:34:27 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-May-2023 11:34:26.264 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-May-2023 11:34:27.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-May-2023 11:34:27.151 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:27.151 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:27.349 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38181"] 11-May-2023 11:34:27.485 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38181"] 11-May-2023 11:34:27.487 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:27.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38181"] 11-May-2023 11:34:27.513 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38181"] 11-May-2023 11:34:27.521 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-May-2023 11:34:27.524 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-May-2023 11:34:27.603 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:27.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:27.615 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40747"] 11-May-2023 11:34:27.650 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40747"] 11-May-2023 11:34:27.653 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:27.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40747"] 11-May-2023 11:34:27.657 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40747"] 11-May-2023 11:34:27.661 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-May-2023 11:34:27.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-May-2023 11:34:27.675 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-May-2023 11:34:27.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-May-2023 11:34:27.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:27.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:27.886 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-May-2023 11:34:28.041 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36637"] 11-May-2023 11:34:28.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36637"] 11-May-2023 11:34:28.053 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36637"] 11-May-2023 11:34:28.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36637"] 11-May-2023 11:34:28.064 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-May-2023 11:34:28.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-May-2023 11:34:28.074 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.074 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.079 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33903"] 11-May-2023 11:34:28.079 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33903"] 11-May-2023 11:34:28.082 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.085 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33903"] 11-May-2023 11:34:28.086 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33903"] 11-May-2023 11:34:28.090 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-May-2023 11:34:28.091 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-May-2023 11:34:28.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.104 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39389"] 11-May-2023 11:34:28.110 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39389"] 11-May-2023 11:34:28.113 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.116 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39389"] 11-May-2023 11:34:28.117 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39389"] 11-May-2023 11:34:28.120 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-May-2023 11:34:28.121 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-May-2023 11:34:28.122 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-May-2023 11:34:28.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-May-2023 11:34:28.132 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.132 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.139 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36085"] 11-May-2023 11:34:28.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36085"] 11-May-2023 11:34:28.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.146 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36085"] 11-May-2023 11:34:28.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36085"] 11-May-2023 11:34:28.152 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-May-2023 11:34:28.154 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-May-2023 11:34:28.164 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.164 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.168 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39761"] 11-May-2023 11:34:28.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39761"] 11-May-2023 11:34:28.173 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.175 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39761"] 11-May-2023 11:34:28.176 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39761"] 11-May-2023 11:34:28.178 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-May-2023 11:34:28.179 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-May-2023 11:34:28.181 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.181 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.186 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38265"] 11-May-2023 11:34:28.194 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38265"] 11-May-2023 11:34:28.198 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.200 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38265"] 11-May-2023 11:34:28.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38265"] 11-May-2023 11:34:28.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-May-2023 11:34:28.204 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 11-May-2023 11:34:28.211 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.211 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.219 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41655"] 11-May-2023 11:34:28.223 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41655"] 11-May-2023 11:34:28.224 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41655"] 11-May-2023 11:34:28.226 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-41655"] 11-May-2023 11:34:28.229 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-May-2023 11:34:28.230 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 11-May-2023 11:34:28.230 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-May-2023 11:34:28.232 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 11-May-2023 11:34:28.239 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.239 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.244 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37489"] 11-May-2023 11:34:28.254 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37489"] 11-May-2023 11:34:28.254 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.257 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37489"] 11-May-2023 11:34:28.259 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-37489"] 11-May-2023 11:34:28.263 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-May-2023 11:34:28.265 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 11-May-2023 11:34:28.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.273 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41817"] 11-May-2023 11:34:28.282 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41817"] 11-May-2023 11:34:28.284 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41817"] 11-May-2023 11:34:28.287 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41817"] 11-May-2023 11:34:28.290 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-May-2023 11:34:28.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 11-May-2023 11:34:28.303 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:34:28.303 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:34:28.308 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37667"] 11-May-2023 11:34:28.311 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37667"] 11-May-2023 11:34:28.312 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:34:28.314 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37667"] 11-May-2023 11:34:28.314 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37667"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.537 sec Testcase: testUseContentTypeExpiresConfiguration took 0.139 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.014 sec Testcase: testBug63909 took 0.388 sec Testcase: testConfiguration took 0.026 sec Testcase: testNullContentType took 0.03 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.029 sec Testcase: testUseDefaultConfiguration2 took 0.025 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.033 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.026 sec Testcase: testEmptyContent took 0.031 sec