Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.259 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sat, 13 May 2023 15:28:57 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sat, 13 May 2023 15:31:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: text/xml;charset=utf-8 Date: Sat, 13 May 2023 15:28:57 GMT Expires: Sat, 13 May 2023 15:35:57 GMT Keep-Alive: timeout=3 ETag: W/"971-1683990730395" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 15:29:57 GMT Content-Length: 0 Date: Sat, 13 May 2023 15:28:57 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 15:29:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 15:29:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 15:35:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 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: Sat, 13 May 2023 15:28:57 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sat, 13 May 2023 15:28:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sat, 13 May 2023 15:33:57 GMT Content-Length: 11 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 15:35:58 GMT Content-Length: 0 Date: Sat, 13 May 2023 15:28:57 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-May-2023 15:28:56.074 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-May-2023 15:28:56.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 13-May-2023 15:28:56.967 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:56.968 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.227 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34785"] 13-May-2023 15:28:57.477 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34785"] 13-May-2023 15:28:57.482 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.501 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34785"] 13-May-2023 15:28:57.507 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34785"] 13-May-2023 15:28:57.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-May-2023 15:28:57.515 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 13-May-2023 15:28:57.516 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.516 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35059"] 13-May-2023 15:28:57.546 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35059"] 13-May-2023 15:28:57.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.551 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35059"] 13-May-2023 15:28:57.555 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35059"] 13-May-2023 15:28:57.562 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-May-2023 15:28:57.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 13-May-2023 15:28:57.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-May-2023 15:28:57.587 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 13-May-2023 15:28:57.588 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.588 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.639 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-May-2023 15:28:57.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42799"] 13-May-2023 15:28:57.753 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42799"] 13-May-2023 15:28:57.754 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.760 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42799"] 13-May-2023 15:28:57.763 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42799"] 13-May-2023 15:28:57.765 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-May-2023 15:28:57.767 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 13-May-2023 15:28:57.768 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.768 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.773 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39513"] 13-May-2023 15:28:57.779 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39513"] 13-May-2023 15:28:57.780 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.783 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39513"] 13-May-2023 15:28:57.786 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39513"] 13-May-2023 15:28:57.787 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-May-2023 15:28:57.788 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 13-May-2023 15:28:57.789 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.789 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 13-May-2023 15:28:57.801 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 13-May-2023 15:28:57.801 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.804 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 13-May-2023 15:28:57.807 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42467"] 13-May-2023 15:28:57.808 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-May-2023 15:28:57.809 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 13-May-2023 15:28:57.810 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-May-2023 15:28:57.812 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 13-May-2023 15:28:57.812 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.813 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.818 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40743"] 13-May-2023 15:28:57.829 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40743"] 13-May-2023 15:28:57.832 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.834 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40743"] 13-May-2023 15:28:57.839 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40743"] 13-May-2023 15:28:57.841 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-May-2023 15:28:57.842 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 13-May-2023 15:28:57.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41169"] 13-May-2023 15:28:57.859 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41169"] 13-May-2023 15:28:57.862 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.864 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41169"] 13-May-2023 15:28:57.867 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41169"] 13-May-2023 15:28:57.868 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-May-2023 15:28:57.869 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 13-May-2023 15:28:57.870 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.871 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.875 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36987"] 13-May-2023 15:28:57.885 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36987"] 13-May-2023 15:28:57.888 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.890 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36987"] 13-May-2023 15:28:57.892 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36987"] 13-May-2023 15:28:57.894 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-May-2023 15:28:57.896 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 13-May-2023 15:28:57.896 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.897 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.902 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-39453"] 13-May-2023 15:28:57.916 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-39453"] 13-May-2023 15:28:57.918 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.921 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-39453"] 13-May-2023 15:28:57.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-39453"] 13-May-2023 15:28:57.925 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-May-2023 15:28:57.926 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 13-May-2023 15:28:57.927 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-May-2023 15:28:57.928 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 13-May-2023 15:28:57.929 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.929 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45119"] 13-May-2023 15:28:57.942 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45119"] 13-May-2023 15:28:57.943 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.945 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45119"] 13-May-2023 15:28:57.949 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45119"] 13-May-2023 15:28:57.950 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-May-2023 15:28:57.952 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 13-May-2023 15:28:57.952 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.952 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.957 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36631"] 13-May-2023 15:28:57.971 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36631"] 13-May-2023 15:28:57.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:57.976 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36631"] 13-May-2023 15:28:57.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36631"] 13-May-2023 15:28:57.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-May-2023 15:28:57.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 13-May-2023 15:28:57.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 15:28:57.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 15:28:57.989 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 13-May-2023 15:28:58.002 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 13-May-2023 15:28:58.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 15:28:58.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 13-May-2023 15:28:58.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.675 sec Testcase: testUseContentTypeExpiresConfiguration took 0.046 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.006 sec Testcase: testBug63909 took 0.199 sec Testcase: testConfiguration took 0.021 sec Testcase: testNullContentType took 0.022 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.03 sec Testcase: testUseDefaultConfiguration2 took 0.028 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.032 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.024 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.031 sec Testcase: testEmptyContent took 0.027 sec