Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.221 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 20 Feb 2024 14:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:09:09 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 20 Feb 2024 14:06:09 GMT Expires: Tue, 20 Feb 2024 14:13:09 GMT Keep-Alive: timeout=3 ETag: W/"971-1708437185376" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:07:10 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 14:06:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:07:10 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:07:10 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:13:10 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 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: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:06:10 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:11:10 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:06:09 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:13:10 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 14:06:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 20-Feb-2024 14:06:07.594 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 20-Feb-2024 14:06:08.659 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 20-Feb-2024 14:06:08.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:08.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:08.887 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34213"] 20-Feb-2024 14:06:09.172 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34213"] 20-Feb-2024 14:06:09.175 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:09.220 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34213"] 20-Feb-2024 14:06:09.231 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34213"] 20-Feb-2024 14:06:09.239 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 20-Feb-2024 14:06:09.241 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 20-Feb-2024 14:06:09.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:09.242 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:09.257 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33373"] 20-Feb-2024 14:06:09.337 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33373"] 20-Feb-2024 14:06:09.339 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:09.343 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33373"] 20-Feb-2024 14:06:09.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33373"] 20-Feb-2024 14:06:09.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 20-Feb-2024 14:06:09.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 20-Feb-2024 14:06:09.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 20-Feb-2024 14:06:09.374 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 20-Feb-2024 14:06:09.383 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:09.383 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:09.545 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Feb-2024 14:06:09.744 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44667"] 20-Feb-2024 14:06:09.859 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44667"] 20-Feb-2024 14:06:09.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:09.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44667"] 20-Feb-2024 14:06:09.871 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44667"] 20-Feb-2024 14:06:09.873 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 20-Feb-2024 14:06:09.884 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 20-Feb-2024 14:06:09.884 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:09.885 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:09.902 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37289"] 20-Feb-2024 14:06:09.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37289"] 20-Feb-2024 14:06:09.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:09.933 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37289"] 20-Feb-2024 14:06:09.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37289"] 20-Feb-2024 14:06:09.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 20-Feb-2024 14:06:09.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 20-Feb-2024 14:06:09.939 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:09.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:09.950 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40957"] 20-Feb-2024 14:06:10.046 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40957"] 20-Feb-2024 14:06:10.050 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.054 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40957"] 20-Feb-2024 14:06:10.061 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40957"] 20-Feb-2024 14:06:10.062 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 20-Feb-2024 14:06:10.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 20-Feb-2024 14:06:10.066 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 20-Feb-2024 14:06:10.068 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 20-Feb-2024 14:06:10.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.082 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38519"] 20-Feb-2024 14:06:10.117 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38519"] 20-Feb-2024 14:06:10.121 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.124 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38519"] 20-Feb-2024 14:06:10.135 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38519"] 20-Feb-2024 14:06:10.138 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 20-Feb-2024 14:06:10.140 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 20-Feb-2024 14:06:10.141 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.141 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.145 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45609"] 20-Feb-2024 14:06:10.160 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45609"] 20-Feb-2024 14:06:10.164 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.175 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45609"] 20-Feb-2024 14:06:10.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45609"] 20-Feb-2024 14:06:10.186 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 20-Feb-2024 14:06:10.188 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 20-Feb-2024 14:06:10.189 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.189 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.202 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36477"] 20-Feb-2024 14:06:10.211 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36477"] 20-Feb-2024 14:06:10.212 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36477"] 20-Feb-2024 14:06:10.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36477"] 20-Feb-2024 14:06:10.221 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 20-Feb-2024 14:06:10.223 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 20-Feb-2024 14:06:10.224 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.224 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33233"] 20-Feb-2024 14:06:10.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33233"] 20-Feb-2024 14:06:10.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33233"] 20-Feb-2024 14:06:10.242 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33233"] 20-Feb-2024 14:06:10.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 20-Feb-2024 14:06:10.245 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 20-Feb-2024 14:06:10.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 20-Feb-2024 14:06:10.248 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 20-Feb-2024 14:06:10.249 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.249 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.261 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41273"] 20-Feb-2024 14:06:10.275 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41273"] 20-Feb-2024 14:06:10.276 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.279 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41273"] 20-Feb-2024 14:06:10.280 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41273"] 20-Feb-2024 14:06:10.281 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 20-Feb-2024 14:06:10.283 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 20-Feb-2024 14:06:10.284 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.284 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.288 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-45591"] 20-Feb-2024 14:06:10.306 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-45591"] 20-Feb-2024 14:06:10.315 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.318 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-45591"] 20-Feb-2024 14:06:10.324 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-45591"] 20-Feb-2024 14:06:10.326 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 20-Feb-2024 14:06:10.329 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 20-Feb-2024 14:06:10.329 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:06:10.329 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:06:10.332 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46209"] 20-Feb-2024 14:06:10.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46209"] 20-Feb-2024 14:06:10.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:06:10.343 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46209"] 20-Feb-2024 14:06:10.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46209"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.966 sec Testcase: testUseContentTypeExpiresConfiguration took 0.12 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.513 sec Testcase: testConfiguration took 0.063 sec Testcase: testNullContentType took 0.126 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.072 sec Testcase: testUseDefaultConfiguration2 took 0.049 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.034 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.023 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.035 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.044 sec Testcase: testEmptyContent took 0.023 sec