Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.962 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 27 Feb 2024 15:26:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:29:28 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:28 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 27 Feb 2024 15:26:28 GMT Expires: Tue, 27 Feb 2024 15:33:28 GMT Keep-Alive: timeout=3 ETag: W/"971-1709046241845" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:27:28 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 15:26:28 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:27:28 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:27:28 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:33:28 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:28 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, 27 Feb 2024 15:26:28 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:26:29 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:31:29 GMT Content-Length: 11 Date: Tue, 27 Feb 2024 15:26:29 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Tue, 27 Feb 2024 15:33:29 GMT Content-Length: 0 Date: Tue, 27 Feb 2024 15:26:29 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 27-Feb-2024 15:26:25.753 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 27-Feb-2024 15:26:27.168 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 27-Feb-2024 15:26:27.396 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:27.406 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:27.684 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36653"] 27-Feb-2024 15:26:27.895 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36653"] 27-Feb-2024 15:26:27.900 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:27.938 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36653"] 27-Feb-2024 15:26:27.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-36653"] 27-Feb-2024 15:26:27.956 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 27-Feb-2024 15:26:27.959 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 27-Feb-2024 15:26:27.975 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:27.975 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.006 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40531"] 27-Feb-2024 15:26:28.028 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40531"] 27-Feb-2024 15:26:28.030 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.039 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40531"] 27-Feb-2024 15:26:28.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40531"] 27-Feb-2024 15:26:28.048 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 27-Feb-2024 15:26:28.049 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 27-Feb-2024 15:26:28.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 27-Feb-2024 15:26:28.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 27-Feb-2024 15:26:28.081 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.081 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.191 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 27-Feb-2024 15:26:28.407 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33661"] 27-Feb-2024 15:26:28.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33661"] 27-Feb-2024 15:26:28.438 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.456 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33661"] 27-Feb-2024 15:26:28.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33661"] 27-Feb-2024 15:26:28.462 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 27-Feb-2024 15:26:28.464 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 27-Feb-2024 15:26:28.576 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.576 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37657"] 27-Feb-2024 15:26:28.616 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37657"] 27-Feb-2024 15:26:28.620 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.623 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37657"] 27-Feb-2024 15:26:28.624 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37657"] 27-Feb-2024 15:26:28.631 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 27-Feb-2024 15:26:28.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 27-Feb-2024 15:26:28.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.700 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.737 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35453"] 27-Feb-2024 15:26:28.744 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35453"] 27-Feb-2024 15:26:28.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.763 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35453"] 27-Feb-2024 15:26:28.766 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35453"] 27-Feb-2024 15:26:28.771 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 27-Feb-2024 15:26:28.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 27-Feb-2024 15:26:28.772 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 27-Feb-2024 15:26:28.775 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 27-Feb-2024 15:26:28.779 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.807 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46339"] 27-Feb-2024 15:26:28.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46339"] 27-Feb-2024 15:26:28.823 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.838 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46339"] 27-Feb-2024 15:26:28.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46339"] 27-Feb-2024 15:26:28.843 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 27-Feb-2024 15:26:28.844 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 27-Feb-2024 15:26:28.858 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.859 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46657"] 27-Feb-2024 15:26:28.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46657"] 27-Feb-2024 15:26:28.893 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.901 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46657"] 27-Feb-2024 15:26:28.906 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46657"] 27-Feb-2024 15:26:28.911 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 27-Feb-2024 15:26:28.913 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 27-Feb-2024 15:26:28.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43115"] 27-Feb-2024 15:26:28.940 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43115"] 27-Feb-2024 15:26:28.941 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.950 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43115"] 27-Feb-2024 15:26:28.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43115"] 27-Feb-2024 15:26:28.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 27-Feb-2024 15:26:28.965 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 27-Feb-2024 15:26:28.969 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:28.969 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:28.982 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36687"] 27-Feb-2024 15:26:28.986 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36687"] 27-Feb-2024 15:26:28.987 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:28.991 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36687"] 27-Feb-2024 15:26:28.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36687"] 27-Feb-2024 15:26:28.998 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 27-Feb-2024 15:26:28.999 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 27-Feb-2024 15:26:28.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 27-Feb-2024 15:26:29.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 27-Feb-2024 15:26:29.016 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:29.016 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:29.033 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46505"] 27-Feb-2024 15:26:29.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46505"] 27-Feb-2024 15:26:29.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:29.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46505"] 27-Feb-2024 15:26:29.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46505"] 27-Feb-2024 15:26:29.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 27-Feb-2024 15:26:29.056 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 27-Feb-2024 15:26:29.058 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:29.059 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:29.091 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45331"] 27-Feb-2024 15:26:29.094 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45331"] 27-Feb-2024 15:26:29.104 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:29.107 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45331"] 27-Feb-2024 15:26:29.108 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45331"] 27-Feb-2024 15:26:29.111 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 27-Feb-2024 15:26:29.113 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 27-Feb-2024 15:26:29.123 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Feb-2024 15:26:29.123 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 27-Feb-2024 15:26:29.138 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40499"] 27-Feb-2024 15:26:29.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40499"] 27-Feb-2024 15:26:29.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Feb-2024 15:26:29.155 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40499"] 27-Feb-2024 15:26:29.156 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40499"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.692 sec Testcase: testUseContentTypeExpiresConfiguration took 0.093 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.411 sec Testcase: testConfiguration took 0.168 sec Testcase: testNullContentType took 0.14 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.07 sec Testcase: testUseDefaultConfiguration2 took 0.069 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.051 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.035 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.055 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.057 sec Testcase: testEmptyContent took 0.049 sec