Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.178 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 26 Oct 2023 15:50:59 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:54:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 26 Oct 2023 15:51:00 GMT Expires: Thu, 26 Oct 2023 15:58:00 GMT Keep-Alive: timeout=3 ETag: W/"971-1698333512810" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:52:00 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 15:51:00 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:52:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:52:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:58:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 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: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:51:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:56:00 GMT Content-Length: 11 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 26 Oct 2023 15:58:00 GMT Content-Length: 0 Date: Thu, 26 Oct 2023 15:51:00 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 26-Oct-2023 15:50:58.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 26-Oct-2023 15:50:59.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 26-Oct-2023 15:50:59.556 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:50:59.559 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:50:59.718 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41725"] 26-Oct-2023 15:50:59.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41725"] 26-Oct-2023 15:50:59.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:50:59.910 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41725"] 26-Oct-2023 15:50:59.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41725"] 26-Oct-2023 15:50:59.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 26-Oct-2023 15:50:59.938 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 26-Oct-2023 15:51:00.006 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.007 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.022 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36765"] 26-Oct-2023 15:51:00.042 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36765"] 26-Oct-2023 15:51:00.043 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.046 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36765"] 26-Oct-2023 15:51:00.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36765"] 26-Oct-2023 15:51:00.051 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 26-Oct-2023 15:51:00.052 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 26-Oct-2023 15:51:00.052 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 26-Oct-2023 15:51:00.067 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 26-Oct-2023 15:51:00.118 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.118 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.228 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 26-Oct-2023 15:51:00.380 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38163"] 26-Oct-2023 15:51:00.389 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38163"] 26-Oct-2023 15:51:00.390 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.400 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38163"] 26-Oct-2023 15:51:00.401 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38163"] 26-Oct-2023 15:51:00.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 26-Oct-2023 15:51:00.405 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 26-Oct-2023 15:51:00.430 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.431 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.435 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36323"] 26-Oct-2023 15:51:00.436 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36323"] 26-Oct-2023 15:51:00.439 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.441 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36323"] 26-Oct-2023 15:51:00.441 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36323"] 26-Oct-2023 15:51:00.447 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 26-Oct-2023 15:51:00.448 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 26-Oct-2023 15:51:00.451 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.451 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.464 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35109"] 26-Oct-2023 15:51:00.475 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35109"] 26-Oct-2023 15:51:00.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.480 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35109"] 26-Oct-2023 15:51:00.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35109"] 26-Oct-2023 15:51:00.483 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 26-Oct-2023 15:51:00.483 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 26-Oct-2023 15:51:00.484 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 26-Oct-2023 15:51:00.485 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 26-Oct-2023 15:51:00.502 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.502 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.507 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36689"] 26-Oct-2023 15:51:00.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36689"] 26-Oct-2023 15:51:00.514 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.516 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36689"] 26-Oct-2023 15:51:00.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36689"] 26-Oct-2023 15:51:00.519 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 26-Oct-2023 15:51:00.521 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 26-Oct-2023 15:51:00.586 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.586 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.596 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43075"] 26-Oct-2023 15:51:00.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43075"] 26-Oct-2023 15:51:00.610 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43075"] 26-Oct-2023 15:51:00.612 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-43075"] 26-Oct-2023 15:51:00.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 26-Oct-2023 15:51:00.618 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 26-Oct-2023 15:51:00.628 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.628 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.632 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34083"] 26-Oct-2023 15:51:00.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34083"] 26-Oct-2023 15:51:00.648 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.650 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34083"] 26-Oct-2023 15:51:00.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34083"] 26-Oct-2023 15:51:00.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 26-Oct-2023 15:51:00.657 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 26-Oct-2023 15:51:00.662 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.662 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.677 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39981"] 26-Oct-2023 15:51:00.690 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39981"] 26-Oct-2023 15:51:00.693 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.694 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39981"] 26-Oct-2023 15:51:00.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39981"] 26-Oct-2023 15:51:00.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 26-Oct-2023 15:51:00.699 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 26-Oct-2023 15:51:00.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 26-Oct-2023 15:51:00.701 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 26-Oct-2023 15:51:00.727 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.727 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36295"] 26-Oct-2023 15:51:00.746 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36295"] 26-Oct-2023 15:51:00.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.750 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36295"] 26-Oct-2023 15:51:00.750 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36295"] 26-Oct-2023 15:51:00.754 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 26-Oct-2023 15:51:00.755 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 26-Oct-2023 15:51:00.761 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.761 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.767 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34641"] 26-Oct-2023 15:51:00.786 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34641"] 26-Oct-2023 15:51:00.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34641"] 26-Oct-2023 15:51:00.794 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34641"] 26-Oct-2023 15:51:00.797 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 26-Oct-2023 15:51:00.799 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 26-Oct-2023 15:51:00.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 26-Oct-2023 15:51:00.804 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 26-Oct-2023 15:51:00.813 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34909"] 26-Oct-2023 15:51:00.819 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34909"] 26-Oct-2023 15:51:00.821 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 26-Oct-2023 15:51:00.823 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34909"] 26-Oct-2023 15:51:00.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34909"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.165 sec Testcase: testUseContentTypeExpiresConfiguration took 0.115 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.351 sec Testcase: testConfiguration took 0.043 sec Testcase: testNullContentType took 0.036 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.035 sec Testcase: testUseDefaultConfiguration2 took 0.097 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.039 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.043 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.054 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.043 sec Testcase: testEmptyContent took 0.039 sec