Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.335 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 11 Oct 2023 10:18:49 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:21:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 11 Oct 2023 10:18:49 GMT Expires: Wed, 11 Oct 2023 10:25:49 GMT Keep-Alive: timeout=3 ETag: W/"971-1697018216695" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:19:49 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 10:18:49 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:19:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:19:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:25:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 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, 11 Oct 2023 10:18:49 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:18:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:23:49 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 10:25:49 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 10:18:49 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Oct-2023 10:18:47.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Oct-2023 10:18:48.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-Oct-2023 10:18:48.983 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:48.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.218 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45257"] 11-Oct-2023 10:18:49.429 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45257"] 11-Oct-2023 10:18:49.433 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.476 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45257"] 11-Oct-2023 10:18:49.479 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45257"] 11-Oct-2023 10:18:49.492 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Oct-2023 10:18:49.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-Oct-2023 10:18:49.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.515 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39601"] 11-Oct-2023 10:18:49.530 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39601"] 11-Oct-2023 10:18:49.537 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.544 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39601"] 11-Oct-2023 10:18:49.548 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39601"] 11-Oct-2023 10:18:49.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Oct-2023 10:18:49.557 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-Oct-2023 10:18:49.558 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Oct-2023 10:18:49.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-Oct-2023 10:18:49.570 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.570 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.607 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Oct-2023 10:18:49.708 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33493"] 11-Oct-2023 10:18:49.719 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33493"] 11-Oct-2023 10:18:49.720 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.734 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33493"] 11-Oct-2023 10:18:49.735 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33493"] 11-Oct-2023 10:18:49.739 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Oct-2023 10:18:49.741 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-Oct-2023 10:18:49.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.749 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.756 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33295"] 11-Oct-2023 10:18:49.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33295"] 11-Oct-2023 10:18:49.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.762 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33295"] 11-Oct-2023 10:18:49.762 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33295"] 11-Oct-2023 10:18:49.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Oct-2023 10:18:49.769 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-Oct-2023 10:18:49.776 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.776 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.788 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35051"] 11-Oct-2023 10:18:49.794 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35051"] 11-Oct-2023 10:18:49.797 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.799 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35051"] 11-Oct-2023 10:18:49.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-35051"] 11-Oct-2023 10:18:49.810 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Oct-2023 10:18:49.811 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-Oct-2023 10:18:49.811 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Oct-2023 10:18:49.813 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-Oct-2023 10:18:49.815 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.822 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39765"] 11-Oct-2023 10:18:49.826 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39765"] 11-Oct-2023 10:18:49.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39765"] 11-Oct-2023 10:18:49.829 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39765"] 11-Oct-2023 10:18:49.832 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Oct-2023 10:18:49.833 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-Oct-2023 10:18:49.836 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.836 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.846 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46557"] 11-Oct-2023 10:18:49.849 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46557"] 11-Oct-2023 10:18:49.852 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.854 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46557"] 11-Oct-2023 10:18:49.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46557"] 11-Oct-2023 10:18:49.860 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Oct-2023 10:18:49.862 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-Oct-2023 10:18:49.864 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.864 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.872 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34365"] 11-Oct-2023 10:18:49.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34365"] 11-Oct-2023 10:18:49.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.883 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34365"] 11-Oct-2023 10:18:49.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34365"] 11-Oct-2023 10:18:49.888 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Oct-2023 10:18:49.890 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 11-Oct-2023 10:18:49.894 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.894 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39265"] 11-Oct-2023 10:18:49.907 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39265"] 11-Oct-2023 10:18:49.908 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.910 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39265"] 11-Oct-2023 10:18:49.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39265"] 11-Oct-2023 10:18:49.918 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Oct-2023 10:18:49.919 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 11-Oct-2023 10:18:49.919 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Oct-2023 10:18:49.920 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 11-Oct-2023 10:18:49.922 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.922 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40991"] 11-Oct-2023 10:18:49.930 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40991"] 11-Oct-2023 10:18:49.932 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40991"] 11-Oct-2023 10:18:49.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40991"] 11-Oct-2023 10:18:49.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Oct-2023 10:18:49.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 11-Oct-2023 10:18:49.942 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.942 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36049"] 11-Oct-2023 10:18:49.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36049"] 11-Oct-2023 10:18:49.956 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.958 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36049"] 11-Oct-2023 10:18:49.959 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-36049"] 11-Oct-2023 10:18:49.963 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Oct-2023 10:18:49.964 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 11-Oct-2023 10:18:49.972 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 10:18:49.972 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 10:18:49.980 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38485"] 11-Oct-2023 10:18:49.983 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38485"] 11-Oct-2023 10:18:49.984 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 10:18:49.986 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38485"] 11-Oct-2023 10:18:49.986 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38485"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.797 sec Testcase: testUseContentTypeExpiresConfiguration took 0.064 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.181 sec Testcase: testConfiguration took 0.029 sec Testcase: testNullContentType took 0.042 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.021 sec Testcase: testUseDefaultConfiguration2 took 0.028 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.028 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.02 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.023 sec Testcase: testEmptyContent took 0.026 sec