Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.457 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 28 Feb 2024 15:30:31 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:33:31 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 28 Feb 2024 15:30:31 GMT Expires: Wed, 28 Feb 2024 15:37:32 GMT Keep-Alive: timeout=3 ETag: W/"971-1709133430871" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:31:32 GMT Content-Length: 0 Date: Wed, 28 Feb 2024 15:30:31 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:31:32 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:31:32 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:37:32 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 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, 28 Feb 2024 15:30:31 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:30:32 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:35:32 GMT Content-Length: 11 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 28 Feb 2024 15:37:32 GMT Content-Length: 0 Date: Wed, 28 Feb 2024 15:30:31 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 28-Feb-2024 15:30:29.653 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 28-Feb-2024 15:30:30.969 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 28-Feb-2024 15:30:31.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:31.044 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:31.319 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-41615"] 28-Feb-2024 15:30:31.620 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-41615"] 28-Feb-2024 15:30:31.623 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:31.664 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-41615"] 28-Feb-2024 15:30:31.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-41615"] 28-Feb-2024 15:30:31.685 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 28-Feb-2024 15:30:31.691 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 28-Feb-2024 15:30:31.692 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:31.692 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:31.734 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37075"] 28-Feb-2024 15:30:31.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37075"] 28-Feb-2024 15:30:31.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:31.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37075"] 28-Feb-2024 15:30:31.855 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37075"] 28-Feb-2024 15:30:31.857 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 28-Feb-2024 15:30:31.858 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 28-Feb-2024 15:30:31.859 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 28-Feb-2024 15:30:31.875 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 28-Feb-2024 15:30:31.882 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:31.882 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:31.948 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 28-Feb-2024 15:30:32.170 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33723"] 28-Feb-2024 15:30:32.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33723"] 28-Feb-2024 15:30:32.253 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.260 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33723"] 28-Feb-2024 15:30:32.275 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33723"] 28-Feb-2024 15:30:32.277 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 28-Feb-2024 15:30:32.279 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 28-Feb-2024 15:30:32.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.281 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43781"] 28-Feb-2024 15:30:32.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43781"] 28-Feb-2024 15:30:32.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.347 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43781"] 28-Feb-2024 15:30:32.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43781"] 28-Feb-2024 15:30:32.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 28-Feb-2024 15:30:32.360 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 28-Feb-2024 15:30:32.360 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.361 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.380 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37933"] 28-Feb-2024 15:30:32.403 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37933"] 28-Feb-2024 15:30:32.406 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37933"] 28-Feb-2024 15:30:32.419 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37933"] 28-Feb-2024 15:30:32.421 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 28-Feb-2024 15:30:32.424 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 28-Feb-2024 15:30:32.428 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 28-Feb-2024 15:30:32.434 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 28-Feb-2024 15:30:32.436 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.436 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.455 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-45491"] 28-Feb-2024 15:30:32.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-45491"] 28-Feb-2024 15:30:32.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.475 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-45491"] 28-Feb-2024 15:30:32.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-45491"] 28-Feb-2024 15:30:32.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 28-Feb-2024 15:30:32.483 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 28-Feb-2024 15:30:32.484 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.484 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.489 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43653"] 28-Feb-2024 15:30:32.499 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43653"] 28-Feb-2024 15:30:32.502 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.506 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43653"] 28-Feb-2024 15:30:32.508 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43653"] 28-Feb-2024 15:30:32.510 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 28-Feb-2024 15:30:32.511 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 28-Feb-2024 15:30:32.512 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.512 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.518 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40733"] 28-Feb-2024 15:30:32.529 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40733"] 28-Feb-2024 15:30:32.530 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.532 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40733"] 28-Feb-2024 15:30:32.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40733"] 28-Feb-2024 15:30:32.536 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 28-Feb-2024 15:30:32.538 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 28-Feb-2024 15:30:32.539 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.539 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.544 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-32769"] 28-Feb-2024 15:30:32.558 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-32769"] 28-Feb-2024 15:30:32.558 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-32769"] 28-Feb-2024 15:30:32.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-32769"] 28-Feb-2024 15:30:32.565 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 28-Feb-2024 15:30:32.565 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 28-Feb-2024 15:30:32.566 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 28-Feb-2024 15:30:32.567 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 28-Feb-2024 15:30:32.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-41363"] 28-Feb-2024 15:30:32.584 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-41363"] 28-Feb-2024 15:30:32.587 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.589 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-41363"] 28-Feb-2024 15:30:32.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-41363"] 28-Feb-2024 15:30:32.597 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 28-Feb-2024 15:30:32.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 28-Feb-2024 15:30:32.600 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.600 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37835"] 28-Feb-2024 15:30:32.629 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37835"] 28-Feb-2024 15:30:32.632 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.635 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37835"] 28-Feb-2024 15:30:32.642 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37835"] 28-Feb-2024 15:30:32.643 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 28-Feb-2024 15:30:32.645 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 28-Feb-2024 15:30:32.646 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 28-Feb-2024 15:30:32.646 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M18-dev] 28-Feb-2024 15:30:32.650 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-34983"] 28-Feb-2024 15:30:32.659 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-34983"] 28-Feb-2024 15:30:32.661 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 28-Feb-2024 15:30:32.663 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-34983"] 28-Feb-2024 15:30:32.666 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-34983"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.372 sec Testcase: testUseContentTypeExpiresConfiguration took 0.172 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.418 sec Testcase: testConfiguration took 0.08 sec Testcase: testNullContentType took 0.063 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.055 sec Testcase: testUseDefaultConfiguration2 took 0.027 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.028 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.031 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.046 sec Testcase: testEmptyContent took 0.024 sec