Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.185 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 07 Nov 2023 16:59:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:02:29 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 07 Nov 2023 16:59:29 GMT Expires: Tue, 07 Nov 2023 17:06:29 GMT Keep-Alive: timeout=3 ETag: W/"971-1699374394002" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:00:29 GMT Content-Length: 0 Date: Tue, 07 Nov 2023 16:59:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:00:29 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:00:29 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:06:30 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 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, 07 Nov 2023 16:59:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 07 Nov 2023 16:59:30 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:04:30 GMT Content-Length: 11 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 07 Nov 2023 17:06:30 GMT Content-Length: 0 Date: Tue, 07 Nov 2023 16:59:29 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Nov-2023 16:59:28.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Nov-2023 16:59:28.920 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Nov-2023 16:59:29.017 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.201 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45711"] 07-Nov-2023 16:59:29.476 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45711"] 07-Nov-2023 16:59:29.478 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45711"] 07-Nov-2023 16:59:29.527 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-45711"] 07-Nov-2023 16:59:29.540 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Nov-2023 16:59:29.543 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Nov-2023 16:59:29.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.578 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45131"] 07-Nov-2023 16:59:29.597 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45131"] 07-Nov-2023 16:59:29.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.618 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45131"] 07-Nov-2023 16:59:29.621 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45131"] 07-Nov-2023 16:59:29.628 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Nov-2023 16:59:29.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Nov-2023 16:59:29.630 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Nov-2023 16:59:29.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Nov-2023 16:59:29.750 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.802 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Nov-2023 16:59:29.889 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36995"] 07-Nov-2023 16:59:29.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36995"] 07-Nov-2023 16:59:29.904 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36995"] 07-Nov-2023 16:59:29.910 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36995"] 07-Nov-2023 16:59:29.913 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Nov-2023 16:59:29.914 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Nov-2023 16:59:29.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45489"] 07-Nov-2023 16:59:29.928 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45489"] 07-Nov-2023 16:59:29.930 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.934 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45489"] 07-Nov-2023 16:59:29.935 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45489"] 07-Nov-2023 16:59:29.937 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Nov-2023 16:59:29.939 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Nov-2023 16:59:29.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39195"] 07-Nov-2023 16:59:29.948 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39195"] 07-Nov-2023 16:59:29.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.952 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39195"] 07-Nov-2023 16:59:29.953 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39195"] 07-Nov-2023 16:59:29.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Nov-2023 16:59:29.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Nov-2023 16:59:29.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Nov-2023 16:59:29.958 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Nov-2023 16:59:29.960 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.960 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.963 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40511"] 07-Nov-2023 16:59:29.967 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40511"] 07-Nov-2023 16:59:29.968 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.970 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40511"] 07-Nov-2023 16:59:29.971 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40511"] 07-Nov-2023 16:59:29.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Nov-2023 16:59:29.974 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Nov-2023 16:59:29.981 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.981 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:29.986 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36729"] 07-Nov-2023 16:59:29.990 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36729"] 07-Nov-2023 16:59:29.990 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:29.992 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36729"] 07-Nov-2023 16:59:29.992 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36729"] 07-Nov-2023 16:59:29.994 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Nov-2023 16:59:29.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Nov-2023 16:59:29.996 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:29.996 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:30.000 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35055"] 07-Nov-2023 16:59:30.002 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35055"] 07-Nov-2023 16:59:30.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:30.005 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35055"] 07-Nov-2023 16:59:30.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-35055"] 07-Nov-2023 16:59:30.008 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Nov-2023 16:59:30.014 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 07-Nov-2023 16:59:30.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:30.021 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:30.025 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42445"] 07-Nov-2023 16:59:30.032 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42445"] 07-Nov-2023 16:59:30.033 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:30.035 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42445"] 07-Nov-2023 16:59:30.036 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42445"] 07-Nov-2023 16:59:30.038 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Nov-2023 16:59:30.039 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 07-Nov-2023 16:59:30.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Nov-2023 16:59:30.041 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 07-Nov-2023 16:59:30.050 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:30.050 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:30.054 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38097"] 07-Nov-2023 16:59:30.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38097"] 07-Nov-2023 16:59:30.062 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:30.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38097"] 07-Nov-2023 16:59:30.064 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-38097"] 07-Nov-2023 16:59:30.066 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Nov-2023 16:59:30.066 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 07-Nov-2023 16:59:30.074 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:30.075 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:30.078 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46665"] 07-Nov-2023 16:59:30.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46665"] 07-Nov-2023 16:59:30.082 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:30.083 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46665"] 07-Nov-2023 16:59:30.084 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-46665"] 07-Nov-2023 16:59:30.086 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Nov-2023 16:59:30.087 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 07-Nov-2023 16:59:30.091 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Nov-2023 16:59:30.091 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 07-Nov-2023 16:59:30.101 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46697"] 07-Nov-2023 16:59:30.104 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46697"] 07-Nov-2023 16:59:30.105 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Nov-2023 16:59:30.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46697"] 07-Nov-2023 16:59:30.107 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46697"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.536 sec Testcase: testUseContentTypeExpiresConfiguration took 0.087 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.283 sec Testcase: testConfiguration took 0.025 sec Testcase: testNullContentType took 0.018 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.016 sec Testcase: testUseDefaultConfiguration2 took 0.021 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.015 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.026 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.021 sec Testcase: testEmptyContent took 0.023 sec