Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.439 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 03 Oct 2024 16:24:52 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:27:52 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:52 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 03 Oct 2024 16:24:53 GMT Expires: Thu, 03 Oct 2024 16:31:53 GMT Keep-Alive: timeout=3 ETag: W/"971-1727971867196" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:25:53 GMT Content-Length: 0 Date: Thu, 03 Oct 2024 16:24:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:25:53 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:25:53 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:53 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:31:53 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:53 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, 03 Oct 2024 16:24:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:24:53 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:53 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:29:53 GMT Content-Length: 11 Date: Thu, 03 Oct 2024 16:24:53 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 03 Oct 2024 16:31:53 GMT Content-Length: 0 Date: Thu, 03 Oct 2024 16:24:53 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-Oct-2024 16:24:50.788 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-Oct-2024 16:24:52.011 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 03-Oct-2024 16:24:52.100 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:52.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:52.375 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43793"] 03-Oct-2024 16:24:52.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43793"] 03-Oct-2024 16:24:52.760 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:52.793 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43793"] 03-Oct-2024 16:24:52.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43793"] 03-Oct-2024 16:24:52.811 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-Oct-2024 16:24:52.817 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 03-Oct-2024 16:24:52.822 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:52.822 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:52.843 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-40097"] 03-Oct-2024 16:24:52.892 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-40097"] 03-Oct-2024 16:24:52.896 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:52.912 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-40097"] 03-Oct-2024 16:24:52.918 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-40097"] 03-Oct-2024 16:24:52.920 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-Oct-2024 16:24:52.922 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 03-Oct-2024 16:24:52.923 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-Oct-2024 16:24:52.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 03-Oct-2024 16:24:52.933 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:52.933 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.001 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-Oct-2024 16:24:53.226 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. 03-Oct-2024 16:24:53.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 03-Oct-2024 16:24:53.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 03-Oct-2024 16:24:53.310 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.316 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 03-Oct-2024 16:24:53.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-44861"] 03-Oct-2024 16:24:53.321 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-Oct-2024 16:24:53.323 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 03-Oct-2024 16:24:53.324 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.324 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.332 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-40159"] 03-Oct-2024 16:24:53.334 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-40159"] 03-Oct-2024 16:24:53.336 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.339 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-40159"] 03-Oct-2024 16:24:53.341 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-40159"] 03-Oct-2024 16:24:53.344 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-Oct-2024 16:24:53.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 03-Oct-2024 16:24:53.346 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45029"] 03-Oct-2024 16:24:53.407 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45029"] 03-Oct-2024 16:24:53.407 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45029"] 03-Oct-2024 16:24:53.420 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45029"] 03-Oct-2024 16:24:53.422 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-Oct-2024 16:24:53.424 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 03-Oct-2024 16:24:53.427 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-Oct-2024 16:24:53.429 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 03-Oct-2024 16:24:53.430 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.430 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.451 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-43101"] 03-Oct-2024 16:24:53.503 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-43101"] 03-Oct-2024 16:24:53.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.517 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-43101"] 03-Oct-2024 16:24:53.528 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-43101"] 03-Oct-2024 16:24:53.530 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-Oct-2024 16:24:53.532 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 03-Oct-2024 16:24:53.533 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.533 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44013"] 03-Oct-2024 16:24:53.556 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44013"] 03-Oct-2024 16:24:53.558 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.561 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44013"] 03-Oct-2024 16:24:53.564 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44013"] 03-Oct-2024 16:24:53.566 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-Oct-2024 16:24:53.568 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 03-Oct-2024 16:24:53.569 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.569 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.575 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-44431"] 03-Oct-2024 16:24:53.585 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-44431"] 03-Oct-2024 16:24:53.588 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.593 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-44431"] 03-Oct-2024 16:24:53.598 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-44431"] 03-Oct-2024 16:24:53.600 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-Oct-2024 16:24:53.601 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 03-Oct-2024 16:24:53.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.609 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-39495"] 03-Oct-2024 16:24:53.638 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-39495"] 03-Oct-2024 16:24:53.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.642 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-39495"] 03-Oct-2024 16:24:53.644 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-39495"] 03-Oct-2024 16:24:53.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-Oct-2024 16:24:53.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 03-Oct-2024 16:24:53.648 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-Oct-2024 16:24:53.649 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 03-Oct-2024 16:24:53.652 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.667 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44421"] 03-Oct-2024 16:24:53.699 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44421"] 03-Oct-2024 16:24:53.701 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44421"] 03-Oct-2024 16:24:53.714 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44421"] 03-Oct-2024 16:24:53.716 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-Oct-2024 16:24:53.718 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 03-Oct-2024 16:24:53.719 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.719 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.724 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39237"] 03-Oct-2024 16:24:53.745 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39237"] 03-Oct-2024 16:24:53.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.751 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39237"] 03-Oct-2024 16:24:53.757 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39237"] 03-Oct-2024 16:24:53.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-Oct-2024 16:24:53.760 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 03-Oct-2024 16:24:53.762 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Oct-2024 16:24:53.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-dev] 03-Oct-2024 16:24:53.772 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-40747"] 03-Oct-2024 16:24:53.780 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-40747"] 03-Oct-2024 16:24:53.781 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Oct-2024 16:24:53.783 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-40747"] 03-Oct-2024 16:24:53.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-40747"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.289 sec Testcase: testUseContentTypeExpiresConfiguration took 0.109 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.397 sec Testcase: testConfiguration took 0.022 sec Testcase: testNullContentType took 0.078 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.005 sec Testcase: testUseDefaultConfiguration1 took 0.104 sec Testcase: testUseDefaultConfiguration2 took 0.035 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.033 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.046 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.069 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.042 sec Testcase: testEmptyContent took 0.029 sec