Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.483 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sat, 13 May 2023 12:32:05 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sat, 13 May 2023 12:35:05 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: text/xml;charset=utf-8 Date: Sat, 13 May 2023 12:32:05 GMT Expires: Sat, 13 May 2023 12:39:05 GMT Keep-Alive: timeout=3 ETag: W/"971-1683980139794" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 12:33:05 GMT Content-Length: 0 Date: Sat, 13 May 2023 12:32:05 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 12:33:06 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 12:33:06 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 12:39:06 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 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: Sat, 13 May 2023 12:32:05 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sat, 13 May 2023 12:32:06 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sat, 13 May 2023 12:37:06 GMT Content-Length: 11 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Sat, 13 May 2023 12:39:06 GMT Content-Length: 0 Date: Sat, 13 May 2023 12:32:05 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-May-2023 12:32:04.043 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-May-2023 12:32:04.765 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-May-2023 12:32:04.815 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:04.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.061 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-32793"] 13-May-2023 12:32:05.253 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-32793"] 13-May-2023 12:32:05.257 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:05.287 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-32793"] 13-May-2023 12:32:05.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-32793"] 13-May-2023 12:32:05.322 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-May-2023 12:32:05.325 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-May-2023 12:32:05.326 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:05.327 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.341 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38015"] 13-May-2023 12:32:05.384 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38015"] 13-May-2023 12:32:05.390 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:05.393 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38015"] 13-May-2023 12:32:05.398 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38015"] 13-May-2023 12:32:05.400 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-May-2023 12:32:05.401 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-May-2023 12:32:05.402 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-May-2023 12:32:05.429 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-May-2023 12:32:05.430 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:05.430 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.573 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-May-2023 12:32:05.866 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38109"] 13-May-2023 12:32:05.922 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38109"] 13-May-2023 12:32:05.925 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:05.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38109"] 13-May-2023 12:32:05.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38109"] 13-May-2023 12:32:05.938 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-May-2023 12:32:05.940 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-May-2023 12:32:05.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:05.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 13-May-2023 12:32:05.951 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 13-May-2023 12:32:05.952 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:05.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 13-May-2023 12:32:05.958 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45809"] 13-May-2023 12:32:05.961 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-May-2023 12:32:05.963 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-May-2023 12:32:05.964 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:05.964 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.969 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33395"] 13-May-2023 12:32:05.980 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33395"] 13-May-2023 12:32:05.983 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:05.985 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33395"] 13-May-2023 12:32:05.987 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33395"] 13-May-2023 12:32:05.989 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-May-2023 12:32:05.990 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-May-2023 12:32:05.991 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-May-2023 12:32:05.993 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-May-2023 12:32:05.993 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:05.993 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:05.999 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42237"] 13-May-2023 12:32:06.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42237"] 13-May-2023 12:32:06.015 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.018 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42237"] 13-May-2023 12:32:06.020 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42237"] 13-May-2023 12:32:06.023 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-May-2023 12:32:06.025 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-May-2023 12:32:06.026 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.027 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41941"] 13-May-2023 12:32:06.038 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41941"] 13-May-2023 12:32:06.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.040 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41941"] 13-May-2023 12:32:06.042 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41941"] 13-May-2023 12:32:06.043 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-May-2023 12:32:06.044 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-May-2023 12:32:06.045 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.045 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.049 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-41483"] 13-May-2023 12:32:06.059 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-41483"] 13-May-2023 12:32:06.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.064 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-41483"] 13-May-2023 12:32:06.067 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-41483"] 13-May-2023 12:32:06.068 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-May-2023 12:32:06.069 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 13-May-2023 12:32:06.070 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.070 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.074 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-35675"] 13-May-2023 12:32:06.088 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-35675"] 13-May-2023 12:32:06.091 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.093 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-35675"] 13-May-2023 12:32:06.096 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-35675"] 13-May-2023 12:32:06.098 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-May-2023 12:32:06.098 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 13-May-2023 12:32:06.099 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-May-2023 12:32:06.101 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 13-May-2023 12:32:06.101 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.102 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41027"] 13-May-2023 12:32:06.118 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41027"] 13-May-2023 12:32:06.120 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.122 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41027"] 13-May-2023 12:32:06.124 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41027"] 13-May-2023 12:32:06.125 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-May-2023 12:32:06.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 13-May-2023 12:32:06.127 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.127 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.132 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-40681"] 13-May-2023 12:32:06.146 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-40681"] 13-May-2023 12:32:06.147 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.149 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-40681"] 13-May-2023 12:32:06.153 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-40681"] 13-May-2023 12:32:06.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-May-2023 12:32:06.156 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 13-May-2023 12:32:06.156 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 12:32:06.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 12:32:06.161 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33905"] 13-May-2023 12:32:06.173 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33905"] 13-May-2023 12:32:06.175 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 12:32:06.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33905"] 13-May-2023 12:32:06.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33905"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.504 sec Testcase: testUseContentTypeExpiresConfiguration took 0.079 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.534 sec Testcase: testConfiguration took 0.023 sec Testcase: testNullContentType took 0.028 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.031 sec Testcase: testUseDefaultConfiguration2 took 0.02 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.029 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.026 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.027 sec