Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.222 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 06 Feb 2024 10:06:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:09:58 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 06 Feb 2024 10:06:58 GMT Expires: Tue, 06 Feb 2024 10:13:59 GMT Keep-Alive: timeout=3 ETag: W/"971-1707213202607" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:07:59 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 10:06:58 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:07:59 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:07:59 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:13:59 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 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, 06 Feb 2024 10:06:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:06:59 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:11:59 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 06 Feb 2024 10:13:59 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 10:06:58 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Feb-2024 10:06:57.071 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Feb-2024 10:06:58.035 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Feb-2024 10:06:58.120 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:58.130 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:58.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33531"] 06-Feb-2024 10:06:58.714 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33531"] 06-Feb-2024 10:06:58.715 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:58.743 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33531"] 06-Feb-2024 10:06:58.750 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33531"] 06-Feb-2024 10:06:58.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Feb-2024 10:06:58.758 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Feb-2024 10:06:58.759 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:58.760 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:58.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44445"] 06-Feb-2024 10:06:58.816 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44445"] 06-Feb-2024 10:06:58.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:58.822 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44445"] 06-Feb-2024 10:06:58.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44445"] 06-Feb-2024 10:06:58.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Feb-2024 10:06:58.842 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Feb-2024 10:06:58.842 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Feb-2024 10:06:58.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Feb-2024 10:06:58.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:58.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:58.928 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Feb-2024 10:06:59.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37651"] 06-Feb-2024 10:06:59.302 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37651"] 06-Feb-2024 10:06:59.303 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.313 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37651"] 06-Feb-2024 10:06:59.318 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37651"] 06-Feb-2024 10:06:59.319 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Feb-2024 10:06:59.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Feb-2024 10:06:59.323 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.323 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.328 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41139"] 06-Feb-2024 10:06:59.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41139"] 06-Feb-2024 10:06:59.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41139"] 06-Feb-2024 10:06:59.340 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41139"] 06-Feb-2024 10:06:59.343 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Feb-2024 10:06:59.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Feb-2024 10:06:59.346 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.350 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43219"] 06-Feb-2024 10:06:59.363 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43219"] 06-Feb-2024 10:06:59.366 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.368 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43219"] 06-Feb-2024 10:06:59.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43219"] 06-Feb-2024 10:06:59.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Feb-2024 10:06:59.375 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Feb-2024 10:06:59.377 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Feb-2024 10:06:59.382 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Feb-2024 10:06:59.383 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.383 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.394 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36887"] 06-Feb-2024 10:06:59.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36887"] 06-Feb-2024 10:06:59.432 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.434 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36887"] 06-Feb-2024 10:06:59.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36887"] 06-Feb-2024 10:06:59.440 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Feb-2024 10:06:59.442 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Feb-2024 10:06:59.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.443 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.447 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-45367"] 06-Feb-2024 10:06:59.463 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-45367"] 06-Feb-2024 10:06:59.464 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.465 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-45367"] 06-Feb-2024 10:06:59.471 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-45367"] 06-Feb-2024 10:06:59.473 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Feb-2024 10:06:59.476 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Feb-2024 10:06:59.476 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.494 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38215"] 06-Feb-2024 10:06:59.504 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38215"] 06-Feb-2024 10:06:59.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38215"] 06-Feb-2024 10:06:59.514 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38215"] 06-Feb-2024 10:06:59.515 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Feb-2024 10:06:59.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Feb-2024 10:06:59.519 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.519 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.531 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40053"] 06-Feb-2024 10:06:59.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40053"] 06-Feb-2024 10:06:59.606 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.608 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40053"] 06-Feb-2024 10:06:59.611 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40053"] 06-Feb-2024 10:06:59.612 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Feb-2024 10:06:59.613 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Feb-2024 10:06:59.614 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Feb-2024 10:06:59.615 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Feb-2024 10:06:59.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.620 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41379"] 06-Feb-2024 10:06:59.670 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41379"] 06-Feb-2024 10:06:59.673 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.675 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41379"] 06-Feb-2024 10:06:59.688 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41379"] 06-Feb-2024 10:06:59.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Feb-2024 10:06:59.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Feb-2024 10:06:59.691 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.691 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.702 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39073"] 06-Feb-2024 10:06:59.760 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39073"] 06-Feb-2024 10:06:59.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.764 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39073"] 06-Feb-2024 10:06:59.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39073"] 06-Feb-2024 10:06:59.769 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Feb-2024 10:06:59.770 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Feb-2024 10:06:59.771 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 10:06:59.771 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 10:06:59.782 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38663"] 06-Feb-2024 10:06:59.802 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38663"] 06-Feb-2024 10:06:59.805 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 10:06:59.806 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38663"] 06-Feb-2024 10:06:59.811 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38663"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.054 sec Testcase: testUseContentTypeExpiresConfiguration took 0.078 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.477 sec Testcase: testConfiguration took 0.023 sec Testcase: testNullContentType took 0.032 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.063 sec Testcase: testUseDefaultConfiguration2 took 0.032 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.043 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.097 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.076 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.079 sec Testcase: testEmptyContent took 0.043 sec