Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.728 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 07 Feb 2024 00:40:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:43:33 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:33 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 07 Feb 2024 00:40:33 GMT Expires: Wed, 07 Feb 2024 00:47:33 GMT Keep-Alive: timeout=3 ETag: W/"971-1707265168814" Connection: keep-alive Cache-Control: max-age=419 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:41:34 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 00:40:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:41:34 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:41:34 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:47:34 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:33 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, 07 Feb 2024 00:40:34 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:40:34 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:34 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:45:34 GMT Content-Length: 11 Date: Wed, 07 Feb 2024 00:40:34 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 07 Feb 2024 00:47:34 GMT Content-Length: 0 Date: Wed, 07 Feb 2024 00:40:34 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Feb-2024 00:40:31.424 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Feb-2024 00:40:32.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Feb-2024 00:40:32.697 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:32.698 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:32.916 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37039"] 07-Feb-2024 00:40:33.208 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37039"] 07-Feb-2024 00:40:33.210 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:33.234 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37039"] 07-Feb-2024 00:40:33.236 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37039"] 07-Feb-2024 00:40:33.248 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Feb-2024 00:40:33.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Feb-2024 00:40:33.307 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:33.307 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:33.346 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43245"] 07-Feb-2024 00:40:33.363 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43245"] 07-Feb-2024 00:40:33.364 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:33.375 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43245"] 07-Feb-2024 00:40:33.380 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-43245"] 07-Feb-2024 00:40:33.385 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Feb-2024 00:40:33.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Feb-2024 00:40:33.387 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Feb-2024 00:40:33.406 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Feb-2024 00:40:33.461 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:33.461 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:33.586 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Feb-2024 00:40:33.896 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46733"] 07-Feb-2024 00:40:33.923 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46733"] 07-Feb-2024 00:40:33.928 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:33.939 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46733"] 07-Feb-2024 00:40:33.939 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46733"] 07-Feb-2024 00:40:33.945 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Feb-2024 00:40:33.952 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Feb-2024 00:40:34.022 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.022 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.068 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37831"] 07-Feb-2024 00:40:34.074 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37831"] 07-Feb-2024 00:40:34.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.088 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37831"] 07-Feb-2024 00:40:34.089 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37831"] 07-Feb-2024 00:40:34.093 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Feb-2024 00:40:34.095 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Feb-2024 00:40:34.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.100 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40555"] 07-Feb-2024 00:40:34.127 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40555"] 07-Feb-2024 00:40:34.135 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40555"] 07-Feb-2024 00:40:34.145 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40555"] 07-Feb-2024 00:40:34.157 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Feb-2024 00:40:34.158 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Feb-2024 00:40:34.158 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Feb-2024 00:40:34.160 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Feb-2024 00:40:34.170 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.170 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.183 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32793"] 07-Feb-2024 00:40:34.188 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32793"] 07-Feb-2024 00:40:34.201 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.207 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32793"] 07-Feb-2024 00:40:34.207 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-32793"] 07-Feb-2024 00:40:34.216 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Feb-2024 00:40:34.218 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Feb-2024 00:40:34.221 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.221 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.247 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34121"] 07-Feb-2024 00:40:34.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34121"] 07-Feb-2024 00:40:34.259 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.262 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34121"] 07-Feb-2024 00:40:34.263 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-34121"] 07-Feb-2024 00:40:34.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Feb-2024 00:40:34.273 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Feb-2024 00:40:34.275 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.275 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.333 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36897"] 07-Feb-2024 00:40:34.343 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36897"] 07-Feb-2024 00:40:34.344 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36897"] 07-Feb-2024 00:40:34.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36897"] 07-Feb-2024 00:40:34.364 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Feb-2024 00:40:34.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 07-Feb-2024 00:40:34.390 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.390 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.429 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43743"] 07-Feb-2024 00:40:34.438 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43743"] 07-Feb-2024 00:40:34.439 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43743"] 07-Feb-2024 00:40:34.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43743"] 07-Feb-2024 00:40:34.456 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Feb-2024 00:40:34.457 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 07-Feb-2024 00:40:34.458 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Feb-2024 00:40:34.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 07-Feb-2024 00:40:34.472 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.472 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.490 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42983"] 07-Feb-2024 00:40:34.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42983"] 07-Feb-2024 00:40:34.500 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42983"] 07-Feb-2024 00:40:34.510 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42983"] 07-Feb-2024 00:40:34.517 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Feb-2024 00:40:34.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 07-Feb-2024 00:40:34.578 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.579 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.602 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34809"] 07-Feb-2024 00:40:34.606 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34809"] 07-Feb-2024 00:40:34.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.628 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34809"] 07-Feb-2024 00:40:34.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34809"] 07-Feb-2024 00:40:34.633 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Feb-2024 00:40:34.635 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 07-Feb-2024 00:40:34.644 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Feb-2024 00:40:34.644 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 07-Feb-2024 00:40:34.662 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46207"] 07-Feb-2024 00:40:34.666 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46207"] 07-Feb-2024 00:40:34.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Feb-2024 00:40:34.672 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46207"] 07-Feb-2024 00:40:34.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46207"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.2 sec Testcase: testUseContentTypeExpiresConfiguration took 0.137 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.557 sec Testcase: testConfiguration took 0.149 sec Testcase: testNullContentType took 0.063 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.058 sec Testcase: testUseDefaultConfiguration2 took 0.054 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.094 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.09 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.059 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.117 sec Testcase: testEmptyContent took 0.044 sec