Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.171 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 03 May 2024 15:46:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 03 May 2024 15:49:33 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 03 May 2024 15:46:33 GMT Expires: Fri, 03 May 2024 15:53:33 GMT Keep-Alive: timeout=3 ETag: W/"971-1714749600748" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 15:47:34 GMT Content-Length: 0 Date: Fri, 03 May 2024 15:46:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Fri, 03 May 2024 15:47:34 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 15:47:34 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 15:53:34 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 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: Fri, 03 May 2024 15:46:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 03 May 2024 15:46:34 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 03 May 2024 15:51:34 GMT Content-Length: 11 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 15:53:34 GMT Content-Length: 0 Date: Fri, 03 May 2024 15:46:33 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-May-2024 15:46:31.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-May-2024 15:46:32.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-May-2024 15:46:32.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:32.920 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:33.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39147"] 03-May-2024 15:46:33.389 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39147"] 03-May-2024 15:46:33.391 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:33.416 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39147"] 03-May-2024 15:46:33.428 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39147"] 03-May-2024 15:46:33.438 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-May-2024 15:46:33.444 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-May-2024 15:46:33.478 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:33.478 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:33.503 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39637"] 03-May-2024 15:46:33.520 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39637"] 03-May-2024 15:46:33.538 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:33.542 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39637"] 03-May-2024 15:46:33.542 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39637"] 03-May-2024 15:46:33.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-May-2024 15:46:33.548 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-May-2024 15:46:33.561 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-May-2024 15:46:33.582 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-May-2024 15:46:33.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:33.638 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:33.723 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-May-2024 15:46:33.979 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41757"] 03-May-2024 15:46:33.992 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41757"] 03-May-2024 15:46:33.993 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.021 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41757"] 03-May-2024 15:46:34.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41757"] 03-May-2024 15:46:34.027 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-May-2024 15:46:34.036 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-May-2024 15:46:34.089 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.089 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.105 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33419"] 03-May-2024 15:46:34.107 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33419"] 03-May-2024 15:46:34.108 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.113 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33419"] 03-May-2024 15:46:34.114 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33419"] 03-May-2024 15:46:34.120 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-May-2024 15:46:34.123 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-May-2024 15:46:34.130 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.130 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.137 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34955"] 03-May-2024 15:46:34.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34955"] 03-May-2024 15:46:34.143 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.146 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34955"] 03-May-2024 15:46:34.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34955"] 03-May-2024 15:46:34.150 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-May-2024 15:46:34.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-May-2024 15:46:34.153 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-May-2024 15:46:34.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-May-2024 15:46:34.167 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.167 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.180 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39505"] 03-May-2024 15:46:34.190 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39505"] 03-May-2024 15:46:34.193 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.199 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39505"] 03-May-2024 15:46:34.200 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39505"] 03-May-2024 15:46:34.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-May-2024 15:46:34.216 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-May-2024 15:46:34.242 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.242 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.250 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33345"] 03-May-2024 15:46:34.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33345"] 03-May-2024 15:46:34.266 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33345"] 03-May-2024 15:46:34.276 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33345"] 03-May-2024 15:46:34.282 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-May-2024 15:46:34.284 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-May-2024 15:46:34.300 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.300 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.316 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40779"] 03-May-2024 15:46:34.325 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40779"] 03-May-2024 15:46:34.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.328 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40779"] 03-May-2024 15:46:34.329 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40779"] 03-May-2024 15:46:34.336 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-May-2024 15:46:34.338 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-May-2024 15:46:34.364 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.364 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.369 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36727"] 03-May-2024 15:46:34.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36727"] 03-May-2024 15:46:34.378 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.382 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36727"] 03-May-2024 15:46:34.383 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36727"] 03-May-2024 15:46:34.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-May-2024 15:46:34.394 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-May-2024 15:46:34.395 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-May-2024 15:46:34.396 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-May-2024 15:46:34.401 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.401 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.405 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41077"] 03-May-2024 15:46:34.410 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41077"] 03-May-2024 15:46:34.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.413 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41077"] 03-May-2024 15:46:34.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41077"] 03-May-2024 15:46:34.416 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-May-2024 15:46:34.418 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-May-2024 15:46:34.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.432 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 03-May-2024 15:46:34.436 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 03-May-2024 15:46:34.437 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 03-May-2024 15:46:34.446 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37111"] 03-May-2024 15:46:34.449 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-May-2024 15:46:34.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-May-2024 15:46:34.460 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 15:46:34.460 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M20-dev] 03-May-2024 15:46:34.469 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45863"] 03-May-2024 15:46:34.474 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45863"] 03-May-2024 15:46:34.476 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 15:46:34.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45863"] 03-May-2024 15:46:34.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45863"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.979 sec Testcase: testUseContentTypeExpiresConfiguration took 0.108 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.016 sec Testcase: testBug63909 took 0.465 sec Testcase: testConfiguration took 0.092 sec Testcase: testNullContentType took 0.032 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.049 sec Testcase: testUseDefaultConfiguration2 took 0.08 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.054 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.055 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.022 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.032 sec Testcase: testEmptyContent took 0.036 sec