Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.353 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 26 Oct 2023 16:51:03 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:54:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 26 Oct 2023 16:51:04 GMT Expires: Thu, 26 Oct 2023 16:58:04 GMT Keep-Alive: timeout=3 ETag: W/"971-1698338499048" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:52:04 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 16:51:04 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:52:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:52:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:58:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 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, 26 Oct 2023 16:51:04 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:51:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:56:04 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 16:58:04 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 16:51:04 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 26-Oct-2023 16:51:02.532 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 26-Oct-2023 16:51:03.570 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 26-Oct-2023 16:51:03.619 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:03.619 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:03.869 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41327"] 26-Oct-2023 16:51:04.000 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41327"] 26-Oct-2023 16:51:04.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41327"] 26-Oct-2023 16:51:04.027 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41327"] 26-Oct-2023 16:51:04.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 26-Oct-2023 16:51:04.039 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 26-Oct-2023 16:51:04.040 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.040 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46315"] 26-Oct-2023 16:51:04.073 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46315"] 26-Oct-2023 16:51:04.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.080 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46315"] 26-Oct-2023 16:51:04.087 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46315"] 26-Oct-2023 16:51:04.091 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 26-Oct-2023 16:51:04.092 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 26-Oct-2023 16:51:04.093 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 26-Oct-2023 16:51:04.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 26-Oct-2023 16:51:04.102 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.102 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.159 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Oct-2023 16:51:04.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33349"] 26-Oct-2023 16:51:04.283 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33349"] 26-Oct-2023 16:51:04.286 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.294 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33349"] 26-Oct-2023 16:51:04.299 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33349"] 26-Oct-2023 16:51:04.302 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 26-Oct-2023 16:51:04.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 26-Oct-2023 16:51:04.305 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.317 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41011"] 26-Oct-2023 16:51:04.330 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41011"] 26-Oct-2023 16:51:04.333 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.336 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41011"] 26-Oct-2023 16:51:04.339 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41011"] 26-Oct-2023 16:51:04.341 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 26-Oct-2023 16:51:04.342 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 26-Oct-2023 16:51:04.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.343 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45995"] 26-Oct-2023 16:51:04.359 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45995"] 26-Oct-2023 16:51:04.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45995"] 26-Oct-2023 16:51:04.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45995"] 26-Oct-2023 16:51:04.369 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 26-Oct-2023 16:51:04.370 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 26-Oct-2023 16:51:04.371 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 26-Oct-2023 16:51:04.372 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 26-Oct-2023 16:51:04.373 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.373 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.377 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42139"] 26-Oct-2023 16:51:04.388 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42139"] 26-Oct-2023 16:51:04.389 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.392 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42139"] 26-Oct-2023 16:51:04.398 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42139"] 26-Oct-2023 16:51:04.400 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 26-Oct-2023 16:51:04.402 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 26-Oct-2023 16:51:04.402 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.403 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.407 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-42437"] 26-Oct-2023 16:51:04.423 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-42437"] 26-Oct-2023 16:51:04.423 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.426 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-42437"] 26-Oct-2023 16:51:04.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-42437"] 26-Oct-2023 16:51:04.431 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 26-Oct-2023 16:51:04.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 26-Oct-2023 16:51:04.433 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.433 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.441 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36397"] 26-Oct-2023 16:51:04.450 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36397"] 26-Oct-2023 16:51:04.453 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.455 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36397"] 26-Oct-2023 16:51:04.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36397"] 26-Oct-2023 16:51:04.460 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 26-Oct-2023 16:51:04.461 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 26-Oct-2023 16:51:04.462 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.462 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.469 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-46827"] 26-Oct-2023 16:51:04.475 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-46827"] 26-Oct-2023 16:51:04.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-46827"] 26-Oct-2023 16:51:04.481 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-46827"] 26-Oct-2023 16:51:04.484 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 26-Oct-2023 16:51:04.485 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 26-Oct-2023 16:51:04.486 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 26-Oct-2023 16:51:04.487 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 26-Oct-2023 16:51:04.487 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45279"] 26-Oct-2023 16:51:04.505 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45279"] 26-Oct-2023 16:51:04.505 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45279"] 26-Oct-2023 16:51:04.513 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45279"] 26-Oct-2023 16:51:04.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 26-Oct-2023 16:51:04.517 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 26-Oct-2023 16:51:04.517 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.517 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.529 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-46169"] 26-Oct-2023 16:51:04.543 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-46169"] 26-Oct-2023 16:51:04.545 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.548 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-46169"] 26-Oct-2023 16:51:04.550 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-46169"] 26-Oct-2023 16:51:04.553 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 26-Oct-2023 16:51:04.554 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 26-Oct-2023 16:51:04.555 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 16:51:04.555 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.96-dev] 26-Oct-2023 16:51:04.565 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-44541"] 26-Oct-2023 16:51:04.572 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-44541"] 26-Oct-2023 16:51:04.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 16:51:04.575 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-44541"] 26-Oct-2023 16:51:04.577 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-44541"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.77 sec Testcase: testUseContentTypeExpiresConfiguration took 0.054 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.21 sec Testcase: testConfiguration took 0.039 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.029 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.028 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.024 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.03 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.037 sec Testcase: testEmptyContent took 0.027 sec