Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.456 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 03 May 2024 09:30:54 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 03 May 2024 09:33:55 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:55 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 03 May 2024 09:30:55 GMT Expires: Fri, 03 May 2024 09:37:55 GMT Keep-Alive: timeout=3 ETag: W/"971-1714727081994" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:31:55 GMT Content-Length: 0 Date: Fri, 03 May 2024 09:30:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:31:55 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 09:31:55 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 09:37:56 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:55 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: Fri, 03 May 2024 09:30:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 03 May 2024 09:30:56 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:56 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 03 May 2024 09:35:56 GMT Content-Length: 11 Date: Fri, 03 May 2024 09:30:56 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 09:37:56 GMT Content-Length: 0 Date: Fri, 03 May 2024 09:30:56 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-May-2024 09:30:53.312 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-May-2024 09:30:54.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-May-2024 09:30:54.421 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:54.429 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:54.726 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32937"] 03-May-2024 09:30:54.933 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32937"] 03-May-2024 09:30:54.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:54.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32937"] 03-May-2024 09:30:54.984 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-32937"] 03-May-2024 09:30:55.009 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-May-2024 09:30:55.011 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-May-2024 09:30:55.069 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.098 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42887"] 03-May-2024 09:30:55.115 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42887"] 03-May-2024 09:30:55.115 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.119 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42887"] 03-May-2024 09:30:55.121 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42887"] 03-May-2024 09:30:55.137 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-May-2024 09:30:55.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-May-2024 09:30:55.151 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-May-2024 09:30:55.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-May-2024 09:30:55.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.295 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.387 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-May-2024 09:30:55.622 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36589"] 03-May-2024 09:30:55.632 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36589"] 03-May-2024 09:30:55.634 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.640 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36589"] 03-May-2024 09:30:55.641 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36589"] 03-May-2024 09:30:55.652 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-May-2024 09:30:55.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-May-2024 09:30:55.694 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.694 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.715 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42841"] 03-May-2024 09:30:55.727 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42841"] 03-May-2024 09:30:55.733 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.743 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42841"] 03-May-2024 09:30:55.744 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42841"] 03-May-2024 09:30:55.747 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-May-2024 09:30:55.749 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-May-2024 09:30:55.778 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.778 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44257"] 03-May-2024 09:30:55.823 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44257"] 03-May-2024 09:30:55.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44257"] 03-May-2024 09:30:55.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44257"] 03-May-2024 09:30:55.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-May-2024 09:30:55.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-May-2024 09:30:55.838 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-May-2024 09:30:55.840 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-May-2024 09:30:55.924 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.924 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.930 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42299"] 03-May-2024 09:30:55.935 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42299"] 03-May-2024 09:30:55.937 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.939 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42299"] 03-May-2024 09:30:55.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-42299"] 03-May-2024 09:30:55.944 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-May-2024 09:30:55.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-May-2024 09:30:55.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:55.960 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:55.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46127"] 03-May-2024 09:30:55.980 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46127"] 03-May-2024 09:30:55.982 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:55.984 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46127"] 03-May-2024 09:30:55.985 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46127"] 03-May-2024 09:30:55.991 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-May-2024 09:30:55.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-May-2024 09:30:56.003 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:56.004 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:56.009 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42583"] 03-May-2024 09:30:56.013 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42583"] 03-May-2024 09:30:56.017 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:56.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42583"] 03-May-2024 09:30:56.019 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42583"] 03-May-2024 09:30:56.022 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-May-2024 09:30:56.023 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-May-2024 09:30:56.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:56.037 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:56.045 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38513"] 03-May-2024 09:30:56.048 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38513"] 03-May-2024 09:30:56.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:56.051 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38513"] 03-May-2024 09:30:56.051 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38513"] 03-May-2024 09:30:56.055 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-May-2024 09:30:56.070 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-May-2024 09:30:56.071 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-May-2024 09:30:56.072 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-May-2024 09:30:56.115 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:56.115 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:56.126 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40071"] 03-May-2024 09:30:56.133 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40071"] 03-May-2024 09:30:56.134 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:56.135 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40071"] 03-May-2024 09:30:56.135 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40071"] 03-May-2024 09:30:56.151 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-May-2024 09:30:56.152 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-May-2024 09:30:56.193 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:56.193 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:56.200 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39389"] 03-May-2024 09:30:56.205 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39389"] 03-May-2024 09:30:56.207 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:56.208 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39389"] 03-May-2024 09:30:56.225 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39389"] 03-May-2024 09:30:56.227 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-May-2024 09:30:56.232 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-May-2024 09:30:56.244 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 09:30:56.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 09:30:56.248 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39519"] 03-May-2024 09:30:56.255 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39519"] 03-May-2024 09:30:56.258 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 09:30:56.260 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39519"] 03-May-2024 09:30:56.261 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-39519"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.093 sec Testcase: testUseContentTypeExpiresConfiguration took 0.129 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.01 sec Testcase: testBug63909 took 0.505 sec Testcase: testConfiguration took 0.095 sec Testcase: testNullContentType took 0.089 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.106 sec Testcase: testUseDefaultConfiguration2 took 0.046 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.033 sec Testcase: testIntsToCommaDelimitedString took 0.016 sec Testcase: testSkipBecauseExpiresIsDefined took 0.08 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.076 sec Testcase: testEmptyContent took 0.037 sec