Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.341 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 11 Jul 2024 17:35:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:38:28 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 11 Jul 2024 17:35:28 GMT Expires: Thu, 11 Jul 2024 17:42:28 GMT Keep-Alive: timeout=3 ETag: W/"971-1720718545014" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:36:28 GMT Content-Length: 0 Date: Thu, 11 Jul 2024 17:35:28 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:36:28 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:36:28 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:42:28 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35: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, 11 Jul 2024 17:35:28 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:35:29 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:40:29 GMT Content-Length: 11 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 Jul 2024 17:42:29 GMT Content-Length: 0 Date: Thu, 11 Jul 2024 17:35:28 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Jul-2024 17:35:26.076 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Jul-2024 17:35:27.206 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Jul-2024 17:35:27.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:27.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:27.572 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43565"] 11-Jul-2024 17:35:27.949 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43565"] 11-Jul-2024 17:35:27.953 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.001 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43565"] 11-Jul-2024 17:35:28.011 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43565"] 11-Jul-2024 17:35:28.025 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Jul-2024 17:35:28.027 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Jul-2024 17:35:28.028 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.035 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.048 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38913"] 11-Jul-2024 17:35:28.162 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38913"] 11-Jul-2024 17:35:28.165 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.168 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38913"] 11-Jul-2024 17:35:28.174 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38913"] 11-Jul-2024 17:35:28.177 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Jul-2024 17:35:28.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Jul-2024 17:35:28.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Jul-2024 17:35:28.203 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Jul-2024 17:35:28.206 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.207 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.359 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Jul-2024 17:35:28.504 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. 11-Jul-2024 17:35:28.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-41411"] 11-Jul-2024 17:35:28.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-41411"] 11-Jul-2024 17:35:28.648 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.654 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-41411"] 11-Jul-2024 17:35:28.657 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-41411"] 11-Jul-2024 17:35:28.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Jul-2024 17:35:28.661 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Jul-2024 17:35:28.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.662 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.687 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-43917"] 11-Jul-2024 17:35:28.736 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-43917"] 11-Jul-2024 17:35:28.736 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.739 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-43917"] 11-Jul-2024 17:35:28.742 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-43917"] 11-Jul-2024 17:35:28.744 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Jul-2024 17:35:28.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Jul-2024 17:35:28.746 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.746 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.752 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-33833"] 11-Jul-2024 17:35:28.771 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-33833"] 11-Jul-2024 17:35:28.772 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.777 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-33833"] 11-Jul-2024 17:35:28.780 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-33833"] 11-Jul-2024 17:35:28.782 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Jul-2024 17:35:28.783 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Jul-2024 17:35:28.784 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Jul-2024 17:35:28.786 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Jul-2024 17:35:28.787 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.787 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.818 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43817"] 11-Jul-2024 17:35:28.838 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43817"] 11-Jul-2024 17:35:28.839 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.841 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43817"] 11-Jul-2024 17:35:28.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43817"] 11-Jul-2024 17:35:28.852 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Jul-2024 17:35:28.853 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Jul-2024 17:35:28.854 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.854 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.859 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43477"] 11-Jul-2024 17:35:28.866 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43477"] 11-Jul-2024 17:35:28.867 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.870 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43477"] 11-Jul-2024 17:35:28.875 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43477"] 11-Jul-2024 17:35:28.877 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Jul-2024 17:35:28.880 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Jul-2024 17:35:28.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.881 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.887 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46707"] 11-Jul-2024 17:35:28.900 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46707"] 11-Jul-2024 17:35:28.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.905 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46707"] 11-Jul-2024 17:35:28.909 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46707"] 11-Jul-2024 17:35:28.911 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Jul-2024 17:35:28.912 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-Jul-2024 17:35:28.913 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.913 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.917 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36509"] 11-Jul-2024 17:35:28.956 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36509"] 11-Jul-2024 17:35:28.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:28.959 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36509"] 11-Jul-2024 17:35:28.971 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36509"] 11-Jul-2024 17:35:28.972 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Jul-2024 17:35:28.973 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-Jul-2024 17:35:28.973 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Jul-2024 17:35:28.974 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-Jul-2024 17:35:28.975 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:28.975 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:28.983 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35491"] 11-Jul-2024 17:35:29.011 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35491"] 11-Jul-2024 17:35:29.013 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:29.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35491"] 11-Jul-2024 17:35:29.023 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35491"] 11-Jul-2024 17:35:29.024 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Jul-2024 17:35:29.026 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-Jul-2024 17:35:29.026 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:29.027 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:29.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-38399"] 11-Jul-2024 17:35:29.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-38399"] 11-Jul-2024 17:35:29.054 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:29.056 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-38399"] 11-Jul-2024 17:35:29.058 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-38399"] 11-Jul-2024 17:35:29.060 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Jul-2024 17:35:29.061 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-Jul-2024 17:35:29.062 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Jul-2024 17:35:29.062 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 11-Jul-2024 17:35:29.079 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40183"] 11-Jul-2024 17:35:29.141 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40183"] 11-Jul-2024 17:35:29.144 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Jul-2024 17:35:29.146 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40183"] 11-Jul-2024 17:35:29.149 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40183"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.094 sec Testcase: testUseContentTypeExpiresConfiguration took 0.158 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.008 sec Testcase: testBug63909 took 0.475 sec Testcase: testConfiguration took 0.084 sec Testcase: testNullContentType took 0.038 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.068 sec Testcase: testUseDefaultConfiguration2 took 0.025 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.033 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.062 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.051 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.09 sec