Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.434 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 08 Feb 2024 23:13:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:16:56 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:56 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 08 Feb 2024 23:13:56 GMT Expires: Thu, 08 Feb 2024 23:20:56 GMT Keep-Alive: timeout=3 ETag: W/"971-1707432465238" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:14:56 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 23:13:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:14:56 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:56 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:14:56 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:56 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:20:56 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:56 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, 08 Feb 2024 23:13:56 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:13:57 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:56 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:18:57 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 23:13:57 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 23:20:57 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 23:13:57 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Feb-2024 23:13:54.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 08-Feb-2024 23:13:55.439 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 08-Feb-2024 23:13:55.594 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:55.595 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:55.901 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39631"] 08-Feb-2024 23:13:56.077 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39631"] 08-Feb-2024 23:13:56.079 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.113 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39631"] 08-Feb-2024 23:13:56.122 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39631"] 08-Feb-2024 23:13:56.141 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 08-Feb-2024 23:13:56.143 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 08-Feb-2024 23:13:56.170 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.171 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.192 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44491"] 08-Feb-2024 23:13:56.216 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44491"] 08-Feb-2024 23:13:56.217 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.221 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44491"] 08-Feb-2024 23:13:56.227 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-44491"] 08-Feb-2024 23:13:56.233 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 08-Feb-2024 23:13:56.237 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 08-Feb-2024 23:13:56.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 08-Feb-2024 23:13:56.256 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 08-Feb-2024 23:13:56.326 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.326 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.443 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Feb-2024 23:13:56.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41607"] 08-Feb-2024 23:13:56.758 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41607"] 08-Feb-2024 23:13:56.761 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.766 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41607"] 08-Feb-2024 23:13:56.768 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41607"] 08-Feb-2024 23:13:56.771 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 08-Feb-2024 23:13:56.773 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 08-Feb-2024 23:13:56.777 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.777 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.787 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37845"] 08-Feb-2024 23:13:56.788 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37845"] 08-Feb-2024 23:13:56.791 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.797 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37845"] 08-Feb-2024 23:13:56.798 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37845"] 08-Feb-2024 23:13:56.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 08-Feb-2024 23:13:56.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 08-Feb-2024 23:13:56.822 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.822 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38517"] 08-Feb-2024 23:13:56.842 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38517"] 08-Feb-2024 23:13:56.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.845 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38517"] 08-Feb-2024 23:13:56.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-38517"] 08-Feb-2024 23:13:56.851 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 08-Feb-2024 23:13:56.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 08-Feb-2024 23:13:56.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 08-Feb-2024 23:13:56.855 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 08-Feb-2024 23:13:56.877 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.877 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43449"] 08-Feb-2024 23:13:56.902 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43449"] 08-Feb-2024 23:13:56.902 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.904 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43449"] 08-Feb-2024 23:13:56.905 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43449"] 08-Feb-2024 23:13:56.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 08-Feb-2024 23:13:56.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 08-Feb-2024 23:13:56.921 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.921 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.927 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44379"] 08-Feb-2024 23:13:56.931 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44379"] 08-Feb-2024 23:13:56.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44379"] 08-Feb-2024 23:13:56.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44379"] 08-Feb-2024 23:13:56.942 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 08-Feb-2024 23:13:56.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 08-Feb-2024 23:13:56.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:56.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:56.959 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38213"] 08-Feb-2024 23:13:56.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38213"] 08-Feb-2024 23:13:56.975 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:56.977 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38213"] 08-Feb-2024 23:13:56.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-38213"] 08-Feb-2024 23:13:56.988 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 08-Feb-2024 23:13:56.990 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 08-Feb-2024 23:13:57.056 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:57.056 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:57.070 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33845"] 08-Feb-2024 23:13:57.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33845"] 08-Feb-2024 23:13:57.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:57.077 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33845"] 08-Feb-2024 23:13:57.078 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-33845"] 08-Feb-2024 23:13:57.084 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 08-Feb-2024 23:13:57.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 08-Feb-2024 23:13:57.086 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 08-Feb-2024 23:13:57.093 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 08-Feb-2024 23:13:57.183 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:57.184 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:57.194 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35271"] 08-Feb-2024 23:13:57.207 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35271"] 08-Feb-2024 23:13:57.210 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:57.212 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35271"] 08-Feb-2024 23:13:57.213 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-35271"] 08-Feb-2024 23:13:57.215 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 08-Feb-2024 23:13:57.216 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 08-Feb-2024 23:13:57.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:57.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:57.278 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42675"] 08-Feb-2024 23:13:57.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42675"] 08-Feb-2024 23:13:57.294 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:57.307 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42675"] 08-Feb-2024 23:13:57.310 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42675"] 08-Feb-2024 23:13:57.316 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 08-Feb-2024 23:13:57.321 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 08-Feb-2024 23:13:57.349 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 23:13:57.353 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 08-Feb-2024 23:13:57.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33213"] 08-Feb-2024 23:13:57.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33213"] 08-Feb-2024 23:13:57.378 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 23:13:57.381 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33213"] 08-Feb-2024 23:13:57.381 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33213"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.07 sec Testcase: testUseContentTypeExpiresConfiguration took 0.093 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.006 sec Testcase: testBug63909 took 0.533 sec Testcase: testConfiguration took 0.031 sec Testcase: testNullContentType took 0.049 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.058 sec Testcase: testUseDefaultConfiguration2 took 0.031 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.046 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.096 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.129 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.1 sec Testcase: testEmptyContent took 0.071 sec