Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.303 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 01 Feb 2024 15:20:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:23:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 01 Feb 2024 15:20:46 GMT Expires: Thu, 01 Feb 2024 15:27:46 GMT Keep-Alive: timeout=3 ETag: W/"971-1706800077335" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:21:46 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 15:20:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:21:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:21:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:27:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 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, 01 Feb 2024 15:20:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:20:47 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:25:47 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:27:47 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 15:20:46 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-Feb-2024 15:20:44.251 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-Feb-2024 15:20:45.521 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 01-Feb-2024 15:20:45.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:45.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:45.803 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46009"] 01-Feb-2024 15:20:46.129 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46009"] 01-Feb-2024 15:20:46.133 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.183 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46009"] 01-Feb-2024 15:20:46.196 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46009"] 01-Feb-2024 15:20:46.204 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-Feb-2024 15:20:46.217 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 01-Feb-2024 15:20:46.218 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.222 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.231 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45483"] 01-Feb-2024 15:20:46.296 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45483"] 01-Feb-2024 15:20:46.303 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45483"] 01-Feb-2024 15:20:46.309 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45483"] 01-Feb-2024 15:20:46.311 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-Feb-2024 15:20:46.312 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 01-Feb-2024 15:20:46.313 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-Feb-2024 15:20:46.328 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 01-Feb-2024 15:20:46.328 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.442 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-Feb-2024 15:20:46.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-39767"] 01-Feb-2024 15:20:46.632 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-39767"] 01-Feb-2024 15:20:46.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-39767"] 01-Feb-2024 15:20:46.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-39767"] 01-Feb-2024 15:20:46.647 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-Feb-2024 15:20:46.649 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 01-Feb-2024 15:20:46.654 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.654 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.658 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45899"] 01-Feb-2024 15:20:46.665 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45899"] 01-Feb-2024 15:20:46.665 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.667 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45899"] 01-Feb-2024 15:20:46.669 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45899"] 01-Feb-2024 15:20:46.670 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-Feb-2024 15:20:46.672 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 01-Feb-2024 15:20:46.672 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.672 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46149"] 01-Feb-2024 15:20:46.715 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46149"] 01-Feb-2024 15:20:46.716 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.719 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46149"] 01-Feb-2024 15:20:46.724 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46149"] 01-Feb-2024 15:20:46.726 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-Feb-2024 15:20:46.727 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 01-Feb-2024 15:20:46.730 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-Feb-2024 15:20:46.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 01-Feb-2024 15:20:46.734 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.734 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.748 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-32783"] 01-Feb-2024 15:20:46.836 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-32783"] 01-Feb-2024 15:20:46.839 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.842 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-32783"] 01-Feb-2024 15:20:46.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-32783"] 01-Feb-2024 15:20:46.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-Feb-2024 15:20:46.849 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 01-Feb-2024 15:20:46.850 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.850 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33997"] 01-Feb-2024 15:20:46.895 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33997"] 01-Feb-2024 15:20:46.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.900 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33997"] 01-Feb-2024 15:20:46.903 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33997"] 01-Feb-2024 15:20:46.904 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-Feb-2024 15:20:46.906 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 01-Feb-2024 15:20:46.906 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.906 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.911 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44089"] 01-Feb-2024 15:20:46.941 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44089"] 01-Feb-2024 15:20:46.944 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.949 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44089"] 01-Feb-2024 15:20:46.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44089"] 01-Feb-2024 15:20:46.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-Feb-2024 15:20:46.957 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 01-Feb-2024 15:20:46.957 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.957 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:46.965 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36897"] 01-Feb-2024 15:20:46.984 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36897"] 01-Feb-2024 15:20:46.986 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:46.989 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36897"] 01-Feb-2024 15:20:46.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36897"] 01-Feb-2024 15:20:46.994 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-Feb-2024 15:20:46.995 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 01-Feb-2024 15:20:46.996 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-Feb-2024 15:20:46.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 01-Feb-2024 15:20:46.998 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:46.999 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:47.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-37285"] 01-Feb-2024 15:20:47.017 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-37285"] 01-Feb-2024 15:20:47.020 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:47.022 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-37285"] 01-Feb-2024 15:20:47.025 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-37285"] 01-Feb-2024 15:20:47.026 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-Feb-2024 15:20:47.028 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 01-Feb-2024 15:20:47.034 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:47.034 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:47.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37247"] 01-Feb-2024 15:20:47.061 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37247"] 01-Feb-2024 15:20:47.064 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:47.066 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37247"] 01-Feb-2024 15:20:47.073 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37247"] 01-Feb-2024 15:20:47.075 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-Feb-2024 15:20:47.080 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 01-Feb-2024 15:20:47.081 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:20:47.081 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:20:47.092 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37185"] 01-Feb-2024 15:20:47.120 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37185"] 01-Feb-2024 15:20:47.123 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:20:47.125 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37185"] 01-Feb-2024 15:20:47.128 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37185"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.308 sec Testcase: testUseContentTypeExpiresConfiguration took 0.107 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.333 sec Testcase: testConfiguration took 0.023 sec Testcase: testNullContentType took 0.055 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.117 sec Testcase: testUseDefaultConfiguration2 took 0.056 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.05 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.039 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.031 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.049 sec Testcase: testEmptyContent took 0.055 sec