Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.678 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 02 May 2023 14:20:45 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 02 May 2023 14:23:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 02 May 2023 14:20:46 GMT Expires: Tue, 02 May 2023 14:27:46 GMT Keep-Alive: timeout=3 ETag: W/"971-1683036271566" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:21:46 GMT Content-Length: 0 Date: Tue, 02 May 2023 14:20:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:21:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:21:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 02 May 2023 14:27:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 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: Tue, 02 May 2023 14:20:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 02 May 2023 14:20:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 02 May 2023 14:25:46 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 02 May 2023 14:27:46 GMT Content-Length: 0 Date: Tue, 02 May 2023 14:20:46 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 02-May-2023 14:20:44.694 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 02-May-2023 14:20:45.456 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 02-May-2023 14:20:45.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:45.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:45.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37177"] 02-May-2023 14:20:46.003 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37177"] 02-May-2023 14:20:46.006 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.041 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37177"] 02-May-2023 14:20:46.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37177"] 02-May-2023 14:20:46.061 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 02-May-2023 14:20:46.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 02-May-2023 14:20:46.065 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.065 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.072 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-41109"] 02-May-2023 14:20:46.140 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-41109"] 02-May-2023 14:20:46.142 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.145 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-41109"] 02-May-2023 14:20:46.149 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-41109"] 02-May-2023 14:20:46.152 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 02-May-2023 14:20:46.153 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 02-May-2023 14:20:46.160 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 02-May-2023 14:20:46.177 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 02-May-2023 14:20:46.178 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.178 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.259 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 02-May-2023 14:20:46.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40977"] 02-May-2023 14:20:46.414 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40977"] 02-May-2023 14:20:46.417 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.425 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40977"] 02-May-2023 14:20:46.439 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40977"] 02-May-2023 14:20:46.441 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 02-May-2023 14:20:46.443 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 02-May-2023 14:20:46.444 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.444 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.459 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-35757"] 02-May-2023 14:20:46.510 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-35757"] 02-May-2023 14:20:46.513 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.517 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-35757"] 02-May-2023 14:20:46.519 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-35757"] 02-May-2023 14:20:46.521 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 02-May-2023 14:20:46.524 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 02-May-2023 14:20:46.527 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.527 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.542 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40917"] 02-May-2023 14:20:46.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40917"] 02-May-2023 14:20:46.555 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.558 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40917"] 02-May-2023 14:20:46.562 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40917"] 02-May-2023 14:20:46.564 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 02-May-2023 14:20:46.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 02-May-2023 14:20:46.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 02-May-2023 14:20:46.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 02-May-2023 14:20:46.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36699"] 02-May-2023 14:20:46.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36699"] 02-May-2023 14:20:46.599 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36699"] 02-May-2023 14:20:46.605 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36699"] 02-May-2023 14:20:46.609 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 02-May-2023 14:20:46.612 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 02-May-2023 14:20:46.612 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.613 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.623 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36791"] 02-May-2023 14:20:46.632 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36791"] 02-May-2023 14:20:46.638 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36791"] 02-May-2023 14:20:46.644 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36791"] 02-May-2023 14:20:46.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 02-May-2023 14:20:46.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 02-May-2023 14:20:46.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.667 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42003"] 02-May-2023 14:20:46.689 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42003"] 02-May-2023 14:20:46.692 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42003"] 02-May-2023 14:20:46.713 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42003"] 02-May-2023 14:20:46.716 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 02-May-2023 14:20:46.718 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 02-May-2023 14:20:46.718 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.718 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.723 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33023"] 02-May-2023 14:20:46.761 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33023"] 02-May-2023 14:20:46.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.766 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33023"] 02-May-2023 14:20:46.768 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33023"] 02-May-2023 14:20:46.770 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 02-May-2023 14:20:46.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 02-May-2023 14:20:46.772 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 02-May-2023 14:20:46.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 02-May-2023 14:20:46.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.790 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-36065"] 02-May-2023 14:20:46.834 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-36065"] 02-May-2023 14:20:46.836 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.840 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-36065"] 02-May-2023 14:20:46.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-36065"] 02-May-2023 14:20:46.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 02-May-2023 14:20:46.850 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 02-May-2023 14:20:46.851 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.851 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.871 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33341"] 02-May-2023 14:20:46.946 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33341"] 02-May-2023 14:20:46.948 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33341"] 02-May-2023 14:20:46.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33341"] 02-May-2023 14:20:46.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 02-May-2023 14:20:46.957 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 02-May-2023 14:20:46.957 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:20:46.957 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:20:46.962 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-43747"] 02-May-2023 14:20:46.975 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-43747"] 02-May-2023 14:20:46.980 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:20:46.982 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-43747"] 02-May-2023 14:20:47.003 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-43747"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.647 sec Testcase: testUseContentTypeExpiresConfiguration took 0.09 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.282 sec Testcase: testConfiguration took 0.08 sec Testcase: testNullContentType took 0.042 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.043 sec Testcase: testUseDefaultConfiguration2 took 0.04 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.066 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.055 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.076 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.106 sec Testcase: testEmptyContent took 0.05 sec