Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.481 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 02 Oct 2023 10:45:15 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:48:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 02 Oct 2023 10:45:15 GMT Expires: Mon, 02 Oct 2023 10:52:15 GMT Keep-Alive: timeout=3 ETag: W/"971-1696242955984" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:46:15 GMT Content-Length: 0 Date: Mon, 02 Oct 2023 10:45:15 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:46:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:46:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:52:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 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: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:45:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:50:15 GMT Content-Length: 11 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 02 Oct 2023 10:52:16 GMT Content-Length: 0 Date: Mon, 02 Oct 2023 10:45:15 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 02-Oct-2023 10:45:13.784 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 02-Oct-2023 10:45:14.616 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 02-Oct-2023 10:45:14.670 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:14.670 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:14.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-46287"] 02-Oct-2023 10:45:15.128 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-46287"] 02-Oct-2023 10:45:15.131 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.154 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-46287"] 02-Oct-2023 10:45:15.169 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-46287"] 02-Oct-2023 10:45:15.181 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 02-Oct-2023 10:45:15.195 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 02-Oct-2023 10:45:15.196 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.197 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.240 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34987"] 02-Oct-2023 10:45:15.305 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34987"] 02-Oct-2023 10:45:15.308 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.314 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34987"] 02-Oct-2023 10:45:15.322 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34987"] 02-Oct-2023 10:45:15.327 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 02-Oct-2023 10:45:15.330 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 02-Oct-2023 10:45:15.331 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 02-Oct-2023 10:45:15.339 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 02-Oct-2023 10:45:15.352 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.352 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.442 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 02-Oct-2023 10:45:15.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40577"] 02-Oct-2023 10:45:15.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40577"] 02-Oct-2023 10:45:15.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.684 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40577"] 02-Oct-2023 10:45:15.695 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40577"] 02-Oct-2023 10:45:15.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 02-Oct-2023 10:45:15.700 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 02-Oct-2023 10:45:15.701 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.701 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.715 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42401"] 02-Oct-2023 10:45:15.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42401"] 02-Oct-2023 10:45:15.723 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.729 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42401"] 02-Oct-2023 10:45:15.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42401"] 02-Oct-2023 10:45:15.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 02-Oct-2023 10:45:15.737 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 02-Oct-2023 10:45:15.738 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.738 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40003"] 02-Oct-2023 10:45:15.760 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40003"] 02-Oct-2023 10:45:15.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.768 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40003"] 02-Oct-2023 10:45:15.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40003"] 02-Oct-2023 10:45:15.774 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 02-Oct-2023 10:45:15.775 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 02-Oct-2023 10:45:15.776 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 02-Oct-2023 10:45:15.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 02-Oct-2023 10:45:15.778 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.779 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.788 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41717"] 02-Oct-2023 10:45:15.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41717"] 02-Oct-2023 10:45:15.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.811 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41717"] 02-Oct-2023 10:45:15.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41717"] 02-Oct-2023 10:45:15.816 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 02-Oct-2023 10:45:15.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 02-Oct-2023 10:45:15.819 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.836 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-39079"] 02-Oct-2023 10:45:15.846 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-39079"] 02-Oct-2023 10:45:15.846 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.850 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-39079"] 02-Oct-2023 10:45:15.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-39079"] 02-Oct-2023 10:45:15.855 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 02-Oct-2023 10:45:15.857 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 02-Oct-2023 10:45:15.857 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.857 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.871 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-33971"] 02-Oct-2023 10:45:15.880 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-33971"] 02-Oct-2023 10:45:15.884 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.886 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-33971"] 02-Oct-2023 10:45:15.889 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-33971"] 02-Oct-2023 10:45:15.892 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 02-Oct-2023 10:45:15.894 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 02-Oct-2023 10:45:15.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.895 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.907 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-34267"] 02-Oct-2023 10:45:15.913 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-34267"] 02-Oct-2023 10:45:15.915 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.917 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-34267"] 02-Oct-2023 10:45:15.920 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-34267"] 02-Oct-2023 10:45:15.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 02-Oct-2023 10:45:15.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 02-Oct-2023 10:45:15.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 02-Oct-2023 10:45:15.926 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 02-Oct-2023 10:45:15.926 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.926 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.938 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-34971"] 02-Oct-2023 10:45:15.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-34971"] 02-Oct-2023 10:45:15.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.960 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-34971"] 02-Oct-2023 10:45:15.962 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-34971"] 02-Oct-2023 10:45:15.965 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 02-Oct-2023 10:45:15.966 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 02-Oct-2023 10:45:15.966 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:15.967 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:15.983 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-45439"] 02-Oct-2023 10:45:15.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-45439"] 02-Oct-2023 10:45:15.993 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:15.996 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-45439"] 02-Oct-2023 10:45:15.998 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-45439"] 02-Oct-2023 10:45:16.000 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 02-Oct-2023 10:45:16.002 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 02-Oct-2023 10:45:16.002 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Oct-2023 10:45:16.002 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 02-Oct-2023 10:45:16.007 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-42647"] 02-Oct-2023 10:45:16.012 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-42647"] 02-Oct-2023 10:45:16.012 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Oct-2023 10:45:16.014 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-42647"] 02-Oct-2023 10:45:16.020 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-42647"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.605 sec Testcase: testUseContentTypeExpiresConfiguration took 0.146 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.367 sec Testcase: testConfiguration took 0.037 sec Testcase: testNullContentType took 0.04 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.039 sec Testcase: testUseDefaultConfiguration2 took 0.039 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.037 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.041 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.022 sec