Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.385 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 30 May 2023 19:27:43 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 30 May 2023 19:30:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 30 May 2023 19:27:43 GMT Expires: Tue, 30 May 2023 19:34:43 GMT Keep-Alive: timeout=3 ETag: W/"971-1685472839180" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:28:43 GMT Content-Length: 0 Date: Tue, 30 May 2023 19:27:43 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:28:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 19:28:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 May 2023 19:34:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 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, 30 May 2023 19:27:43 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 30 May 2023 19:27:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 30 May 2023 19:32:43 GMT Content-Length: 11 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 30 May 2023 19:34:44 GMT Content-Length: 0 Date: Tue, 30 May 2023 19:27:43 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 30-May-2023 19:27:41.947 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 30-May-2023 19:27:42.603 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 30-May-2023 19:27:42.770 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:42.770 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.047 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46225"] 30-May-2023 19:27:43.204 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46225"] 30-May-2023 19:27:43.209 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.237 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46225"] 30-May-2023 19:27:43.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46225"] 30-May-2023 19:27:43.252 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 30-May-2023 19:27:43.254 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 30-May-2023 19:27:43.344 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.344 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.365 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42603"] 30-May-2023 19:27:43.394 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42603"] 30-May-2023 19:27:43.398 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.412 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42603"] 30-May-2023 19:27:43.419 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42603"] 30-May-2023 19:27:43.422 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 30-May-2023 19:27:43.424 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 30-May-2023 19:27:43.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 30-May-2023 19:27:43.446 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 30-May-2023 19:27:43.452 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.453 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.598 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 30-May-2023 19:27:43.772 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44103"] 30-May-2023 19:27:43.782 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44103"] 30-May-2023 19:27:43.783 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.790 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44103"] 30-May-2023 19:27:43.791 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44103"] 30-May-2023 19:27:43.794 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 30-May-2023 19:27:43.796 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 30-May-2023 19:27:43.803 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.803 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33849"] 30-May-2023 19:27:43.811 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33849"] 30-May-2023 19:27:43.812 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33849"] 30-May-2023 19:27:43.815 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33849"] 30-May-2023 19:27:43.818 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 30-May-2023 19:27:43.820 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 30-May-2023 19:27:43.823 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.823 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.827 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38817"] 30-May-2023 19:27:43.830 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38817"] 30-May-2023 19:27:43.831 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.834 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38817"] 30-May-2023 19:27:43.834 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38817"] 30-May-2023 19:27:43.842 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 30-May-2023 19:27:43.843 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 30-May-2023 19:27:43.844 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 30-May-2023 19:27:43.846 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 30-May-2023 19:27:43.850 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.851 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.858 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38707"] 30-May-2023 19:27:43.862 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38707"] 30-May-2023 19:27:43.863 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.865 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38707"] 30-May-2023 19:27:43.865 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38707"] 30-May-2023 19:27:43.868 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 30-May-2023 19:27:43.870 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 30-May-2023 19:27:43.871 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.872 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.875 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44737"] 30-May-2023 19:27:43.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44737"] 30-May-2023 19:27:43.880 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44737"] 30-May-2023 19:27:43.883 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44737"] 30-May-2023 19:27:43.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 30-May-2023 19:27:43.887 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 30-May-2023 19:27:43.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.890 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.894 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37125"] 30-May-2023 19:27:43.902 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37125"] 30-May-2023 19:27:43.905 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.907 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37125"] 30-May-2023 19:27:43.908 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37125"] 30-May-2023 19:27:43.911 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 30-May-2023 19:27:43.913 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 30-May-2023 19:27:43.915 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.915 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44567"] 30-May-2023 19:27:43.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44567"] 30-May-2023 19:27:43.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.932 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44567"] 30-May-2023 19:27:43.933 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44567"] 30-May-2023 19:27:43.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 30-May-2023 19:27:43.939 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 30-May-2023 19:27:43.940 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 30-May-2023 19:27:43.942 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 30-May-2023 19:27:43.946 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.946 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.950 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46277"] 30-May-2023 19:27:43.957 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46277"] 30-May-2023 19:27:43.960 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.962 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46277"] 30-May-2023 19:27:43.962 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-46277"] 30-May-2023 19:27:43.965 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 30-May-2023 19:27:43.966 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 30-May-2023 19:27:43.975 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.975 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:43.979 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43483"] 30-May-2023 19:27:43.983 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43483"] 30-May-2023 19:27:43.986 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:43.987 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43483"] 30-May-2023 19:27:43.988 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43483"] 30-May-2023 19:27:43.990 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 30-May-2023 19:27:43.991 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 30-May-2023 19:27:43.995 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 19:27:43.995 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 19:27:44.000 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45373"] 30-May-2023 19:27:44.004 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45373"] 30-May-2023 19:27:44.007 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 19:27:44.009 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45373"] 30-May-2023 19:27:44.009 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45373"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.556 sec Testcase: testUseContentTypeExpiresConfiguration took 0.171 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.369 sec Testcase: testConfiguration took 0.024 sec Testcase: testNullContentType took 0.023 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.023 sec Testcase: testUseDefaultConfiguration2 took 0.017 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.026 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.025 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.025 sec Testcase: testEmptyContent took 0.022 sec