Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.462 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 25 May 2023 14:36:41 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 25 May 2023 14:39:41 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 25 May 2023 14:36:41 GMT Expires: Thu, 25 May 2023 14:43:42 GMT Keep-Alive: timeout=3 ETag: W/"971-1685023354866" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:37:42 GMT Content-Length: 0 Date: Thu, 25 May 2023 14:36:41 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:37:42 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 25 May 2023 14:37:42 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Thu, 25 May 2023 14:43:42 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 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: Thu, 25 May 2023 14:36:41 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 25 May 2023 14:36:42 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 25 May 2023 14:41:42 GMT Content-Length: 11 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 25 May 2023 14:43:42 GMT Content-Length: 0 Date: Thu, 25 May 2023 14:36:41 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 25-May-2023 14:36:40.596 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 25-May-2023 14:36:41.282 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 25-May-2023 14:36:41.388 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:41.388 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:41.588 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39027"] 25-May-2023 14:36:41.733 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39027"] 25-May-2023 14:36:41.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:41.762 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39027"] 25-May-2023 14:36:41.766 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39027"] 25-May-2023 14:36:41.777 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 25-May-2023 14:36:41.779 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 25-May-2023 14:36:41.783 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:41.783 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:41.800 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40605"] 25-May-2023 14:36:41.832 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40605"] 25-May-2023 14:36:41.834 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:41.837 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40605"] 25-May-2023 14:36:41.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40605"] 25-May-2023 14:36:41.842 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 25-May-2023 14:36:41.844 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 25-May-2023 14:36:41.848 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 25-May-2023 14:36:41.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 25-May-2023 14:36:41.874 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:41.875 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:41.965 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 25-May-2023 14:36:42.139 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36815"] 25-May-2023 14:36:42.159 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36815"] 25-May-2023 14:36:42.162 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.177 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36815"] 25-May-2023 14:36:42.178 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-36815"] 25-May-2023 14:36:42.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 25-May-2023 14:36:42.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 25-May-2023 14:36:42.232 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.233 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.242 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46485"] 25-May-2023 14:36:42.244 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46485"] 25-May-2023 14:36:42.245 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.247 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46485"] 25-May-2023 14:36:42.248 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-46485"] 25-May-2023 14:36:42.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 25-May-2023 14:36:42.257 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 25-May-2023 14:36:42.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.266 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37709"] 25-May-2023 14:36:42.270 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37709"] 25-May-2023 14:36:42.273 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.277 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37709"] 25-May-2023 14:36:42.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-37709"] 25-May-2023 14:36:42.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 25-May-2023 14:36:42.286 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 25-May-2023 14:36:42.288 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 25-May-2023 14:36:42.298 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 25-May-2023 14:36:42.303 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.303 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39485"] 25-May-2023 14:36:42.316 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39485"] 25-May-2023 14:36:42.317 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.320 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39485"] 25-May-2023 14:36:42.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39485"] 25-May-2023 14:36:42.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 25-May-2023 14:36:42.334 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 25-May-2023 14:36:42.369 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.369 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.387 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44255"] 25-May-2023 14:36:42.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44255"] 25-May-2023 14:36:42.411 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.413 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44255"] 25-May-2023 14:36:42.414 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44255"] 25-May-2023 14:36:42.421 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 25-May-2023 14:36:42.423 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 25-May-2023 14:36:42.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.478 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42413"] 25-May-2023 14:36:42.488 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42413"] 25-May-2023 14:36:42.489 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42413"] 25-May-2023 14:36:42.494 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-42413"] 25-May-2023 14:36:42.496 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 25-May-2023 14:36:42.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 25-May-2023 14:36:42.543 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.544 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.550 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45835"] 25-May-2023 14:36:42.555 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45835"] 25-May-2023 14:36:42.558 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45835"] 25-May-2023 14:36:42.562 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-45835"] 25-May-2023 14:36:42.567 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 25-May-2023 14:36:42.568 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 25-May-2023 14:36:42.571 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 25-May-2023 14:36:42.586 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 25-May-2023 14:36:42.590 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.590 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.601 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44233"] 25-May-2023 14:36:42.605 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44233"] 25-May-2023 14:36:42.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.617 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44233"] 25-May-2023 14:36:42.618 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44233"] 25-May-2023 14:36:42.621 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 25-May-2023 14:36:42.623 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 25-May-2023 14:36:42.629 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.630 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.636 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37925"] 25-May-2023 14:36:42.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37925"] 25-May-2023 14:36:42.642 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.644 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37925"] 25-May-2023 14:36:42.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37925"] 25-May-2023 14:36:42.648 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 25-May-2023 14:36:42.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 25-May-2023 14:36:42.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 25-May-2023 14:36:42.676 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 25-May-2023 14:36:42.681 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37913"] 25-May-2023 14:36:42.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37913"] 25-May-2023 14:36:42.689 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 25-May-2023 14:36:42.691 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37913"] 25-May-2023 14:36:42.692 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37913"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.466 sec Testcase: testUseContentTypeExpiresConfiguration took 0.065 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.336 sec Testcase: testConfiguration took 0.071 sec Testcase: testNullContentType took 0.03 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.045 sec Testcase: testUseDefaultConfiguration2 took 0.089 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.075 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.07 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.05 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.027 sec Testcase: testEmptyContent took 0.046 sec