Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.389 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 01 Feb 2024 17:17:45 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:20:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17:46 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 01 Feb 2024 17:17:46 GMT Expires: Thu, 01 Feb 2024 17:24:46 GMT Keep-Alive: timeout=3 ETag: W/"971-1706806290639" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:18:46 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 17:17:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:18:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17: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, 01 Feb 2024 17:18:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:24:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17: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, 01 Feb 2024 17:17:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:17:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:22:46 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 17:17:46 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 01 Feb 2024 17:24:46 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 17:17:46 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-Feb-2024 17:17:44.164 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-Feb-2024 17:17:45.336 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 01-Feb-2024 17:17:45.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:45.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:45.672 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40803"] 01-Feb-2024 17:17:45.886 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40803"] 01-Feb-2024 17:17:45.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:45.918 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40803"] 01-Feb-2024 17:17:45.931 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40803"] 01-Feb-2024 17:17:45.944 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-Feb-2024 17:17:45.945 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 01-Feb-2024 17:17:46.024 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.024 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.030 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45905"] 01-Feb-2024 17:17:46.047 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45905"] 01-Feb-2024 17:17:46.048 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.050 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45905"] 01-Feb-2024 17:17:46.051 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45905"] 01-Feb-2024 17:17:46.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-Feb-2024 17:17:46.064 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 01-Feb-2024 17:17:46.072 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-Feb-2024 17:17:46.085 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 01-Feb-2024 17:17:46.188 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.188 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.389 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-Feb-2024 17:17:46.567 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42909"] 01-Feb-2024 17:17:46.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42909"] 01-Feb-2024 17:17:46.590 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42909"] 01-Feb-2024 17:17:46.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42909"] 01-Feb-2024 17:17:46.603 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-Feb-2024 17:17:46.604 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 01-Feb-2024 17:17:46.631 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.631 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.636 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36447"] 01-Feb-2024 17:17:46.646 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36447"] 01-Feb-2024 17:17:46.649 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36447"] 01-Feb-2024 17:17:46.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36447"] 01-Feb-2024 17:17:46.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-Feb-2024 17:17:46.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 01-Feb-2024 17:17:46.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.675 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36729"] 01-Feb-2024 17:17:46.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36729"] 01-Feb-2024 17:17:46.684 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36729"] 01-Feb-2024 17:17:46.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36729"] 01-Feb-2024 17:17:46.697 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-Feb-2024 17:17:46.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 01-Feb-2024 17:17:46.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-Feb-2024 17:17:46.700 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 01-Feb-2024 17:17:46.702 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.702 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.707 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36995"] 01-Feb-2024 17:17:46.713 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36995"] 01-Feb-2024 17:17:46.714 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36995"] 01-Feb-2024 17:17:46.717 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36995"] 01-Feb-2024 17:17:46.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-Feb-2024 17:17:46.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 01-Feb-2024 17:17:46.723 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.723 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.727 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37613"] 01-Feb-2024 17:17:46.731 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37613"] 01-Feb-2024 17:17:46.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.739 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37613"] 01-Feb-2024 17:17:46.739 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37613"] 01-Feb-2024 17:17:46.742 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-Feb-2024 17:17:46.744 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 01-Feb-2024 17:17:46.757 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.758 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36065"] 01-Feb-2024 17:17:46.770 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36065"] 01-Feb-2024 17:17:46.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.777 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36065"] 01-Feb-2024 17:17:46.778 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36065"] 01-Feb-2024 17:17:46.780 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-Feb-2024 17:17:46.782 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 01-Feb-2024 17:17:46.814 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36483"] 01-Feb-2024 17:17:46.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36483"] 01-Feb-2024 17:17:46.826 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.827 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36483"] 01-Feb-2024 17:17:46.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-36483"] 01-Feb-2024 17:17:46.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-Feb-2024 17:17:46.832 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 01-Feb-2024 17:17:46.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-Feb-2024 17:17:46.836 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 01-Feb-2024 17:17:46.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41051"] 01-Feb-2024 17:17:46.851 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41051"] 01-Feb-2024 17:17:46.854 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.855 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41051"] 01-Feb-2024 17:17:46.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41051"] 01-Feb-2024 17:17:46.873 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-Feb-2024 17:17:46.874 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 01-Feb-2024 17:17:46.914 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.914 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.920 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40895"] 01-Feb-2024 17:17:46.934 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40895"] 01-Feb-2024 17:17:46.940 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.942 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40895"] 01-Feb-2024 17:17:46.942 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-40895"] 01-Feb-2024 17:17:46.946 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-Feb-2024 17:17:46.947 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 01-Feb-2024 17:17:46.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 17:17:46.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 01-Feb-2024 17:17:46.967 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43607"] 01-Feb-2024 17:17:46.977 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43607"] 01-Feb-2024 17:17:46.979 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 17:17:46.981 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43607"] 01-Feb-2024 17:17:46.981 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-43607"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.209 sec Testcase: testUseContentTypeExpiresConfiguration took 0.116 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.009 sec Testcase: testBug63909 took 0.533 sec Testcase: testConfiguration took 0.053 sec Testcase: testNullContentType took 0.04 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.021 sec Testcase: testUseDefaultConfiguration2 took 0.023 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.038 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.05 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.04 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.072 sec Testcase: testEmptyContent took 0.04 sec