Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.57 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 01 Feb 2024 15:34:04 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:37:04 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 01 Feb 2024 15:34:04 GMT Expires: Thu, 01 Feb 2024 15:41:05 GMT Keep-Alive: timeout=3 ETag: W/"971-1706800077335" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:35:05 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 15:34:04 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:35:05 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:35:05 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:41:05 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 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, 01 Feb 2024 15:34:04 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:34:05 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:39:05 GMT Content-Length: 11 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 01 Feb 2024 15:41:05 GMT Content-Length: 0 Date: Thu, 01 Feb 2024 15:34:04 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-Feb-2024 15:34:02.624 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-Feb-2024 15:34:04.026 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 01-Feb-2024 15:34:04.133 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:04.134 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:04.391 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33515"] 01-Feb-2024 15:34:04.648 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33515"] 01-Feb-2024 15:34:04.649 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:04.677 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33515"] 01-Feb-2024 15:34:04.678 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33515"] 01-Feb-2024 15:34:04.699 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-Feb-2024 15:34:04.701 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 01-Feb-2024 15:34:04.825 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:04.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:04.842 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37003"] 01-Feb-2024 15:34:04.876 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37003"] 01-Feb-2024 15:34:04.877 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:04.884 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37003"] 01-Feb-2024 15:34:04.885 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-37003"] 01-Feb-2024 15:34:04.891 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-Feb-2024 15:34:04.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 01-Feb-2024 15:34:04.899 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-Feb-2024 15:34:04.910 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 01-Feb-2024 15:34:04.954 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:04.954 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.048 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-Feb-2024 15:34:05.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44135"] 01-Feb-2024 15:34:05.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44135"] 01-Feb-2024 15:34:05.294 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.299 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44135"] 01-Feb-2024 15:34:05.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44135"] 01-Feb-2024 15:34:05.304 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-Feb-2024 15:34:05.306 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 01-Feb-2024 15:34:05.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.327 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33285"] 01-Feb-2024 15:34:05.328 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33285"] 01-Feb-2024 15:34:05.331 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.337 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33285"] 01-Feb-2024 15:34:05.339 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33285"] 01-Feb-2024 15:34:05.342 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-Feb-2024 15:34:05.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 01-Feb-2024 15:34:05.351 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.351 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.357 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44927"] 01-Feb-2024 15:34:05.362 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44927"] 01-Feb-2024 15:34:05.362 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.367 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44927"] 01-Feb-2024 15:34:05.368 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-44927"] 01-Feb-2024 15:34:05.370 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-Feb-2024 15:34:05.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 01-Feb-2024 15:34:05.372 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-Feb-2024 15:34:05.373 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 01-Feb-2024 15:34:05.379 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.379 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38943"] 01-Feb-2024 15:34:05.391 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38943"] 01-Feb-2024 15:34:05.396 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.399 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38943"] 01-Feb-2024 15:34:05.399 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38943"] 01-Feb-2024 15:34:05.408 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-Feb-2024 15:34:05.410 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 01-Feb-2024 15:34:05.438 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.439 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.443 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46059"] 01-Feb-2024 15:34:05.449 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46059"] 01-Feb-2024 15:34:05.451 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.454 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46059"] 01-Feb-2024 15:34:05.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46059"] 01-Feb-2024 15:34:05.457 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-Feb-2024 15:34:05.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 01-Feb-2024 15:34:05.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.478 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.485 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37983"] 01-Feb-2024 15:34:05.491 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37983"] 01-Feb-2024 15:34:05.494 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.496 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37983"] 01-Feb-2024 15:34:05.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-37983"] 01-Feb-2024 15:34:05.500 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-Feb-2024 15:34:05.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 01-Feb-2024 15:34:05.514 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.514 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.517 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42191"] 01-Feb-2024 15:34:05.523 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42191"] 01-Feb-2024 15:34:05.523 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.525 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42191"] 01-Feb-2024 15:34:05.526 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42191"] 01-Feb-2024 15:34:05.528 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-Feb-2024 15:34:05.529 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 01-Feb-2024 15:34:05.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-Feb-2024 15:34:05.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 01-Feb-2024 15:34:05.539 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.539 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.545 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36021"] 01-Feb-2024 15:34:05.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36021"] 01-Feb-2024 15:34:05.549 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36021"] 01-Feb-2024 15:34:05.554 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36021"] 01-Feb-2024 15:34:05.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-Feb-2024 15:34:05.560 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 01-Feb-2024 15:34:05.568 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.568 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.573 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35883"] 01-Feb-2024 15:34:05.581 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35883"] 01-Feb-2024 15:34:05.585 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35883"] 01-Feb-2024 15:34:05.590 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35883"] 01-Feb-2024 15:34:05.593 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-Feb-2024 15:34:05.596 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 01-Feb-2024 15:34:05.619 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Feb-2024 15:34:05.619 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M17-dev] 01-Feb-2024 15:34:05.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44715"] 01-Feb-2024 15:34:05.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44715"] 01-Feb-2024 15:34:05.638 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Feb-2024 15:34:05.640 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44715"] 01-Feb-2024 15:34:05.643 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-44715"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.475 sec Testcase: testUseContentTypeExpiresConfiguration took 0.19 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.006 sec Testcase: testBug63909 took 0.407 sec Testcase: testConfiguration took 0.039 sec Testcase: testNullContentType took 0.028 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.034 sec Testcase: testUseDefaultConfiguration2 took 0.05 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.042 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.029 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.028 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.034 sec Testcase: testEmptyContent took 0.055 sec