Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.412 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 10 May 2023 12:25:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Wed, 10 May 2023 12:28:10 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 10 May 2023 12:25:10 GMT Expires: Wed, 10 May 2023 12:32:11 GMT Keep-Alive: timeout=3 ETag: W/"971-1683720508758" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 10 May 2023 12:26:11 GMT Content-Length: 0 Date: Wed, 10 May 2023 12:25:10 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 10 May 2023 12:26:11 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 10 May 2023 12:26:11 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 10 May 2023 12:32:11 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25: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: Wed, 10 May 2023 12:25:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 10 May 2023 12:25:11 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 10 May 2023 12:30:11 GMT Content-Length: 11 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 10 May 2023 12:32:11 GMT Content-Length: 0 Date: Wed, 10 May 2023 12:25:10 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 10-May-2023 12:25:09.469 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 10-May-2023 12:25:10.099 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-May-2023 12:25:10.149 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:10.163 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:10.380 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 10-May-2023 12:25:10.600 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 10-May-2023 12:25:10.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:10.634 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 10-May-2023 12:25:10.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 10-May-2023 12:25:10.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 10-May-2023 12:25:10.657 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-May-2023 12:25:10.658 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:10.659 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:10.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45417"] 10-May-2023 12:25:10.714 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45417"] 10-May-2023 12:25:10.716 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:10.719 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45417"] 10-May-2023 12:25:10.723 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45417"] 10-May-2023 12:25:10.738 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 10-May-2023 12:25:10.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-May-2023 12:25:10.744 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 10-May-2023 12:25:10.779 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-May-2023 12:25:10.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:10.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:10.839 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 10-May-2023 12:25:11.003 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46525"] 10-May-2023 12:25:11.030 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46525"] 10-May-2023 12:25:11.034 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.042 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46525"] 10-May-2023 12:25:11.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46525"] 10-May-2023 12:25:11.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 10-May-2023 12:25:11.065 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-May-2023 12:25:11.065 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.066 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.099 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33527"] 10-May-2023 12:25:11.175 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33527"] 10-May-2023 12:25:11.175 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.178 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33527"] 10-May-2023 12:25:11.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33527"] 10-May-2023 12:25:11.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 10-May-2023 12:25:11.187 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-May-2023 12:25:11.188 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.188 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.202 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35659"] 10-May-2023 12:25:11.295 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35659"] 10-May-2023 12:25:11.300 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.303 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35659"] 10-May-2023 12:25:11.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35659"] 10-May-2023 12:25:11.308 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 10-May-2023 12:25:11.309 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-May-2023 12:25:11.310 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 10-May-2023 12:25:11.312 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-May-2023 12:25:11.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.338 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36483"] 10-May-2023 12:25:11.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36483"] 10-May-2023 12:25:11.376 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.378 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36483"] 10-May-2023 12:25:11.387 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36483"] 10-May-2023 12:25:11.392 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 10-May-2023 12:25:11.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-May-2023 12:25:11.394 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.402 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-40441"] 10-May-2023 12:25:11.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-40441"] 10-May-2023 12:25:11.431 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.435 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-40441"] 10-May-2023 12:25:11.438 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-40441"] 10-May-2023 12:25:11.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 10-May-2023 12:25:11.452 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-May-2023 12:25:11.453 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.454 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.473 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-45565"] 10-May-2023 12:25:11.484 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-45565"] 10-May-2023 12:25:11.485 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.487 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-45565"] 10-May-2023 12:25:11.489 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-45565"] 10-May-2023 12:25:11.490 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 10-May-2023 12:25:11.492 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 10-May-2023 12:25:11.492 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.492 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.496 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40681"] 10-May-2023 12:25:11.502 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40681"] 10-May-2023 12:25:11.505 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.506 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40681"] 10-May-2023 12:25:11.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40681"] 10-May-2023 12:25:11.511 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 10-May-2023 12:25:11.512 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 10-May-2023 12:25:11.512 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 10-May-2023 12:25:11.514 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 10-May-2023 12:25:11.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40639"] 10-May-2023 12:25:11.530 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40639"] 10-May-2023 12:25:11.533 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.535 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40639"] 10-May-2023 12:25:11.537 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40639"] 10-May-2023 12:25:11.538 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 10-May-2023 12:25:11.540 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 10-May-2023 12:25:11.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.540 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.545 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37897"] 10-May-2023 12:25:11.561 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37897"] 10-May-2023 12:25:11.563 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.565 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37897"] 10-May-2023 12:25:11.568 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37897"] 10-May-2023 12:25:11.570 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 10-May-2023 12:25:11.571 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 10-May-2023 12:25:11.572 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-May-2023 12:25:11.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 10-May-2023 12:25:11.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-42905"] 10-May-2023 12:25:11.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-42905"] 10-May-2023 12:25:11.592 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-May-2023 12:25:11.595 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-42905"] 10-May-2023 12:25:11.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-42905"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.382 sec Testcase: testUseContentTypeExpiresConfiguration took 0.083 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.32 sec Testcase: testConfiguration took 0.121 sec Testcase: testNullContentType took 0.124 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.081 sec Testcase: testUseDefaultConfiguration2 took 0.049 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.02 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.026 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.031 sec Testcase: testEmptyContent took 0.03 sec