Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.434 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 25 May 2023 14:19:06 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 25 May 2023 14:22:06 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 25 May 2023 14:19:06 GMT Expires: Thu, 25 May 2023 14:26:07 GMT Keep-Alive: timeout=3 ETag: W/"971-1685023354866" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:20:07 GMT Content-Length: 0 Date: Thu, 25 May 2023 14:19:06 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:20:07 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:20:07 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 25 May 2023 14:26:07 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 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, 25 May 2023 14:19:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 25 May 2023 14:19:07 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 25 May 2023 14:24:07 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 25 May 2023 14:26:07 GMT Content-Length: 0 Date: Thu, 25 May 2023 14:19:06 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 25-May-2023 14:19:05.295 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 25-May-2023 14:19:06.053 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 25-May-2023 14:19:06.085 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:06.085 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:06.368 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36657"] 25-May-2023 14:19:06.549 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36657"] 25-May-2023 14:19:06.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:06.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36657"] 25-May-2023 14:19:06.614 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36657"] 25-May-2023 14:19:06.627 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 25-May-2023 14:19:06.629 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 25-May-2023 14:19:06.636 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:06.636 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:06.667 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36161"] 25-May-2023 14:19:06.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36161"] 25-May-2023 14:19:06.814 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:06.817 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36161"] 25-May-2023 14:19:06.825 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36161"] 25-May-2023 14:19:06.832 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 25-May-2023 14:19:06.845 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 25-May-2023 14:19:06.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 25-May-2023 14:19:06.879 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 25-May-2023 14:19:06.884 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:06.884 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:06.996 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 25-May-2023 14:19:07.124 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38803"] 25-May-2023 14:19:07.146 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38803"] 25-May-2023 14:19:07.147 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.153 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38803"] 25-May-2023 14:19:07.156 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38803"] 25-May-2023 14:19:07.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 25-May-2023 14:19:07.160 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 25-May-2023 14:19:07.161 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.161 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.170 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44061"] 25-May-2023 14:19:07.179 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44061"] 25-May-2023 14:19:07.181 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44061"] 25-May-2023 14:19:07.186 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44061"] 25-May-2023 14:19:07.188 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 25-May-2023 14:19:07.189 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 25-May-2023 14:19:07.190 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.190 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.199 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-32811"] 25-May-2023 14:19:07.206 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-32811"] 25-May-2023 14:19:07.207 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.209 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-32811"] 25-May-2023 14:19:07.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-32811"] 25-May-2023 14:19:07.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 25-May-2023 14:19:07.215 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 25-May-2023 14:19:07.216 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 25-May-2023 14:19:07.217 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 25-May-2023 14:19:07.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.218 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.224 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38639"] 25-May-2023 14:19:07.236 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38639"] 25-May-2023 14:19:07.237 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38639"] 25-May-2023 14:19:07.245 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38639"] 25-May-2023 14:19:07.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 25-May-2023 14:19:07.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 25-May-2023 14:19:07.249 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.249 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.255 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45109"] 25-May-2023 14:19:07.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45109"] 25-May-2023 14:19:07.279 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.281 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45109"] 25-May-2023 14:19:07.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45109"] 25-May-2023 14:19:07.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 25-May-2023 14:19:07.288 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 25-May-2023 14:19:07.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.289 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.295 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 25-May-2023 14:19:07.303 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 25-May-2023 14:19:07.305 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.307 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 25-May-2023 14:19:07.309 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39125"] 25-May-2023 14:19:07.310 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 25-May-2023 14:19:07.311 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 25-May-2023 14:19:07.312 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.312 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.315 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46489"] 25-May-2023 14:19:07.326 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46489"] 25-May-2023 14:19:07.327 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46489"] 25-May-2023 14:19:07.331 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46489"] 25-May-2023 14:19:07.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 25-May-2023 14:19:07.332 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 25-May-2023 14:19:07.333 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 25-May-2023 14:19:07.334 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 25-May-2023 14:19:07.334 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.334 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.341 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40031"] 25-May-2023 14:19:07.350 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40031"] 25-May-2023 14:19:07.351 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.353 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40031"] 25-May-2023 14:19:07.355 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40031"] 25-May-2023 14:19:07.357 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 25-May-2023 14:19:07.358 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 25-May-2023 14:19:07.359 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.360 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.365 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-41443"] 25-May-2023 14:19:07.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-41443"] 25-May-2023 14:19:07.375 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.376 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-41443"] 25-May-2023 14:19:07.378 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-41443"] 25-May-2023 14:19:07.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 25-May-2023 14:19:07.381 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 25-May-2023 14:19:07.381 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:19:07.381 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:19:07.385 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41209"] 25-May-2023 14:19:07.393 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41209"] 25-May-2023 14:19:07.396 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:19:07.398 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41209"] 25-May-2023 14:19:07.401 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41209"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.6 sec Testcase: testUseContentTypeExpiresConfiguration took 0.208 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.014 sec Testcase: testBug63909 took 0.312 sec Testcase: testConfiguration took 0.029 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.03 sec Testcase: testUseDefaultConfiguration2 took 0.039 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.021 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.024 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.022 sec Testcase: testEmptyContent took 0.021 sec