Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.287 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 11 Jun 2024 22:22:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:25:09 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22:09 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 11 Jun 2024 22:22:09 GMT Expires: Tue, 11 Jun 2024 22:29:10 GMT Keep-Alive: timeout=3 ETag: W/"971-1718142892836" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:23:10 GMT Content-Length: 0 Date: Tue, 11 Jun 2024 22:22:09 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:23:10 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22: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, 11 Jun 2024 22:23:10 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22:09 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:29:10 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22: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, 11 Jun 2024 22:22:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:22:10 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22:09 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:27:10 GMT Content-Length: 11 Date: Tue, 11 Jun 2024 22:22:09 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 11 Jun 2024 22:29:10 GMT Content-Length: 0 Date: Tue, 11 Jun 2024 22:22:09 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Jun-2024 22:22:07.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Jun-2024 22:22:08.847 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Jun-2024 22:22:09.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:09.040 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:09.327 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44249"] 11-Jun-2024 22:22:09.525 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44249"] 11-Jun-2024 22:22:09.527 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:09.555 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44249"] 11-Jun-2024 22:22:09.558 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44249"] 11-Jun-2024 22:22:09.577 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Jun-2024 22:22:09.579 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Jun-2024 22:22:09.743 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:09.744 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:09.770 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40443"] 11-Jun-2024 22:22:09.807 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40443"] 11-Jun-2024 22:22:09.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:09.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40443"] 11-Jun-2024 22:22:09.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40443"] 11-Jun-2024 22:22:09.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Jun-2024 22:22:09.826 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Jun-2024 22:22:09.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Jun-2024 22:22:09.854 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Jun-2024 22:22:09.933 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:09.933 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.015 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Jun-2024 22:22:10.192 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38387"] 11-Jun-2024 22:22:10.220 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38387"] 11-Jun-2024 22:22:10.225 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38387"] 11-Jun-2024 22:22:10.242 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38387"] 11-Jun-2024 22:22:10.245 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Jun-2024 22:22:10.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Jun-2024 22:22:10.289 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.289 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.298 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39475"] 11-Jun-2024 22:22:10.299 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39475"] 11-Jun-2024 22:22:10.301 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.306 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39475"] 11-Jun-2024 22:22:10.308 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39475"] 11-Jun-2024 22:22:10.313 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Jun-2024 22:22:10.316 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Jun-2024 22:22:10.338 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.338 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.355 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40425"] 11-Jun-2024 22:22:10.359 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40425"] 11-Jun-2024 22:22:10.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40425"] 11-Jun-2024 22:22:10.366 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40425"] 11-Jun-2024 22:22:10.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Jun-2024 22:22:10.375 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Jun-2024 22:22:10.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Jun-2024 22:22:10.380 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Jun-2024 22:22:10.438 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.438 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33601"] 11-Jun-2024 22:22:10.451 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33601"] 11-Jun-2024 22:22:10.452 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.454 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33601"] 11-Jun-2024 22:22:10.455 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33601"] 11-Jun-2024 22:22:10.459 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Jun-2024 22:22:10.460 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-Jun-2024 22:22:10.474 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.474 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.498 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35625"] 11-Jun-2024 22:22:10.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35625"] 11-Jun-2024 22:22:10.509 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35625"] 11-Jun-2024 22:22:10.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35625"] 11-Jun-2024 22:22:10.521 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Jun-2024 22:22:10.524 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-Jun-2024 22:22:10.532 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.532 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.541 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40327"] 11-Jun-2024 22:22:10.546 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40327"] 11-Jun-2024 22:22:10.547 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40327"] 11-Jun-2024 22:22:10.549 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40327"] 11-Jun-2024 22:22:10.555 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Jun-2024 22:22:10.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 11-Jun-2024 22:22:10.567 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44821"] 11-Jun-2024 22:22:10.575 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44821"] 11-Jun-2024 22:22:10.576 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.578 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44821"] 11-Jun-2024 22:22:10.579 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44821"] 11-Jun-2024 22:22:10.581 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Jun-2024 22:22:10.582 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 11-Jun-2024 22:22:10.583 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Jun-2024 22:22:10.584 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 11-Jun-2024 22:22:10.591 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.592 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.597 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40417"] 11-Jun-2024 22:22:10.604 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40417"] 11-Jun-2024 22:22:10.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40417"] 11-Jun-2024 22:22:10.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40417"] 11-Jun-2024 22:22:10.611 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Jun-2024 22:22:10.612 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 11-Jun-2024 22:22:10.627 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.627 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.636 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36401"] 11-Jun-2024 22:22:10.642 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36401"] 11-Jun-2024 22:22:10.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.648 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36401"] 11-Jun-2024 22:22:10.650 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36401"] 11-Jun-2024 22:22:10.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Jun-2024 22:22:10.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 11-Jun-2024 22:22:10.668 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jun-2024 22:22:10.668 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.25-dev] 11-Jun-2024 22:22:10.678 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35623"] 11-Jun-2024 22:22:10.682 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35623"] 11-Jun-2024 22:22:10.683 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jun-2024 22:22:10.685 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35623"] 11-Jun-2024 22:22:10.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35623"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.083 sec Testcase: testUseContentTypeExpiresConfiguration took 0.243 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.418 sec Testcase: testConfiguration took 0.068 sec Testcase: testNullContentType took 0.059 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.082 sec Testcase: testUseDefaultConfiguration2 took 0.062 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.035 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.028 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.043 sec Testcase: testEmptyContent took 0.038 sec