Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.996 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 08 Feb 2024 14:41:40 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:44:40 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:40 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 08 Feb 2024 14:41:40 GMT Expires: Thu, 08 Feb 2024 14:48:41 GMT Keep-Alive: timeout=3 ETag: W/"971-1707401981481" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:42:41 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 14:41:40 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:42:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:42:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:40 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:48:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:40 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, 08 Feb 2024 14:41:40 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:41:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:40 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:46:41 GMT Content-Length: 11 Date: Thu, 08 Feb 2024 14:41:41 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 08 Feb 2024 14:48:41 GMT Content-Length: 0 Date: Thu, 08 Feb 2024 14:41:41 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 08-Feb-2024 14:41:38.332 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 08-Feb-2024 14:41:39.658 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 08-Feb-2024 14:41:39.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:39.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:40.052 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44287"] 08-Feb-2024 14:41:40.339 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44287"] 08-Feb-2024 14:41:40.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:40.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44287"] 08-Feb-2024 14:41:40.373 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44287"] 08-Feb-2024 14:41:40.442 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 08-Feb-2024 14:41:40.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 08-Feb-2024 14:41:40.540 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:40.541 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:40.644 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41653"] 08-Feb-2024 14:41:40.697 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41653"] 08-Feb-2024 14:41:40.698 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:40.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41653"] 08-Feb-2024 14:41:40.703 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41653"] 08-Feb-2024 14:41:40.717 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 08-Feb-2024 14:41:40.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 08-Feb-2024 14:41:40.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 08-Feb-2024 14:41:40.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 08-Feb-2024 14:41:40.746 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:40.751 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:40.852 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 08-Feb-2024 14:41:41.076 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42237"] 08-Feb-2024 14:41:41.109 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42237"] 08-Feb-2024 14:41:41.110 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.123 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42237"] 08-Feb-2024 14:41:41.124 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42237"] 08-Feb-2024 14:41:41.133 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 08-Feb-2024 14:41:41.135 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 08-Feb-2024 14:41:41.210 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.210 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34191"] 08-Feb-2024 14:41:41.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34191"] 08-Feb-2024 14:41:41.261 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.266 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34191"] 08-Feb-2024 14:41:41.266 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34191"] 08-Feb-2024 14:41:41.277 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 08-Feb-2024 14:41:41.279 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 08-Feb-2024 14:41:41.330 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.330 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.351 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45371"] 08-Feb-2024 14:41:41.368 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45371"] 08-Feb-2024 14:41:41.371 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.379 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45371"] 08-Feb-2024 14:41:41.381 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45371"] 08-Feb-2024 14:41:41.389 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 08-Feb-2024 14:41:41.390 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 08-Feb-2024 14:41:41.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 08-Feb-2024 14:41:41.392 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 08-Feb-2024 14:41:41.408 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.408 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.426 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41187"] 08-Feb-2024 14:41:41.432 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41187"] 08-Feb-2024 14:41:41.439 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.442 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41187"] 08-Feb-2024 14:41:41.444 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41187"] 08-Feb-2024 14:41:41.452 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 08-Feb-2024 14:41:41.459 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 08-Feb-2024 14:41:41.468 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.490 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46179"] 08-Feb-2024 14:41:41.496 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46179"] 08-Feb-2024 14:41:41.497 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.500 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46179"] 08-Feb-2024 14:41:41.500 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-46179"] 08-Feb-2024 14:41:41.513 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 08-Feb-2024 14:41:41.514 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 08-Feb-2024 14:41:41.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39621"] 08-Feb-2024 14:41:41.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39621"] 08-Feb-2024 14:41:41.574 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.586 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39621"] 08-Feb-2024 14:41:41.587 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39621"] 08-Feb-2024 14:41:41.590 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 08-Feb-2024 14:41:41.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 08-Feb-2024 14:41:41.599 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.599 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.617 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37495"] 08-Feb-2024 14:41:41.622 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37495"] 08-Feb-2024 14:41:41.625 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37495"] 08-Feb-2024 14:41:41.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-37495"] 08-Feb-2024 14:41:41.638 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 08-Feb-2024 14:41:41.639 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 08-Feb-2024 14:41:41.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 08-Feb-2024 14:41:41.641 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 08-Feb-2024 14:41:41.650 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.650 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45063"] 08-Feb-2024 14:41:41.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45063"] 08-Feb-2024 14:41:41.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.672 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45063"] 08-Feb-2024 14:41:41.674 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45063"] 08-Feb-2024 14:41:41.677 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 08-Feb-2024 14:41:41.679 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 08-Feb-2024 14:41:41.681 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42607"] 08-Feb-2024 14:41:41.695 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42607"] 08-Feb-2024 14:41:41.698 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42607"] 08-Feb-2024 14:41:41.703 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-42607"] 08-Feb-2024 14:41:41.706 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 08-Feb-2024 14:41:41.708 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 08-Feb-2024 14:41:41.717 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Feb-2024 14:41:41.718 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.99-dev] 08-Feb-2024 14:41:41.756 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34451"] 08-Feb-2024 14:41:41.760 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34451"] 08-Feb-2024 14:41:41.760 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Feb-2024 14:41:41.763 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34451"] 08-Feb-2024 14:41:41.764 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-34451"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.576 sec Testcase: testUseContentTypeExpiresConfiguration took 0.293 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.001 sec Testcase: testBug63909 took 0.413 sec Testcase: testConfiguration took 0.145 sec Testcase: testNullContentType took 0.112 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.061 sec Testcase: testUseDefaultConfiguration2 took 0.061 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.078 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.037 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.069 sec