Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.011 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 19 Oct 2023 15:07:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:10:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 19 Oct 2023 15:07:46 GMT Expires: Thu, 19 Oct 2023 15:14:46 GMT Keep-Alive: timeout=3 ETag: W/"971-1697727471608" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:08:46 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 15:07:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:08:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:08:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:14:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 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, 19 Oct 2023 15:07:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:07:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:12:46 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 15:14:46 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 15:07:46 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 19-Oct-2023 15:07:45.213 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 19-Oct-2023 15:07:46.105 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 19-Oct-2023 15:07:46.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.345 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Oct-2023 15:07:46.493 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Oct-2023 15:07:46.495 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.512 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Oct-2023 15:07:46.529 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35471"] 19-Oct-2023 15:07:46.536 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 19-Oct-2023 15:07:46.538 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 19-Oct-2023 15:07:46.541 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.541 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.556 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44493"] 19-Oct-2023 15:07:46.583 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44493"] 19-Oct-2023 15:07:46.585 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44493"] 19-Oct-2023 15:07:46.593 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44493"] 19-Oct-2023 15:07:46.595 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 19-Oct-2023 15:07:46.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 19-Oct-2023 15:07:46.597 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 19-Oct-2023 15:07:46.603 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 19-Oct-2023 15:07:46.604 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.604 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.643 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 19-Oct-2023 15:07:46.739 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36039"] 19-Oct-2023 15:07:46.755 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36039"] 19-Oct-2023 15:07:46.756 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.762 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36039"] 19-Oct-2023 15:07:46.765 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36039"] 19-Oct-2023 15:07:46.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 19-Oct-2023 15:07:46.768 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 19-Oct-2023 15:07:46.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38777"] 19-Oct-2023 15:07:46.783 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38777"] 19-Oct-2023 15:07:46.786 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.788 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38777"] 19-Oct-2023 15:07:46.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38777"] 19-Oct-2023 15:07:46.792 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 19-Oct-2023 15:07:46.793 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 19-Oct-2023 15:07:46.794 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44029"] 19-Oct-2023 15:07:46.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44029"] 19-Oct-2023 15:07:46.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.810 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44029"] 19-Oct-2023 15:07:46.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44029"] 19-Oct-2023 15:07:46.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 19-Oct-2023 15:07:46.817 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 19-Oct-2023 15:07:46.817 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 19-Oct-2023 15:07:46.819 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 19-Oct-2023 15:07:46.820 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.820 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.827 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42723"] 19-Oct-2023 15:07:46.832 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42723"] 19-Oct-2023 15:07:46.833 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.835 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42723"] 19-Oct-2023 15:07:46.840 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42723"] 19-Oct-2023 15:07:46.842 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 19-Oct-2023 15:07:46.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 19-Oct-2023 15:07:46.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.850 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-35273"] 19-Oct-2023 15:07:46.856 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-35273"] 19-Oct-2023 15:07:46.857 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.858 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-35273"] 19-Oct-2023 15:07:46.861 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-35273"] 19-Oct-2023 15:07:46.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 19-Oct-2023 15:07:46.864 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 19-Oct-2023 15:07:46.864 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.864 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.869 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43561"] 19-Oct-2023 15:07:46.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43561"] 19-Oct-2023 15:07:46.879 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43561"] 19-Oct-2023 15:07:46.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43561"] 19-Oct-2023 15:07:46.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 19-Oct-2023 15:07:46.887 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 19-Oct-2023 15:07:46.887 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.887 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.892 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-42845"] 19-Oct-2023 15:07:46.907 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-42845"] 19-Oct-2023 15:07:46.910 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.911 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-42845"] 19-Oct-2023 15:07:46.914 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-42845"] 19-Oct-2023 15:07:46.915 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 19-Oct-2023 15:07:46.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 19-Oct-2023 15:07:46.916 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 19-Oct-2023 15:07:46.917 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 19-Oct-2023 15:07:46.918 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.918 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.921 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42927"] 19-Oct-2023 15:07:46.932 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42927"] 19-Oct-2023 15:07:46.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.936 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42927"] 19-Oct-2023 15:07:46.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42927"] 19-Oct-2023 15:07:46.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 19-Oct-2023 15:07:46.941 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 19-Oct-2023 15:07:46.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39701"] 19-Oct-2023 15:07:46.954 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39701"] 19-Oct-2023 15:07:46.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39701"] 19-Oct-2023 15:07:46.958 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39701"] 19-Oct-2023 15:07:46.959 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 19-Oct-2023 15:07:46.960 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 19-Oct-2023 15:07:46.961 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 15:07:46.961 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.83-dev] 19-Oct-2023 15:07:46.964 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-38805"] 19-Oct-2023 15:07:46.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-38805"] 19-Oct-2023 15:07:46.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 15:07:46.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-38805"] 19-Oct-2023 15:07:46.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-38805"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.504 sec Testcase: testUseContentTypeExpiresConfiguration took 0.059 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.169 sec Testcase: testConfiguration took 0.025 sec Testcase: testNullContentType took 0.024 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.024 sec Testcase: testUseDefaultConfiguration2 took 0.021 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.023 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.023 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.02 sec Testcase: testEmptyContent took 0.016 sec