Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.669 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 24 May 2023 15:08:59 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 24 May 2023 15:11:59 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:08:59 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 24 May 2023 15:08:59 GMT Expires: Wed, 24 May 2023 15:16:00 GMT Keep-Alive: timeout=3 ETag: W/"971-1684939959305" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 24 May 2023 15:10:00 GMT Content-Length: 0 Date: Wed, 24 May 2023 15:08:59 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 24 May 2023 15:10:00 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:08:59 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 24 May 2023 15:10:00 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:08:59 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 24 May 2023 15:16:00 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:08:59 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, 24 May 2023 15:08:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 24 May 2023 15:09:00 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:08:59 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 24 May 2023 15:14:00 GMT Content-Length: 11 Date: Wed, 24 May 2023 15:09:00 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Wed, 24 May 2023 15:16:00 GMT Content-Length: 0 Date: Wed, 24 May 2023 15:09:00 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 24-May-2023 15:08:58.731 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 24-May-2023 15:08:59.317 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 24-May-2023 15:08:59.367 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:08:59.368 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:08:59.497 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35343"] 24-May-2023 15:08:59.666 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35343"] 24-May-2023 15:08:59.668 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:08:59.688 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35343"] 24-May-2023 15:08:59.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35343"] 24-May-2023 15:08:59.704 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 24-May-2023 15:08:59.706 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 24-May-2023 15:08:59.707 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:08:59.707 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:08:59.720 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45447"] 24-May-2023 15:08:59.770 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45447"] 24-May-2023 15:08:59.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:08:59.778 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45447"] 24-May-2023 15:08:59.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45447"] 24-May-2023 15:08:59.798 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 24-May-2023 15:08:59.805 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 24-May-2023 15:08:59.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 24-May-2023 15:08:59.850 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 24-May-2023 15:08:59.867 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:08:59.869 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:08:59.941 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 24-May-2023 15:09:00.143 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35387"] 24-May-2023 15:09:00.158 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35387"] 24-May-2023 15:09:00.160 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35387"] 24-May-2023 15:09:00.174 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35387"] 24-May-2023 15:09:00.176 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 24-May-2023 15:09:00.178 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 24-May-2023 15:09:00.179 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.179 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.184 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45707"] 24-May-2023 15:09:00.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45707"] 24-May-2023 15:09:00.240 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.244 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45707"] 24-May-2023 15:09:00.247 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45707"] 24-May-2023 15:09:00.248 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 24-May-2023 15:09:00.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 24-May-2023 15:09:00.251 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.267 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42075"] 24-May-2023 15:09:00.334 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42075"] 24-May-2023 15:09:00.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42075"] 24-May-2023 15:09:00.344 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42075"] 24-May-2023 15:09:00.346 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 24-May-2023 15:09:00.347 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 24-May-2023 15:09:00.350 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 24-May-2023 15:09:00.352 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 24-May-2023 15:09:00.353 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.353 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.372 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38019"] 24-May-2023 15:09:00.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38019"] 24-May-2023 15:09:00.416 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.418 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38019"] 24-May-2023 15:09:00.427 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38019"] 24-May-2023 15:09:00.429 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 24-May-2023 15:09:00.431 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 24-May-2023 15:09:00.432 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.432 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.448 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-38537"] 24-May-2023 15:09:00.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-38537"] 24-May-2023 15:09:00.503 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.505 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-38537"] 24-May-2023 15:09:00.510 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-38537"] 24-May-2023 15:09:00.512 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 24-May-2023 15:09:00.513 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 24-May-2023 15:09:00.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34705"] 24-May-2023 15:09:00.628 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34705"] 24-May-2023 15:09:00.631 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34705"] 24-May-2023 15:09:00.639 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34705"] 24-May-2023 15:09:00.643 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 24-May-2023 15:09:00.655 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 24-May-2023 15:09:00.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.656 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.666 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33177"] 24-May-2023 15:09:00.690 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33177"] 24-May-2023 15:09:00.692 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.695 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33177"] 24-May-2023 15:09:00.699 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33177"] 24-May-2023 15:09:00.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 24-May-2023 15:09:00.701 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 24-May-2023 15:09:00.702 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 24-May-2023 15:09:00.704 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 24-May-2023 15:09:00.705 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.705 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.712 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-39287"] 24-May-2023 15:09:00.763 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-39287"] 24-May-2023 15:09:00.766 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.768 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-39287"] 24-May-2023 15:09:00.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-39287"] 24-May-2023 15:09:00.773 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 24-May-2023 15:09:00.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 24-May-2023 15:09:00.776 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.787 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-38009"] 24-May-2023 15:09:00.850 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-38009"] 24-May-2023 15:09:00.851 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-38009"] 24-May-2023 15:09:00.860 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-38009"] 24-May-2023 15:09:00.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 24-May-2023 15:09:00.863 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 24-May-2023 15:09:00.864 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-May-2023 15:09:00.864 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 24-May-2023 15:09:00.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-35499"] 24-May-2023 15:09:00.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-35499"] 24-May-2023 15:09:00.897 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-May-2023 15:09:00.900 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-35499"] 24-May-2023 15:09:00.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-35499"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.374 sec Testcase: testUseContentTypeExpiresConfiguration took 0.094 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.016 sec Testcase: testBug63909 took 0.36 sec Testcase: testConfiguration took 0.072 sec Testcase: testNullContentType took 0.097 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.08 sec Testcase: testUseDefaultConfiguration2 took 0.083 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.129 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.058 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.07 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.088 sec Testcase: testEmptyContent took 0.045 sec