Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.49 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 20 Feb 2024 14:20:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:23:52 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 20 Feb 2024 14:20:52 GMT Expires: Tue, 20 Feb 2024 14:27:53 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:21:53 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 14:20:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:21:53 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 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:21:53 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 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:27:53 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 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:20:52 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 20 Feb 2024 14:20:53 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 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:25:53 GMT Content-Length: 11 Date: Tue, 20 Feb 2024 14:20:52 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:27:53 GMT Content-Length: 0 Date: Tue, 20 Feb 2024 14:20:52 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 20-Feb-2024 14:20:50.535 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 20-Feb-2024 14:20:51.898 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 20-Feb-2024 14:20:52.050 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:52.050 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:52.313 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45101"] 20-Feb-2024 14:20:52.491 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45101"] 20-Feb-2024 14:20:52.494 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:52.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45101"] 20-Feb-2024 14:20:52.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45101"] 20-Feb-2024 14:20:52.540 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 20-Feb-2024 14:20:52.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 20-Feb-2024 14:20:52.620 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:52.620 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:52.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33187"] 20-Feb-2024 14:20:52.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33187"] 20-Feb-2024 14:20:52.671 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:52.689 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33187"] 20-Feb-2024 14:20:52.690 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-33187"] 20-Feb-2024 14:20:52.693 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 20-Feb-2024 14:20:52.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 20-Feb-2024 14:20:52.705 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 20-Feb-2024 14:20:52.715 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 20-Feb-2024 14:20:52.732 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:52.733 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:52.819 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 20-Feb-2024 14:20:53.130 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44231"] 20-Feb-2024 14:20:53.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44231"] 20-Feb-2024 14:20:53.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44231"] 20-Feb-2024 14:20:53.151 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44231"] 20-Feb-2024 14:20:53.157 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 20-Feb-2024 14:20:53.162 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 20-Feb-2024 14:20:53.165 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.165 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.172 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35201"] 20-Feb-2024 14:20:53.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35201"] 20-Feb-2024 14:20:53.174 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35201"] 20-Feb-2024 14:20:53.177 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35201"] 20-Feb-2024 14:20:53.180 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 20-Feb-2024 14:20:53.182 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 20-Feb-2024 14:20:53.206 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.207 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.212 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36075"] 20-Feb-2024 14:20:53.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36075"] 20-Feb-2024 14:20:53.219 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.221 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36075"] 20-Feb-2024 14:20:53.222 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36075"] 20-Feb-2024 14:20:53.227 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 20-Feb-2024 14:20:53.229 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 20-Feb-2024 14:20:53.229 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 20-Feb-2024 14:20:53.231 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 20-Feb-2024 14:20:53.244 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40195"] 20-Feb-2024 14:20:53.262 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40195"] 20-Feb-2024 14:20:53.265 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.268 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40195"] 20-Feb-2024 14:20:53.270 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40195"] 20-Feb-2024 14:20:53.275 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 20-Feb-2024 14:20:53.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 20-Feb-2024 14:20:53.291 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.296 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43315"] 20-Feb-2024 14:20:53.302 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43315"] 20-Feb-2024 14:20:53.303 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43315"] 20-Feb-2024 14:20:53.307 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43315"] 20-Feb-2024 14:20:53.310 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 20-Feb-2024 14:20:53.312 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 20-Feb-2024 14:20:53.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.323 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33963"] 20-Feb-2024 14:20:53.331 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33963"] 20-Feb-2024 14:20:53.332 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33963"] 20-Feb-2024 14:20:53.343 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-33963"] 20-Feb-2024 14:20:53.345 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 20-Feb-2024 14:20:53.351 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 20-Feb-2024 14:20:53.358 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.364 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46623"] 20-Feb-2024 14:20:53.368 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46623"] 20-Feb-2024 14:20:53.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.376 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46623"] 20-Feb-2024 14:20:53.376 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-46623"] 20-Feb-2024 14:20:53.382 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 20-Feb-2024 14:20:53.383 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 20-Feb-2024 14:20:53.385 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 20-Feb-2024 14:20:53.386 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 20-Feb-2024 14:20:53.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.408 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35983"] 20-Feb-2024 14:20:53.411 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35983"] 20-Feb-2024 14:20:53.414 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.416 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35983"] 20-Feb-2024 14:20:53.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35983"] 20-Feb-2024 14:20:53.421 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 20-Feb-2024 14:20:53.422 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 20-Feb-2024 14:20:53.432 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.432 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34235"] 20-Feb-2024 14:20:53.447 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34235"] 20-Feb-2024 14:20:53.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.452 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34235"] 20-Feb-2024 14:20:53.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34235"] 20-Feb-2024 14:20:53.456 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 20-Feb-2024 14:20:53.458 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 20-Feb-2024 14:20:53.460 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 20-Feb-2024 14:20:53.460 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 20-Feb-2024 14:20:53.476 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44847"] 20-Feb-2024 14:20:53.486 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44847"] 20-Feb-2024 14:20:53.486 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 20-Feb-2024 14:20:53.489 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44847"] 20-Feb-2024 14:20:53.490 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44847"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.409 sec Testcase: testUseContentTypeExpiresConfiguration took 0.159 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.011 sec Testcase: testBug63909 took 0.452 sec Testcase: testConfiguration took 0.023 sec Testcase: testNullContentType took 0.047 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.045 sec Testcase: testUseDefaultConfiguration2 took 0.036 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.035 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.037 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.036 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.036 sec