Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.801 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 03 May 2023 17:28:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 03 May 2023 17:31:53 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 03 May 2023 17:28:53 GMT Expires: Wed, 03 May 2023 17:35:53 GMT Keep-Alive: timeout=3 ETag: W/"971-1683132902593" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 03 May 2023 17:29:53 GMT Content-Length: 0 Date: Wed, 03 May 2023 17:28:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 03 May 2023 17:29:54 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 03 May 2023 17:29:54 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 03 May 2023 17:35:54 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 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: Wed, 03 May 2023 17:28:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 03 May 2023 17:28:54 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 03 May 2023 17:33:54 GMT Content-Length: 11 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Wed, 03 May 2023 17:35:54 GMT Content-Length: 0 Date: Wed, 03 May 2023 17:28:53 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-May-2023 17:28:51.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-May-2023 17:28:52.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-May-2023 17:28:52.854 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:52.854 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:53.112 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46815"] 03-May-2023 17:28:53.309 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46815"] 03-May-2023 17:28:53.311 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:53.338 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46815"] 03-May-2023 17:28:53.348 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46815"] 03-May-2023 17:28:53.368 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-May-2023 17:28:53.370 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-May-2023 17:28:53.424 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:53.424 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:53.433 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 03-May-2023 17:28:53.460 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 03-May-2023 17:28:53.461 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:53.464 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 03-May-2023 17:28:53.465 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44663"] 03-May-2023 17:28:53.468 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-May-2023 17:28:53.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-May-2023 17:28:53.480 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-May-2023 17:28:53.488 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-May-2023 17:28:53.506 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:53.507 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:53.614 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-May-2023 17:28:53.856 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42017"] 03-May-2023 17:28:53.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42017"] 03-May-2023 17:28:53.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:53.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42017"] 03-May-2023 17:28:53.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42017"] 03-May-2023 17:28:53.889 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-May-2023 17:28:53.891 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-May-2023 17:28:53.927 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:53.927 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:53.939 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39243"] 03-May-2023 17:28:53.941 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39243"] 03-May-2023 17:28:53.942 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:53.945 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39243"] 03-May-2023 17:28:53.946 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-39243"] 03-May-2023 17:28:53.954 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-May-2023 17:28:53.959 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-May-2023 17:28:53.972 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:53.972 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:53.982 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37915"] 03-May-2023 17:28:53.994 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37915"] 03-May-2023 17:28:53.996 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:53.998 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37915"] 03-May-2023 17:28:53.999 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37915"] 03-May-2023 17:28:54.003 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-May-2023 17:28:54.009 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-May-2023 17:28:54.012 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-May-2023 17:28:54.022 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-May-2023 17:28:54.028 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.028 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.036 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46527"] 03-May-2023 17:28:54.048 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46527"] 03-May-2023 17:28:54.049 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46527"] 03-May-2023 17:28:54.053 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46527"] 03-May-2023 17:28:54.060 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-May-2023 17:28:54.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-May-2023 17:28:54.066 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.066 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.070 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33543"] 03-May-2023 17:28:54.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33543"] 03-May-2023 17:28:54.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.077 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33543"] 03-May-2023 17:28:54.078 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33543"] 03-May-2023 17:28:54.088 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-May-2023 17:28:54.091 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-May-2023 17:28:54.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.108 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35625"] 03-May-2023 17:28:54.112 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35625"] 03-May-2023 17:28:54.113 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.115 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35625"] 03-May-2023 17:28:54.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35625"] 03-May-2023 17:28:54.119 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-May-2023 17:28:54.121 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-May-2023 17:28:54.127 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.127 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.135 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-32953"] 03-May-2023 17:28:54.140 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-32953"] 03-May-2023 17:28:54.141 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.143 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-32953"] 03-May-2023 17:28:54.144 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-32953"] 03-May-2023 17:28:54.147 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-May-2023 17:28:54.148 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-May-2023 17:28:54.149 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-May-2023 17:28:54.150 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-May-2023 17:28:54.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.155 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.160 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41335"] 03-May-2023 17:28:54.165 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41335"] 03-May-2023 17:28:54.168 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.170 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41335"] 03-May-2023 17:28:54.171 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41335"] 03-May-2023 17:28:54.179 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-May-2023 17:28:54.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-May-2023 17:28:54.205 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.205 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.210 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35825"] 03-May-2023 17:28:54.215 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35825"] 03-May-2023 17:28:54.217 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.219 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35825"] 03-May-2023 17:28:54.220 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35825"] 03-May-2023 17:28:54.227 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-May-2023 17:28:54.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-May-2023 17:28:54.276 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2023 17:28:54.276 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 03-May-2023 17:28:54.283 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34569"] 03-May-2023 17:28:54.298 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34569"] 03-May-2023 17:28:54.305 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2023 17:28:54.307 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34569"] 03-May-2023 17:28:54.307 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34569"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.796 sec Testcase: testUseContentTypeExpiresConfiguration took 0.101 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.012 sec Testcase: testBug63909 took 0.407 sec Testcase: testConfiguration took 0.065 sec Testcase: testNullContentType took 0.049 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.007 sec Testcase: testUseDefaultConfiguration1 took 0.048 sec Testcase: testUseDefaultConfiguration2 took 0.03 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.031 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.027 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.03 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.048 sec Testcase: testEmptyContent took 0.09 sec