Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.287 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 30 May 2023 17:15:15 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 30 May 2023 17:18:15 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 30 May 2023 17:15:15 GMT Expires: Tue, 30 May 2023 17:22:15 GMT Keep-Alive: timeout=3 ETag: W/"971-1685464864064" 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 17:16:15 GMT Content-Length: 0 Date: Tue, 30 May 2023 17:15:15 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 30 May 2023 17:16:15 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 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 17:16:15 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 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 17:22:16 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 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 17:15:15 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 30 May 2023 17:15:16 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 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 17:20:16 GMT Content-Length: 11 Date: Tue, 30 May 2023 17:15:15 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 17:22:16 GMT Content-Length: 0 Date: Tue, 30 May 2023 17:15:15 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 30-May-2023 17:15:14.139 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 30-May-2023 17:15:14.863 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 30-May-2023 17:15:14.988 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:14.989 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39209"] 30-May-2023 17:15:15.377 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39209"] 30-May-2023 17:15:15.379 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.407 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39209"] 30-May-2023 17:15:15.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39209"] 30-May-2023 17:15:15.435 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 30-May-2023 17:15:15.447 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 30-May-2023 17:15:15.488 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.488 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.495 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43273"] 30-May-2023 17:15:15.517 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43273"] 30-May-2023 17:15:15.523 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.537 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43273"] 30-May-2023 17:15:15.539 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43273"] 30-May-2023 17:15:15.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 30-May-2023 17:15:15.545 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 30-May-2023 17:15:15.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 30-May-2023 17:15:15.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 30-May-2023 17:15:15.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.747 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 30-May-2023 17:15:15.873 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34719"] 30-May-2023 17:15:15.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34719"] 30-May-2023 17:15:15.885 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.893 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34719"] 30-May-2023 17:15:15.894 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34719"] 30-May-2023 17:15:15.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 30-May-2023 17:15:15.899 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 30-May-2023 17:15:15.911 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.912 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.917 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43227"] 30-May-2023 17:15:15.918 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43227"] 30-May-2023 17:15:15.921 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.923 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43227"] 30-May-2023 17:15:15.924 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43227"] 30-May-2023 17:15:15.927 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 30-May-2023 17:15:15.929 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 30-May-2023 17:15:15.934 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.935 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.940 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34057"] 30-May-2023 17:15:15.944 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34057"] 30-May-2023 17:15:15.947 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.951 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34057"] 30-May-2023 17:15:15.952 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34057"] 30-May-2023 17:15:15.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 30-May-2023 17:15:15.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 30-May-2023 17:15:15.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 30-May-2023 17:15:15.958 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 30-May-2023 17:15:15.964 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.964 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.969 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46511"] 30-May-2023 17:15:15.973 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46511"] 30-May-2023 17:15:15.976 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.978 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46511"] 30-May-2023 17:15:15.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-46511"] 30-May-2023 17:15:15.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 30-May-2023 17:15:15.983 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 30-May-2023 17:15:15.984 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:15.985 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:15.988 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34755"] 30-May-2023 17:15:15.993 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34755"] 30-May-2023 17:15:15.993 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:15.995 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34755"] 30-May-2023 17:15:15.996 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34755"] 30-May-2023 17:15:15.999 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 30-May-2023 17:15:16.001 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 30-May-2023 17:15:16.003 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:16.005 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:16.011 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34187"] 30-May-2023 17:15:16.017 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34187"] 30-May-2023 17:15:16.020 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:16.022 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34187"] 30-May-2023 17:15:16.023 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34187"] 30-May-2023 17:15:16.026 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 30-May-2023 17:15:16.027 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 30-May-2023 17:15:16.029 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:16.029 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:16.035 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38213"] 30-May-2023 17:15:16.037 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38213"] 30-May-2023 17:15:16.038 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:16.040 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38213"] 30-May-2023 17:15:16.041 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38213"] 30-May-2023 17:15:16.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 30-May-2023 17:15:16.048 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 30-May-2023 17:15:16.049 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 30-May-2023 17:15:16.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 30-May-2023 17:15:16.052 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:16.052 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:16.059 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43105"] 30-May-2023 17:15:16.065 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43105"] 30-May-2023 17:15:16.068 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:16.069 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43105"] 30-May-2023 17:15:16.070 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43105"] 30-May-2023 17:15:16.072 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 30-May-2023 17:15:16.073 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 30-May-2023 17:15:16.079 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:16.079 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:16.087 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34565"] 30-May-2023 17:15:16.090 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34565"] 30-May-2023 17:15:16.092 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:16.094 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34565"] 30-May-2023 17:15:16.095 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34565"] 30-May-2023 17:15:16.097 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 30-May-2023 17:15:16.099 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 30-May-2023 17:15:16.103 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 30-May-2023 17:15:16.103 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 30-May-2023 17:15:16.107 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38059"] 30-May-2023 17:15:16.110 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38059"] 30-May-2023 17:15:16.111 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 30-May-2023 17:15:16.114 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38059"] 30-May-2023 17:15:16.115 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38059"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.517 sec Testcase: testUseContentTypeExpiresConfiguration took 0.109 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.351 sec Testcase: testConfiguration took 0.029 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.025 sec Testcase: testUseDefaultConfiguration2 took 0.017 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.026 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.022 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.023 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.026 sec Testcase: testEmptyContent took 0.02 sec