Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.526 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 11 May 2023 05:39:48 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 11 May 2023 05:42:48 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 11 May 2023 05:39:48 GMT Expires: Thu, 11 May 2023 05:46:48 GMT Keep-Alive: timeout=3 ETag: W/"971-1683782598925" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 05:40:48 GMT Content-Length: 0 Date: Thu, 11 May 2023 05:39:48 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 05:40:48 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Thu, 11 May 2023 05:40:48 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 05:46:48 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 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: Thu, 11 May 2023 05:39:48 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 11 May 2023 05:39:49 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 11 May 2023 05:44:49 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 05:46:49 GMT Content-Length: 0 Date: Thu, 11 May 2023 05:39:48 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-May-2023 05:39:46.844 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-May-2023 05:39:47.711 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-May-2023 05:39:47.783 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:47.784 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:47.994 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43131"] 11-May-2023 05:39:48.196 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43131"] 11-May-2023 05:39:48.202 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.234 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43131"] 11-May-2023 05:39:48.249 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43131"] 11-May-2023 05:39:48.276 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-May-2023 05:39:48.278 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-May-2023 05:39:48.284 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.285 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44029"] 11-May-2023 05:39:48.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44029"] 11-May-2023 05:39:48.407 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44029"] 11-May-2023 05:39:48.417 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44029"] 11-May-2023 05:39:48.419 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-May-2023 05:39:48.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-May-2023 05:39:48.421 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-May-2023 05:39:48.444 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-May-2023 05:39:48.445 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.445 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.565 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-May-2023 05:39:48.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36741"] 11-May-2023 05:39:48.793 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36741"] 11-May-2023 05:39:48.798 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36741"] 11-May-2023 05:39:48.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36741"] 11-May-2023 05:39:48.824 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-May-2023 05:39:48.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-May-2023 05:39:48.828 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37453"] 11-May-2023 05:39:48.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37453"] 11-May-2023 05:39:48.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.848 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37453"] 11-May-2023 05:39:48.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37453"] 11-May-2023 05:39:48.854 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-May-2023 05:39:48.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-May-2023 05:39:48.857 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.857 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.862 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39495"] 11-May-2023 05:39:48.874 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39495"] 11-May-2023 05:39:48.875 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.877 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39495"] 11-May-2023 05:39:48.880 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39495"] 11-May-2023 05:39:48.882 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-May-2023 05:39:48.883 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-May-2023 05:39:48.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-May-2023 05:39:48.886 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-May-2023 05:39:48.887 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.887 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.893 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-34791"] 11-May-2023 05:39:48.901 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-34791"] 11-May-2023 05:39:48.904 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.906 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-34791"] 11-May-2023 05:39:48.912 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-34791"] 11-May-2023 05:39:48.913 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-May-2023 05:39:48.916 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-May-2023 05:39:48.917 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.922 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37403"] 11-May-2023 05:39:48.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37403"] 11-May-2023 05:39:48.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37403"] 11-May-2023 05:39:48.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37403"] 11-May-2023 05:39:48.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-May-2023 05:39:48.942 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-May-2023 05:39:48.942 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.943 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42155"] 11-May-2023 05:39:48.961 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42155"] 11-May-2023 05:39:48.964 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42155"] 11-May-2023 05:39:48.969 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42155"] 11-May-2023 05:39:48.971 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-May-2023 05:39:48.972 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-May-2023 05:39:48.973 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:48.973 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:48.978 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-38977"] 11-May-2023 05:39:48.991 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-38977"] 11-May-2023 05:39:48.992 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:48.993 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-38977"] 11-May-2023 05:39:49.000 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-38977"] 11-May-2023 05:39:49.002 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-May-2023 05:39:49.003 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-May-2023 05:39:49.003 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-May-2023 05:39:49.004 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-May-2023 05:39:49.005 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:49.005 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:49.010 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-36593"] 11-May-2023 05:39:49.018 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-36593"] 11-May-2023 05:39:49.018 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:49.020 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-36593"] 11-May-2023 05:39:49.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-36593"] 11-May-2023 05:39:49.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-May-2023 05:39:49.025 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-May-2023 05:39:49.025 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:49.026 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:49.030 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-32817"] 11-May-2023 05:39:49.036 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-32817"] 11-May-2023 05:39:49.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:49.041 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-32817"] 11-May-2023 05:39:49.044 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-32817"] 11-May-2023 05:39:49.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-May-2023 05:39:49.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-May-2023 05:39:49.047 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:39:49.047 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:39:49.052 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33121"] 11-May-2023 05:39:49.066 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33121"] 11-May-2023 05:39:49.067 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:39:49.069 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33121"] 11-May-2023 05:39:49.072 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33121"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.654 sec Testcase: testUseContentTypeExpiresConfiguration took 0.143 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.403 sec Testcase: testConfiguration took 0.03 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.028 sec Testcase: testUseDefaultConfiguration2 took 0.026 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.031 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.02 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.02 sec Testcase: testEmptyContent took 0.027 sec