Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.25 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 22 Feb 2024 13:59:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:02:27 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:27 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 22 Feb 2024 13:59:27 GMT Expires: Thu, 22 Feb 2024 14:06:27 GMT Keep-Alive: timeout=3 ETag: W/"971-1708609031850" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:00:28 GMT Content-Length: 0 Date: Thu, 22 Feb 2024 13:59:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:00:28 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:00:28 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:06:28 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:28 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, 22 Feb 2024 13:59:28 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 22 Feb 2024 13:59:28 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:28 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:04:28 GMT Content-Length: 11 Date: Thu, 22 Feb 2024 13:59:28 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 22 Feb 2024 14:06:28 GMT Content-Length: 0 Date: Thu, 22 Feb 2024 13:59:28 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 22-Feb-2024 13:59:24.884 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 22-Feb-2024 13:59:26.158 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 22-Feb-2024 13:59:26.283 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:26.287 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:26.650 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41899"] 22-Feb-2024 13:59:26.952 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41899"] 22-Feb-2024 13:59:26.955 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:26.989 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41899"] 22-Feb-2024 13:59:26.991 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41899"] 22-Feb-2024 13:59:27.010 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 22-Feb-2024 13:59:27.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 22-Feb-2024 13:59:27.101 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:27.101 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:27.152 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41491"] 22-Feb-2024 13:59:27.166 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41491"] 22-Feb-2024 13:59:27.169 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:27.179 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41491"] 22-Feb-2024 13:59:27.180 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41491"] 22-Feb-2024 13:59:27.190 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 22-Feb-2024 13:59:27.192 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 22-Feb-2024 13:59:27.193 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 22-Feb-2024 13:59:27.219 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 22-Feb-2024 13:59:27.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:27.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:27.397 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 22-Feb-2024 13:59:27.717 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38951"] 22-Feb-2024 13:59:27.771 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38951"] 22-Feb-2024 13:59:27.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:27.785 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38951"] 22-Feb-2024 13:59:27.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-38951"] 22-Feb-2024 13:59:27.809 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 22-Feb-2024 13:59:27.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 22-Feb-2024 13:59:27.897 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:27.897 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:27.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37781"] 22-Feb-2024 13:59:27.948 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37781"] 22-Feb-2024 13:59:27.949 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:27.955 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37781"] 22-Feb-2024 13:59:27.956 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-37781"] 22-Feb-2024 13:59:27.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 22-Feb-2024 13:59:27.964 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 22-Feb-2024 13:59:27.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:27.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.016 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45433"] 22-Feb-2024 13:59:28.024 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45433"] 22-Feb-2024 13:59:28.025 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.037 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45433"] 22-Feb-2024 13:59:28.038 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45433"] 22-Feb-2024 13:59:28.044 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 22-Feb-2024 13:59:28.045 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 22-Feb-2024 13:59:28.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 22-Feb-2024 13:59:28.048 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 22-Feb-2024 13:59:28.056 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.056 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.086 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33757"] 22-Feb-2024 13:59:28.100 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33757"] 22-Feb-2024 13:59:28.102 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.118 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33757"] 22-Feb-2024 13:59:28.119 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33757"] 22-Feb-2024 13:59:28.136 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 22-Feb-2024 13:59:28.139 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 22-Feb-2024 13:59:28.237 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.238 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.260 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45871"] 22-Feb-2024 13:59:28.269 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45871"] 22-Feb-2024 13:59:28.269 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.282 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45871"] 22-Feb-2024 13:59:28.283 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-45871"] 22-Feb-2024 13:59:28.289 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 22-Feb-2024 13:59:28.291 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 22-Feb-2024 13:59:28.295 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.295 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34891"] 22-Feb-2024 13:59:28.316 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34891"] 22-Feb-2024 13:59:28.317 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.326 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34891"] 22-Feb-2024 13:59:28.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34891"] 22-Feb-2024 13:59:28.335 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 22-Feb-2024 13:59:28.341 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 22-Feb-2024 13:59:28.352 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.352 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43553"] 22-Feb-2024 13:59:28.397 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43553"] 22-Feb-2024 13:59:28.398 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43553"] 22-Feb-2024 13:59:28.421 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43553"] 22-Feb-2024 13:59:28.427 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 22-Feb-2024 13:59:28.428 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 22-Feb-2024 13:59:28.429 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 22-Feb-2024 13:59:28.430 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 22-Feb-2024 13:59:28.449 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.449 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.470 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41861"] 22-Feb-2024 13:59:28.478 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41861"] 22-Feb-2024 13:59:28.481 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.483 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41861"] 22-Feb-2024 13:59:28.484 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41861"] 22-Feb-2024 13:59:28.489 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 22-Feb-2024 13:59:28.491 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 22-Feb-2024 13:59:28.493 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.494 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.508 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43787"] 22-Feb-2024 13:59:28.513 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43787"] 22-Feb-2024 13:59:28.516 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43787"] 22-Feb-2024 13:59:28.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-43787"] 22-Feb-2024 13:59:28.535 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 22-Feb-2024 13:59:28.536 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 22-Feb-2024 13:59:28.570 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-Feb-2024 13:59:28.571 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.100-dev] 22-Feb-2024 13:59:28.579 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37569"] 22-Feb-2024 13:59:28.582 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37569"] 22-Feb-2024 13:59:28.585 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-Feb-2024 13:59:28.587 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37569"] 22-Feb-2024 13:59:28.588 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-37569"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.559 sec Testcase: testUseContentTypeExpiresConfiguration took 0.18 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.615 sec Testcase: testConfiguration took 0.152 sec Testcase: testNullContentType took 0.082 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.089 sec Testcase: testUseDefaultConfiguration2 took 0.153 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.044 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.092 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.06 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.044 sec Testcase: testEmptyContent took 0.06 sec