Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.432 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 06 Feb 2024 23:31:30 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:34:30 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 06 Feb 2024 23:31:30 GMT Expires: Tue, 06 Feb 2024 23:38:31 GMT Keep-Alive: timeout=3 ETag: W/"971-1707260771256" 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 23:32:31 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 23:31:30 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:32:31 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 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 23:32:31 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 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 23:38:31 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 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 23:31:30 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 06 Feb 2024 23:31:31 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 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 23:36:31 GMT Content-Length: 11 Date: Tue, 06 Feb 2024 23:31:30 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 23:38:31 GMT Content-Length: 0 Date: Tue, 06 Feb 2024 23:31:30 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Feb-2024 23:31:28.982 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Feb-2024 23:31:30.049 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 06-Feb-2024 23:31:30.205 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:30.209 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:30.599 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41791"] 06-Feb-2024 23:31:30.723 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41791"] 06-Feb-2024 23:31:30.727 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:30.770 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41791"] 06-Feb-2024 23:31:30.772 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41791"] 06-Feb-2024 23:31:30.780 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Feb-2024 23:31:30.786 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 06-Feb-2024 23:31:30.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:30.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:30.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44923"] 06-Feb-2024 23:31:30.976 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44923"] 06-Feb-2024 23:31:30.981 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:30.984 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44923"] 06-Feb-2024 23:31:31.001 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44923"] 06-Feb-2024 23:31:31.007 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Feb-2024 23:31:31.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 06-Feb-2024 23:31:31.009 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Feb-2024 23:31:31.019 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 06-Feb-2024 23:31:31.096 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.096 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.193 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Feb-2024 23:31:31.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36367"] 06-Feb-2024 23:31:31.420 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36367"] 06-Feb-2024 23:31:31.421 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.427 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36367"] 06-Feb-2024 23:31:31.433 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36367"] 06-Feb-2024 23:31:31.443 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Feb-2024 23:31:31.445 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 06-Feb-2024 23:31:31.466 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.466 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.471 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35713"] 06-Feb-2024 23:31:31.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35713"] 06-Feb-2024 23:31:31.474 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.476 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35713"] 06-Feb-2024 23:31:31.477 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-35713"] 06-Feb-2024 23:31:31.480 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Feb-2024 23:31:31.482 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 06-Feb-2024 23:31:31.538 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.538 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.550 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44291"] 06-Feb-2024 23:31:31.563 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44291"] 06-Feb-2024 23:31:31.566 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.568 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44291"] 06-Feb-2024 23:31:31.569 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44291"] 06-Feb-2024 23:31:31.571 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Feb-2024 23:31:31.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 06-Feb-2024 23:31:31.573 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Feb-2024 23:31:31.574 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 06-Feb-2024 23:31:31.600 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.600 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.610 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45859"] 06-Feb-2024 23:31:31.622 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45859"] 06-Feb-2024 23:31:31.622 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.624 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45859"] 06-Feb-2024 23:31:31.625 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45859"] 06-Feb-2024 23:31:31.630 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Feb-2024 23:31:31.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 06-Feb-2024 23:31:31.644 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.645 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.651 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43647"] 06-Feb-2024 23:31:31.657 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43647"] 06-Feb-2024 23:31:31.660 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.661 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43647"] 06-Feb-2024 23:31:31.662 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43647"] 06-Feb-2024 23:31:31.664 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Feb-2024 23:31:31.665 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 06-Feb-2024 23:31:31.677 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.681 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35093"] 06-Feb-2024 23:31:31.705 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35093"] 06-Feb-2024 23:31:31.707 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35093"] 06-Feb-2024 23:31:31.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35093"] 06-Feb-2024 23:31:31.712 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Feb-2024 23:31:31.715 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 06-Feb-2024 23:31:31.790 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.790 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.803 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33169"] 06-Feb-2024 23:31:31.811 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33169"] 06-Feb-2024 23:31:31.813 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33169"] 06-Feb-2024 23:31:31.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33169"] 06-Feb-2024 23:31:31.820 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Feb-2024 23:31:31.821 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 06-Feb-2024 23:31:31.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Feb-2024 23:31:31.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 06-Feb-2024 23:31:31.848 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.848 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46193"] 06-Feb-2024 23:31:31.867 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46193"] 06-Feb-2024 23:31:31.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.871 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46193"] 06-Feb-2024 23:31:31.872 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46193"] 06-Feb-2024 23:31:31.874 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Feb-2024 23:31:31.876 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 06-Feb-2024 23:31:31.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.880 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37179"] 06-Feb-2024 23:31:31.894 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37179"] 06-Feb-2024 23:31:31.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.899 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37179"] 06-Feb-2024 23:31:31.899 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37179"] 06-Feb-2024 23:31:31.903 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Feb-2024 23:31:31.904 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 06-Feb-2024 23:31:31.922 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Feb-2024 23:31:31.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 06-Feb-2024 23:31:31.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37675"] 06-Feb-2024 23:31:31.929 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37675"] 06-Feb-2024 23:31:31.932 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Feb-2024 23:31:31.934 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37675"] 06-Feb-2024 23:31:31.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37675"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.194 sec Testcase: testUseContentTypeExpiresConfiguration took 0.227 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.434 sec Testcase: testConfiguration took 0.037 sec Testcase: testNullContentType took 0.091 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.058 sec Testcase: testUseDefaultConfiguration2 took 0.033 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.047 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.107 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.052 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.028 sec Testcase: testEmptyContent took 0.035 sec