Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.336 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 04 Feb 2024 18:18:31 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:21:32 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:32 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 04 Feb 2024 18:18:32 GMT Expires: Sun, 04 Feb 2024 18:25:32 GMT Keep-Alive: timeout=3 ETag: W/"971-1707069171384" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:19:32 GMT Content-Length: 0 Date: Sun, 04 Feb 2024 18:18:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:19:32 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:19:32 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:25:32 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:32 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: Sun, 04 Feb 2024 18:18:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:18:33 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:23:33 GMT Content-Length: 11 Date: Sun, 04 Feb 2024 18:18:33 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 04 Feb 2024 18:25:33 GMT Content-Length: 0 Date: Sun, 04 Feb 2024 18:18:33 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 04-Feb-2024 18:18:30.353 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 04-Feb-2024 18:18:31.150 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 04-Feb-2024 18:18:31.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:31.326 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:31.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37631"] 04-Feb-2024 18:18:31.855 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37631"] 04-Feb-2024 18:18:31.857 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:31.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37631"] 04-Feb-2024 18:18:31.895 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37631"] 04-Feb-2024 18:18:31.917 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 04-Feb-2024 18:18:31.919 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 04-Feb-2024 18:18:31.974 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:31.975 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.002 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32911"] 04-Feb-2024 18:18:32.076 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32911"] 04-Feb-2024 18:18:32.077 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.085 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32911"] 04-Feb-2024 18:18:32.087 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32911"] 04-Feb-2024 18:18:32.096 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 04-Feb-2024 18:18:32.102 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 04-Feb-2024 18:18:32.105 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 04-Feb-2024 18:18:32.132 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 04-Feb-2024 18:18:32.256 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.256 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.362 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 04-Feb-2024 18:18:32.689 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46419"] 04-Feb-2024 18:18:32.710 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46419"] 04-Feb-2024 18:18:32.712 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.727 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46419"] 04-Feb-2024 18:18:32.728 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46419"] 04-Feb-2024 18:18:32.734 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 04-Feb-2024 18:18:32.742 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 04-Feb-2024 18:18:32.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.831 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46699"] 04-Feb-2024 18:18:32.849 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46699"] 04-Feb-2024 18:18:32.851 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46699"] 04-Feb-2024 18:18:32.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46699"] 04-Feb-2024 18:18:32.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 04-Feb-2024 18:18:32.864 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 04-Feb-2024 18:18:32.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.881 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33027"] 04-Feb-2024 18:18:32.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33027"] 04-Feb-2024 18:18:32.893 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.895 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33027"] 04-Feb-2024 18:18:32.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33027"] 04-Feb-2024 18:18:32.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 04-Feb-2024 18:18:32.899 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 04-Feb-2024 18:18:32.900 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 04-Feb-2024 18:18:32.901 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 04-Feb-2024 18:18:32.917 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.925 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41353"] 04-Feb-2024 18:18:32.936 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41353"] 04-Feb-2024 18:18:32.937 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.939 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41353"] 04-Feb-2024 18:18:32.940 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41353"] 04-Feb-2024 18:18:32.943 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 04-Feb-2024 18:18:32.945 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 04-Feb-2024 18:18:32.950 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.953 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35617"] 04-Feb-2024 18:18:32.966 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35617"] 04-Feb-2024 18:18:32.967 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:32.968 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35617"] 04-Feb-2024 18:18:32.969 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-35617"] 04-Feb-2024 18:18:32.972 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 04-Feb-2024 18:18:32.973 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 04-Feb-2024 18:18:32.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:32.984 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:32.989 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41295"] 04-Feb-2024 18:18:32.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41295"] 04-Feb-2024 18:18:32.996 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:33.002 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41295"] 04-Feb-2024 18:18:33.004 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41295"] 04-Feb-2024 18:18:33.012 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 04-Feb-2024 18:18:33.013 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 04-Feb-2024 18:18:33.016 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:33.016 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:33.022 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45923"] 04-Feb-2024 18:18:33.027 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45923"] 04-Feb-2024 18:18:33.029 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:33.034 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45923"] 04-Feb-2024 18:18:33.035 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45923"] 04-Feb-2024 18:18:33.040 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 04-Feb-2024 18:18:33.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 04-Feb-2024 18:18:33.042 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 04-Feb-2024 18:18:33.044 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 04-Feb-2024 18:18:33.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:33.055 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:33.064 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40847"] 04-Feb-2024 18:18:33.069 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40847"] 04-Feb-2024 18:18:33.071 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:33.074 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40847"] 04-Feb-2024 18:18:33.075 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40847"] 04-Feb-2024 18:18:33.078 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 04-Feb-2024 18:18:33.080 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 04-Feb-2024 18:18:33.088 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:33.089 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:33.092 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46815"] 04-Feb-2024 18:18:33.098 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46815"] 04-Feb-2024 18:18:33.099 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:33.100 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46815"] 04-Feb-2024 18:18:33.101 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46815"] 04-Feb-2024 18:18:33.113 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 04-Feb-2024 18:18:33.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 04-Feb-2024 18:18:33.129 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Feb-2024 18:18:33.129 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.19-dev] 04-Feb-2024 18:18:33.136 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42497"] 04-Feb-2024 18:18:33.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42497"] 04-Feb-2024 18:18:33.146 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Feb-2024 18:18:33.151 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42497"] 04-Feb-2024 18:18:33.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42497"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.977 sec Testcase: testUseContentTypeExpiresConfiguration took 0.186 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.628 sec Testcase: testConfiguration took 0.124 sec Testcase: testNullContentType took 0.04 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.043 sec Testcase: testUseDefaultConfiguration2 took 0.028 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.04 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.028 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.035 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.042 sec