Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.23 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 30 May 2023 19:10:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 30 May 2023 19:13:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 30 May 2023 19:10:14 GMT Expires: Tue, 30 May 2023 19:17:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1685472839180" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:11:14 GMT Content-Length: 0 Date: Tue, 30 May 2023 19:10:14 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:11:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:11:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 May 2023 19:17:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 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, 30 May 2023 19:10:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 30 May 2023 19:10:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 30 May 2023 19:15:14 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 May 2023 19:17:14 GMT Content-Length: 0 Date: Tue, 30 May 2023 19:10:14 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 30-May-2023 19:10:12.744 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 30-May-2023 19:10:13.455 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 30-May-2023 19:10:13.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:13.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:13.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34607"] 30-May-2023 19:10:13.999 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34607"] 30-May-2023 19:10:14.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34607"] 30-May-2023 19:10:14.046 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34607"] 30-May-2023 19:10:14.067 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 30-May-2023 19:10:14.069 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 30-May-2023 19:10:14.070 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.071 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.078 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-39687"] 30-May-2023 19:10:14.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-39687"] 30-May-2023 19:10:14.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.147 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-39687"] 30-May-2023 19:10:14.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-39687"] 30-May-2023 19:10:14.156 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 30-May-2023 19:10:14.158 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 30-May-2023 19:10:14.159 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 30-May-2023 19:10:14.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 30-May-2023 19:10:14.176 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.176 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.227 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 30-May-2023 19:10:14.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37249"] 30-May-2023 19:10:14.349 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37249"] 30-May-2023 19:10:14.350 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37249"] 30-May-2023 19:10:14.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37249"] 30-May-2023 19:10:14.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 30-May-2023 19:10:14.363 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 30-May-2023 19:10:14.363 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.363 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.368 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39857"] 30-May-2023 19:10:14.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39857"] 30-May-2023 19:10:14.373 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.376 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39857"] 30-May-2023 19:10:14.379 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39857"] 30-May-2023 19:10:14.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 30-May-2023 19:10:14.382 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 30-May-2023 19:10:14.383 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.383 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40241"] 30-May-2023 19:10:14.395 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40241"] 30-May-2023 19:10:14.395 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.397 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40241"] 30-May-2023 19:10:14.399 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40241"] 30-May-2023 19:10:14.401 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 30-May-2023 19:10:14.402 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 30-May-2023 19:10:14.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 30-May-2023 19:10:14.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 30-May-2023 19:10:14.405 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.405 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.411 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45185"] 30-May-2023 19:10:14.426 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45185"] 30-May-2023 19:10:14.427 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.429 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45185"] 30-May-2023 19:10:14.433 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45185"] 30-May-2023 19:10:14.436 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 30-May-2023 19:10:14.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 30-May-2023 19:10:14.439 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.439 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.445 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41415"] 30-May-2023 19:10:14.455 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41415"] 30-May-2023 19:10:14.458 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.460 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41415"] 30-May-2023 19:10:14.464 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41415"] 30-May-2023 19:10:14.465 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 30-May-2023 19:10:14.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 30-May-2023 19:10:14.467 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.473 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34139"] 30-May-2023 19:10:14.487 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34139"] 30-May-2023 19:10:14.488 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.489 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34139"] 30-May-2023 19:10:14.491 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34139"] 30-May-2023 19:10:14.492 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 30-May-2023 19:10:14.494 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 30-May-2023 19:10:14.494 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.494 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.499 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33921"] 30-May-2023 19:10:14.513 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33921"] 30-May-2023 19:10:14.514 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33921"] 30-May-2023 19:10:14.520 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33921"] 30-May-2023 19:10:14.522 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 30-May-2023 19:10:14.523 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 30-May-2023 19:10:14.524 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 30-May-2023 19:10:14.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 30-May-2023 19:10:14.526 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.531 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40535"] 30-May-2023 19:10:14.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40535"] 30-May-2023 19:10:14.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.552 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40535"] 30-May-2023 19:10:14.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40535"] 30-May-2023 19:10:14.557 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 30-May-2023 19:10:14.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 30-May-2023 19:10:14.559 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.559 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.564 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42653"] 30-May-2023 19:10:14.583 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42653"] 30-May-2023 19:10:14.584 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.586 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42653"] 30-May-2023 19:10:14.590 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42653"] 30-May-2023 19:10:14.591 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 30-May-2023 19:10:14.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 30-May-2023 19:10:14.593 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:10:14.593 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:10:14.597 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-39413"] 30-May-2023 19:10:14.608 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-39413"] 30-May-2023 19:10:14.611 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:10:14.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-39413"] 30-May-2023 19:10:14.616 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-39413"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.599 sec Testcase: testUseContentTypeExpiresConfiguration took 0.089 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.203 sec Testcase: testConfiguration took 0.019 sec Testcase: testNullContentType took 0.02 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.032 sec Testcase: testUseDefaultConfiguration2 took 0.029 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.027 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.032 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.025 sec