Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.871 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 10 May 2024 15:16:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 10 May 2024 15:19:10 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 10 May 2024 15:16:10 GMT Expires: Fri, 10 May 2024 15:23:11 GMT Keep-Alive: timeout=3 ETag: W/"971-1715353403821" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 10 May 2024 15:17:11 GMT Content-Length: 0 Date: Fri, 10 May 2024 15:16:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 10 May 2024 15:17:11 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Fri, 10 May 2024 15:17:11 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 10 May 2024 15:23:11 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 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, 10 May 2024 15:16:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 10 May 2024 15:16:11 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 10 May 2024 15:21:11 GMT Content-Length: 11 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Fri, 10 May 2024 15:23:11 GMT Content-Length: 0 Date: Fri, 10 May 2024 15:16:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 10-May-2024 15:16:09.201 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 10-May-2024 15:16:10.140 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-May-2024 15:16:10.185 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:10.185 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:10.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-40177"] 10-May-2024 15:16:10.726 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-40177"] 10-May-2024 15:16:10.731 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:10.758 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-40177"] 10-May-2024 15:16:10.772 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-40177"] 10-May-2024 15:16:10.782 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 10-May-2024 15:16:10.784 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-May-2024 15:16:10.785 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:10.785 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:10.803 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41139"] 10-May-2024 15:16:10.854 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41139"] 10-May-2024 15:16:10.856 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:10.863 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41139"] 10-May-2024 15:16:10.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41139"] 10-May-2024 15:16:10.875 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 10-May-2024 15:16:10.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-May-2024 15:16:10.883 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 10-May-2024 15:16:10.897 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-May-2024 15:16:10.898 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:10.898 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.002 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 10-May-2024 15:16:11.142 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38867"] 10-May-2024 15:16:11.171 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38867"] 10-May-2024 15:16:11.174 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.180 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38867"] 10-May-2024 15:16:11.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38867"] 10-May-2024 15:16:11.186 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 10-May-2024 15:16:11.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-May-2024 15:16:11.188 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.189 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.199 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38633"] 10-May-2024 15:16:11.202 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38633"] 10-May-2024 15:16:11.204 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38633"] 10-May-2024 15:16:11.223 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38633"] 10-May-2024 15:16:11.225 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 10-May-2024 15:16:11.226 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-May-2024 15:16:11.227 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.228 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34151"] 10-May-2024 15:16:11.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34151"] 10-May-2024 15:16:11.295 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.297 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34151"] 10-May-2024 15:16:11.301 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34151"] 10-May-2024 15:16:11.304 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 10-May-2024 15:16:11.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-May-2024 15:16:11.306 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 10-May-2024 15:16:11.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-May-2024 15:16:11.310 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.311 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.341 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38961"] 10-May-2024 15:16:11.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38961"] 10-May-2024 15:16:11.377 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.379 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38961"] 10-May-2024 15:16:11.388 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38961"] 10-May-2024 15:16:11.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 10-May-2024 15:16:11.391 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-May-2024 15:16:11.392 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.392 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.402 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41581"] 10-May-2024 15:16:11.426 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41581"] 10-May-2024 15:16:11.429 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.430 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41581"] 10-May-2024 15:16:11.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41581"] 10-May-2024 15:16:11.435 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 10-May-2024 15:16:11.437 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-May-2024 15:16:11.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40493"] 10-May-2024 15:16:11.472 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40493"] 10-May-2024 15:16:11.475 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40493"] 10-May-2024 15:16:11.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40493"] 10-May-2024 15:16:11.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 10-May-2024 15:16:11.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 10-May-2024 15:16:11.487 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.487 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.493 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43707"] 10-May-2024 15:16:11.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43707"] 10-May-2024 15:16:11.518 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.519 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43707"] 10-May-2024 15:16:11.529 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43707"] 10-May-2024 15:16:11.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 10-May-2024 15:16:11.531 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 10-May-2024 15:16:11.532 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 10-May-2024 15:16:11.533 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 10-May-2024 15:16:11.534 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.534 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.544 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44751"] 10-May-2024 15:16:11.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44751"] 10-May-2024 15:16:11.582 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.584 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44751"] 10-May-2024 15:16:11.587 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44751"] 10-May-2024 15:16:11.588 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 10-May-2024 15:16:11.590 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 10-May-2024 15:16:11.590 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.591 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-43309"] 10-May-2024 15:16:11.615 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-43309"] 10-May-2024 15:16:11.617 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.619 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-43309"] 10-May-2024 15:16:11.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-43309"] 10-May-2024 15:16:11.623 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 10-May-2024 15:16:11.624 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 10-May-2024 15:16:11.624 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2024 15:16:11.624 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 10-May-2024 15:16:11.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-36275"] 10-May-2024 15:16:11.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-36275"] 10-May-2024 15:16:11.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2024 15:16:11.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-36275"] 10-May-2024 15:16:11.655 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-36275"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.915 sec Testcase: testUseContentTypeExpiresConfiguration took 0.093 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.303 sec Testcase: testConfiguration took 0.038 sec Testcase: testNullContentType took 0.078 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.003 sec Testcase: testUseDefaultConfiguration1 took 0.084 sec Testcase: testUseDefaultConfiguration2 took 0.046 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.047 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.056 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.035 sec