Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.274 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 08 Feb 2024 14:00:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:03:38 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 08 Feb 2024 14:00:38 GMT Expires: Thu, 08 Feb 2024 14:07:39 GMT Keep-Alive: timeout=3 ETag: W/"971-1707399543203" 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 14:01:39 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 14:00:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:01:39 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 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 14:01:39 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 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 14:07:39 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 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 14:00:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:00:39 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 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 14:05:39 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:00:38 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 14:07:39 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 14:00:38 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Feb-2024 14:00:37.185 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 08-Feb-2024 14:00:38.185 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 08-Feb-2024 14:00:38.343 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:38.344 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:38.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38375"] 08-Feb-2024 14:00:38.777 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38375"] 08-Feb-2024 14:00:38.780 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:38.798 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38375"] 08-Feb-2024 14:00:38.800 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-38375"] 08-Feb-2024 14:00:38.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 08-Feb-2024 14:00:38.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 08-Feb-2024 14:00:38.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:38.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:38.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38109"] 08-Feb-2024 14:00:38.959 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38109"] 08-Feb-2024 14:00:38.962 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:38.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38109"] 08-Feb-2024 14:00:38.967 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-38109"] 08-Feb-2024 14:00:38.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 08-Feb-2024 14:00:38.976 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 08-Feb-2024 14:00:38.985 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 08-Feb-2024 14:00:39.000 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 08-Feb-2024 14:00:39.125 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.202 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Feb-2024 14:00:39.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40213"] 08-Feb-2024 14:00:39.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40213"] 08-Feb-2024 14:00:39.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.349 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40213"] 08-Feb-2024 14:00:39.351 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40213"] 08-Feb-2024 14:00:39.376 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 08-Feb-2024 14:00:39.378 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 08-Feb-2024 14:00:39.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.437 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38269"] 08-Feb-2024 14:00:39.437 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38269"] 08-Feb-2024 14:00:39.440 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.442 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38269"] 08-Feb-2024 14:00:39.443 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38269"] 08-Feb-2024 14:00:39.446 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 08-Feb-2024 14:00:39.448 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 08-Feb-2024 14:00:39.452 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.452 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.463 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35651"] 08-Feb-2024 14:00:39.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35651"] 08-Feb-2024 14:00:39.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.474 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35651"] 08-Feb-2024 14:00:39.476 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35651"] 08-Feb-2024 14:00:39.479 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 08-Feb-2024 14:00:39.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 08-Feb-2024 14:00:39.481 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 08-Feb-2024 14:00:39.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 08-Feb-2024 14:00:39.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.508 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46169"] 08-Feb-2024 14:00:39.524 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46169"] 08-Feb-2024 14:00:39.525 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.528 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46169"] 08-Feb-2024 14:00:39.530 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46169"] 08-Feb-2024 14:00:39.534 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 08-Feb-2024 14:00:39.536 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 08-Feb-2024 14:00:39.549 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.549 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37385"] 08-Feb-2024 14:00:39.588 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37385"] 08-Feb-2024 14:00:39.590 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.592 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37385"] 08-Feb-2024 14:00:39.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37385"] 08-Feb-2024 14:00:39.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 08-Feb-2024 14:00:39.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 08-Feb-2024 14:00:39.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.684 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.692 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36521"] 08-Feb-2024 14:00:39.708 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36521"] 08-Feb-2024 14:00:39.709 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36521"] 08-Feb-2024 14:00:39.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36521"] 08-Feb-2024 14:00:39.717 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 08-Feb-2024 14:00:39.719 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 08-Feb-2024 14:00:39.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.783 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34055"] 08-Feb-2024 14:00:39.787 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34055"] 08-Feb-2024 14:00:39.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.793 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34055"] 08-Feb-2024 14:00:39.794 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34055"] 08-Feb-2024 14:00:39.800 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 08-Feb-2024 14:00:39.801 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 08-Feb-2024 14:00:39.802 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 08-Feb-2024 14:00:39.803 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 08-Feb-2024 14:00:39.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.825 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45573"] 08-Feb-2024 14:00:39.830 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45573"] 08-Feb-2024 14:00:39.833 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.834 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45573"] 08-Feb-2024 14:00:39.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45573"] 08-Feb-2024 14:00:39.839 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 08-Feb-2024 14:00:39.841 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 08-Feb-2024 14:00:39.845 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.846 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.874 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33501"] 08-Feb-2024 14:00:39.880 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33501"] 08-Feb-2024 14:00:39.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.885 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33501"] 08-Feb-2024 14:00:39.886 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33501"] 08-Feb-2024 14:00:39.888 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 08-Feb-2024 14:00:39.890 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 08-Feb-2024 14:00:39.920 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:00:39.920 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 08-Feb-2024 14:00:39.927 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46883"] 08-Feb-2024 14:00:39.932 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46883"] 08-Feb-2024 14:00:39.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:00:39.937 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46883"] 08-Feb-2024 14:00:39.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46883"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.037 sec Testcase: testUseContentTypeExpiresConfiguration took 0.153 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.011 sec Testcase: testBug63909 took 0.392 sec Testcase: testConfiguration took 0.069 sec Testcase: testNullContentType took 0.033 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.053 sec Testcase: testUseDefaultConfiguration2 took 0.075 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.108 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.083 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.037 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.049 sec Testcase: testEmptyContent took 0.052 sec