Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.134 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 01 May 2024 17:28:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 01 May 2024 17:31:38 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 01 May 2024 17:28:38 GMT Expires: Wed, 01 May 2024 17:35:39 GMT Keep-Alive: timeout=3 ETag: W/"971-1714582918934" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:29:39 GMT Content-Length: 0 Date: Wed, 01 May 2024 17:28:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:29:39 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:29:39 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 01 May 2024 17:35:39 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 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, 01 May 2024 17:28:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 01 May 2024 17:28:39 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 01 May 2024 17:33:39 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 01 May 2024 17:35:39 GMT Content-Length: 0 Date: Wed, 01 May 2024 17:28:38 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-May-2024 17:28:36.954 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-May-2024 17:28:37.924 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 01-May-2024 17:28:38.071 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:38.082 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:38.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42663"] 01-May-2024 17:28:38.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42663"] 01-May-2024 17:28:38.603 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:38.635 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42663"] 01-May-2024 17:28:38.641 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42663"] 01-May-2024 17:28:38.657 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-May-2024 17:28:38.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 01-May-2024 17:28:38.762 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:38.763 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:38.787 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41043"] 01-May-2024 17:28:38.818 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41043"] 01-May-2024 17:28:38.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:38.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41043"] 01-May-2024 17:28:38.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41043"] 01-May-2024 17:28:38.829 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-May-2024 17:28:38.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 01-May-2024 17:28:38.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-May-2024 17:28:38.838 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 01-May-2024 17:28:38.935 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:38.935 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.033 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-May-2024 17:28:39.216 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34211"] 01-May-2024 17:28:39.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34211"] 01-May-2024 17:28:39.240 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.246 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34211"] 01-May-2024 17:28:39.247 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34211"] 01-May-2024 17:28:39.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-May-2024 17:28:39.257 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 01-May-2024 17:28:39.296 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.296 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.302 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42795"] 01-May-2024 17:28:39.303 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42795"] 01-May-2024 17:28:39.317 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.319 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42795"] 01-May-2024 17:28:39.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-42795"] 01-May-2024 17:28:39.326 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-May-2024 17:28:39.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 01-May-2024 17:28:39.355 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.355 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.366 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36969"] 01-May-2024 17:28:39.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36969"] 01-May-2024 17:28:39.376 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.378 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36969"] 01-May-2024 17:28:39.379 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36969"] 01-May-2024 17:28:39.383 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-May-2024 17:28:39.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 01-May-2024 17:28:39.387 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-May-2024 17:28:39.388 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 01-May-2024 17:28:39.405 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.405 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.410 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41897"] 01-May-2024 17:28:39.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41897"] 01-May-2024 17:28:39.416 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.419 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41897"] 01-May-2024 17:28:39.422 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41897"] 01-May-2024 17:28:39.426 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-May-2024 17:28:39.428 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 01-May-2024 17:28:39.444 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.444 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.450 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39099"] 01-May-2024 17:28:39.458 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39099"] 01-May-2024 17:28:39.459 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.467 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39099"] 01-May-2024 17:28:39.468 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-39099"] 01-May-2024 17:28:39.471 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-May-2024 17:28:39.472 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 01-May-2024 17:28:39.477 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.477 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.486 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39481"] 01-May-2024 17:28:39.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39481"] 01-May-2024 17:28:39.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39481"] 01-May-2024 17:28:39.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-39481"] 01-May-2024 17:28:39.505 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-May-2024 17:28:39.506 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 01-May-2024 17:28:39.510 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.510 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.516 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34953"] 01-May-2024 17:28:39.527 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34953"] 01-May-2024 17:28:39.529 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.531 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34953"] 01-May-2024 17:28:39.543 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34953"] 01-May-2024 17:28:39.546 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-May-2024 17:28:39.547 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 01-May-2024 17:28:39.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-May-2024 17:28:39.549 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 01-May-2024 17:28:39.566 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.566 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45579"] 01-May-2024 17:28:39.577 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45579"] 01-May-2024 17:28:39.580 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.582 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45579"] 01-May-2024 17:28:39.582 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45579"] 01-May-2024 17:28:39.588 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-May-2024 17:28:39.589 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 01-May-2024 17:28:39.601 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.601 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.608 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33361"] 01-May-2024 17:28:39.629 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33361"] 01-May-2024 17:28:39.630 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33361"] 01-May-2024 17:28:39.636 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33361"] 01-May-2024 17:28:39.640 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-May-2024 17:28:39.641 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 01-May-2024 17:28:39.650 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:28:39.650 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:28:39.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33421"] 01-May-2024 17:28:39.662 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33421"] 01-May-2024 17:28:39.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:28:39.666 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33421"] 01-May-2024 17:28:39.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-33421"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.012 sec Testcase: testUseContentTypeExpiresConfiguration took 0.175 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.424 sec Testcase: testConfiguration took 0.07 sec Testcase: testNullContentType took 0.056 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.038 sec Testcase: testUseDefaultConfiguration2 took 0.045 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.034 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.04 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.039 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.052 sec Testcase: testEmptyContent took 0.03 sec