Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.125 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 03 Jan 2024 18:20:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:23:52 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 03 Jan 2024 18:20:52 GMT Expires: Wed, 03 Jan 2024 18:27:52 GMT Keep-Alive: timeout=3 ETag: W/"971-1704304464507" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:21:52 GMT Content-Length: 0 Date: Wed, 03 Jan 2024 18:20:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:21:52 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:21:52 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:27:52 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 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: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:20:53 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:25:53 GMT Content-Length: 11 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 03 Jan 2024 18:27:53 GMT Content-Length: 0 Date: Wed, 03 Jan 2024 18:20:52 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Jan-2024 18:20:50.550 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Jan-2024 18:20:51.463 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Jan-2024 18:20:51.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:51.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:51.893 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33605"] 03-Jan-2024 18:20:52.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33605"] 03-Jan-2024 18:20:52.159 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.195 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33605"] 03-Jan-2024 18:20:52.198 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33605"] 03-Jan-2024 18:20:52.217 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Jan-2024 18:20:52.228 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Jan-2024 18:20:52.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.322 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.342 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37981"] 03-Jan-2024 18:20:52.370 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37981"] 03-Jan-2024 18:20:52.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.373 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37981"] 03-Jan-2024 18:20:52.374 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37981"] 03-Jan-2024 18:20:52.378 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Jan-2024 18:20:52.379 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Jan-2024 18:20:52.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Jan-2024 18:20:52.388 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Jan-2024 18:20:52.412 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.412 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.483 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Jan-2024 18:20:52.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43099"] 03-Jan-2024 18:20:52.676 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43099"] 03-Jan-2024 18:20:52.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.683 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43099"] 03-Jan-2024 18:20:52.684 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43099"] 03-Jan-2024 18:20:52.691 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Jan-2024 18:20:52.692 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-Jan-2024 18:20:52.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.700 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.710 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Jan-2024 18:20:52.713 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Jan-2024 18:20:52.714 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.722 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Jan-2024 18:20:52.728 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37181"] 03-Jan-2024 18:20:52.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Jan-2024 18:20:52.737 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-Jan-2024 18:20:52.741 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.742 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44119"] 03-Jan-2024 18:20:52.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44119"] 03-Jan-2024 18:20:52.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.761 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44119"] 03-Jan-2024 18:20:52.762 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44119"] 03-Jan-2024 18:20:52.765 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Jan-2024 18:20:52.765 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-Jan-2024 18:20:52.766 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Jan-2024 18:20:52.768 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-Jan-2024 18:20:52.804 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.804 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34129"] 03-Jan-2024 18:20:52.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34129"] 03-Jan-2024 18:20:52.820 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34129"] 03-Jan-2024 18:20:52.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34129"] 03-Jan-2024 18:20:52.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Jan-2024 18:20:52.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-Jan-2024 18:20:52.846 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.846 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37237"] 03-Jan-2024 18:20:52.865 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37237"] 03-Jan-2024 18:20:52.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.872 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37237"] 03-Jan-2024 18:20:52.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-37237"] 03-Jan-2024 18:20:52.881 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Jan-2024 18:20:52.882 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-Jan-2024 18:20:52.892 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.892 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.901 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43447"] 03-Jan-2024 18:20:52.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43447"] 03-Jan-2024 18:20:52.908 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43447"] 03-Jan-2024 18:20:52.910 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-43447"] 03-Jan-2024 18:20:52.920 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Jan-2024 18:20:52.921 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-Jan-2024 18:20:52.936 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.937 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:52.942 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35553"] 03-Jan-2024 18:20:52.948 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35553"] 03-Jan-2024 18:20:52.952 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:52.954 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35553"] 03-Jan-2024 18:20:52.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-35553"] 03-Jan-2024 18:20:52.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Jan-2024 18:20:52.967 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-Jan-2024 18:20:52.968 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Jan-2024 18:20:52.975 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-Jan-2024 18:20:52.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:52.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:53.006 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36719"] 03-Jan-2024 18:20:53.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36719"] 03-Jan-2024 18:20:53.018 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:53.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36719"] 03-Jan-2024 18:20:53.020 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36719"] 03-Jan-2024 18:20:53.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Jan-2024 18:20:53.026 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-Jan-2024 18:20:53.031 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:53.031 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:53.037 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38983"] 03-Jan-2024 18:20:53.041 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38983"] 03-Jan-2024 18:20:53.044 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:53.046 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38983"] 03-Jan-2024 18:20:53.046 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-38983"] 03-Jan-2024 18:20:53.050 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Jan-2024 18:20:53.052 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-Jan-2024 18:20:53.063 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Jan-2024 18:20:53.063 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.18-dev] 03-Jan-2024 18:20:53.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46863"] 03-Jan-2024 18:20:53.078 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46863"] 03-Jan-2024 18:20:53.081 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Jan-2024 18:20:53.083 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46863"] 03-Jan-2024 18:20:53.083 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46863"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.161 sec Testcase: testUseContentTypeExpiresConfiguration took 0.16 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.31 sec Testcase: testConfiguration took 0.043 sec Testcase: testNullContentType took 0.03 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.059 sec Testcase: testUseDefaultConfiguration2 took 0.055 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.038 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.047 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.056 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.026 sec Testcase: testEmptyContent took 0.037 sec