Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.222 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 27 Jun 2024 09:28:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:31:32 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 27 Jun 2024 09:28:32 GMT Expires: Thu, 27 Jun 2024 09:35:33 GMT Keep-Alive: timeout=3 ETag: W/"971-1719479654162" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:29:33 GMT Content-Length: 0 Date: Thu, 27 Jun 2024 09:28:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:29:33 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:29:33 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:35:33 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 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, 27 Jun 2024 09:28:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:28:33 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:33:33 GMT Content-Length: 11 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 27 Jun 2024 09:35:33 GMT Content-Length: 0 Date: Thu, 27 Jun 2024 09:28:32 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 27-Jun-2024 09:28:30.822 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 27-Jun-2024 09:28:31.920 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 27-Jun-2024 09:28:31.997 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:31.998 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:32.287 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33635"] 27-Jun-2024 09:28:32.602 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33635"] 27-Jun-2024 09:28:32.605 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:32.643 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33635"] 27-Jun-2024 09:28:32.651 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33635"] 27-Jun-2024 09:28:32.666 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 27-Jun-2024 09:28:32.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 27-Jun-2024 09:28:32.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:32.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:32.705 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-42823"] 27-Jun-2024 09:28:32.842 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-42823"] 27-Jun-2024 09:28:32.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:32.846 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-42823"] 27-Jun-2024 09:28:32.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-42823"] 27-Jun-2024 09:28:32.855 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 27-Jun-2024 09:28:32.858 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 27-Jun-2024 09:28:32.862 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 27-Jun-2024 09:28:32.888 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 27-Jun-2024 09:28:32.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:32.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.021 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 27-Jun-2024 09:28:33.169 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 27-Jun-2024 09:28:33.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42175"] 27-Jun-2024 09:28:33.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42175"] 27-Jun-2024 09:28:33.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.250 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42175"] 27-Jun-2024 09:28:33.254 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42175"] 27-Jun-2024 09:28:33.256 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 27-Jun-2024 09:28:33.258 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 27-Jun-2024 09:28:33.259 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.259 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36883"] 27-Jun-2024 09:28:33.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36883"] 27-Jun-2024 09:28:33.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36883"] 27-Jun-2024 09:28:33.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36883"] 27-Jun-2024 09:28:33.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 27-Jun-2024 09:28:33.336 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 27-Jun-2024 09:28:33.337 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.354 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43405"] 27-Jun-2024 09:28:33.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43405"] 27-Jun-2024 09:28:33.409 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.423 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43405"] 27-Jun-2024 09:28:33.441 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43405"] 27-Jun-2024 09:28:33.445 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 27-Jun-2024 09:28:33.447 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 27-Jun-2024 09:28:33.451 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 27-Jun-2024 09:28:33.453 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 27-Jun-2024 09:28:33.454 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.454 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.467 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39733"] 27-Jun-2024 09:28:33.570 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39733"] 27-Jun-2024 09:28:33.573 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.575 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39733"] 27-Jun-2024 09:28:33.577 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39733"] 27-Jun-2024 09:28:33.579 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 27-Jun-2024 09:28:33.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 27-Jun-2024 09:28:33.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.605 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-46319"] 27-Jun-2024 09:28:33.624 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-46319"] 27-Jun-2024 09:28:33.625 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.627 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-46319"] 27-Jun-2024 09:28:33.629 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-46319"] 27-Jun-2024 09:28:33.630 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 27-Jun-2024 09:28:33.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 27-Jun-2024 09:28:33.632 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.632 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.637 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-37555"] 27-Jun-2024 09:28:33.647 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-37555"] 27-Jun-2024 09:28:33.649 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.652 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-37555"] 27-Jun-2024 09:28:33.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-37555"] 27-Jun-2024 09:28:33.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 27-Jun-2024 09:28:33.657 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 27-Jun-2024 09:28:33.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.658 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.662 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-39029"] 27-Jun-2024 09:28:33.671 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-39029"] 27-Jun-2024 09:28:33.672 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.674 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-39029"] 27-Jun-2024 09:28:33.676 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-39029"] 27-Jun-2024 09:28:33.677 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 27-Jun-2024 09:28:33.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 27-Jun-2024 09:28:33.678 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 27-Jun-2024 09:28:33.679 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 27-Jun-2024 09:28:33.679 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.679 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.685 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-38905"] 27-Jun-2024 09:28:33.713 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-38905"] 27-Jun-2024 09:28:33.716 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.718 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-38905"] 27-Jun-2024 09:28:33.722 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-38905"] 27-Jun-2024 09:28:33.724 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 27-Jun-2024 09:28:33.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 27-Jun-2024 09:28:33.726 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.726 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36729"] 27-Jun-2024 09:28:33.766 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36729"] 27-Jun-2024 09:28:33.768 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.772 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36729"] 27-Jun-2024 09:28:33.779 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36729"] 27-Jun-2024 09:28:33.782 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 27-Jun-2024 09:28:33.783 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 27-Jun-2024 09:28:33.784 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:28:33.786 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:28:33.793 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40653"] 27-Jun-2024 09:28:33.805 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40653"] 27-Jun-2024 09:28:33.808 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:28:33.809 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40653"] 27-Jun-2024 09:28:33.812 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40653"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.973 sec Testcase: testUseContentTypeExpiresConfiguration took 0.188 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.396 sec Testcase: testConfiguration took 0.078 sec Testcase: testNullContentType took 0.109 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.005 sec Testcase: testUseDefaultConfiguration1 took 0.131 sec Testcase: testUseDefaultConfiguration2 took 0.051 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.025 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.021 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.045 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.057 sec Testcase: testEmptyContent took 0.032 sec