Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.264 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 02 Sep 2024 15:29:01 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:32:02 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:02 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 02 Sep 2024 15:29:02 GMT Expires: Mon, 02 Sep 2024 15:36:02 GMT Keep-Alive: timeout=3 ETag: W/"971-1725290159461" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:30:02 GMT Content-Length: 0 Date: Mon, 02 Sep 2024 15:29:02 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:30:02 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:02 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:30:02 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:02 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:36:02 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:02 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: Mon, 02 Sep 2024 15:29:02 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:29:03 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:03 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:34:03 GMT Content-Length: 11 Date: Mon, 02 Sep 2024 15:29:03 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 02 Sep 2024 15:36:03 GMT Content-Length: 0 Date: Mon, 02 Sep 2024 15:29:03 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 02-Sep-2024 15:29:00.211 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 02-Sep-2024 15:29:01.102 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 02-Sep-2024 15:29:01.164 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:01.165 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:01.445 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37659"] 02-Sep-2024 15:29:01.754 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37659"] 02-Sep-2024 15:29:01.757 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:01.816 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37659"] 02-Sep-2024 15:29:01.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37659"] 02-Sep-2024 15:29:01.831 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 02-Sep-2024 15:29:01.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 02-Sep-2024 15:29:01.836 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:01.838 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:01.869 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33251"] 02-Sep-2024 15:29:02.018 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33251"] 02-Sep-2024 15:29:02.022 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.025 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33251"] 02-Sep-2024 15:29:02.031 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33251"] 02-Sep-2024 15:29:02.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 02-Sep-2024 15:29:02.038 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 02-Sep-2024 15:29:02.040 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 02-Sep-2024 15:29:02.050 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 02-Sep-2024 15:29:02.053 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.053 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.222 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 02-Sep-2024 15:29:02.439 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. 02-Sep-2024 15:29:02.486 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46335"] 02-Sep-2024 15:29:02.525 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46335"] 02-Sep-2024 15:29:02.528 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.535 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46335"] 02-Sep-2024 15:29:02.538 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46335"] 02-Sep-2024 15:29:02.540 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 02-Sep-2024 15:29:02.541 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 02-Sep-2024 15:29:02.541 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.542 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39639"] 02-Sep-2024 15:29:02.597 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39639"] 02-Sep-2024 15:29:02.597 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39639"] 02-Sep-2024 15:29:02.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39639"] 02-Sep-2024 15:29:02.605 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 02-Sep-2024 15:29:02.607 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 02-Sep-2024 15:29:02.608 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.608 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.626 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42861"] 02-Sep-2024 15:29:02.660 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42861"] 02-Sep-2024 15:29:02.662 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42861"] 02-Sep-2024 15:29:02.674 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42861"] 02-Sep-2024 15:29:02.678 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 02-Sep-2024 15:29:02.679 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 02-Sep-2024 15:29:02.679 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 02-Sep-2024 15:29:02.681 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 02-Sep-2024 15:29:02.681 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.681 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.703 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-32901"] 02-Sep-2024 15:29:02.756 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-32901"] 02-Sep-2024 15:29:02.758 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.764 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-32901"] 02-Sep-2024 15:29:02.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-32901"] 02-Sep-2024 15:29:02.769 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 02-Sep-2024 15:29:02.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 02-Sep-2024 15:29:02.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.778 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-43553"] 02-Sep-2024 15:29:02.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-43553"] 02-Sep-2024 15:29:02.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.831 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-43553"] 02-Sep-2024 15:29:02.835 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-43553"] 02-Sep-2024 15:29:02.837 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 02-Sep-2024 15:29:02.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 02-Sep-2024 15:29:02.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.851 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38701"] 02-Sep-2024 15:29:02.860 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38701"] 02-Sep-2024 15:29:02.863 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.866 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38701"] 02-Sep-2024 15:29:02.874 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38701"] 02-Sep-2024 15:29:02.876 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 02-Sep-2024 15:29:02.877 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 02-Sep-2024 15:29:02.878 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.878 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-37603"] 02-Sep-2024 15:29:02.953 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-37603"] 02-Sep-2024 15:29:02.954 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:02.956 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-37603"] 02-Sep-2024 15:29:02.961 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-37603"] 02-Sep-2024 15:29:02.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 02-Sep-2024 15:29:02.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 02-Sep-2024 15:29:02.964 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 02-Sep-2024 15:29:02.965 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 02-Sep-2024 15:29:02.966 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:02.966 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:02.985 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-34511"] 02-Sep-2024 15:29:03.028 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-34511"] 02-Sep-2024 15:29:03.030 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:03.032 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-34511"] 02-Sep-2024 15:29:03.035 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-34511"] 02-Sep-2024 15:29:03.036 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 02-Sep-2024 15:29:03.038 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 02-Sep-2024 15:29:03.038 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:03.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:03.044 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-44287"] 02-Sep-2024 15:29:03.087 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-44287"] 02-Sep-2024 15:29:03.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:03.092 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-44287"] 02-Sep-2024 15:29:03.094 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-44287"] 02-Sep-2024 15:29:03.096 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 02-Sep-2024 15:29:03.097 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 02-Sep-2024 15:29:03.098 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-Sep-2024 15:29:03.098 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.29-dev] 02-Sep-2024 15:29:03.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37883"] 02-Sep-2024 15:29:03.179 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37883"] 02-Sep-2024 15:29:03.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-Sep-2024 15:29:03.189 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37883"] 02-Sep-2024 15:29:03.193 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37883"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.822 sec Testcase: testUseContentTypeExpiresConfiguration took 0.205 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.5 sec Testcase: testConfiguration took 0.065 sec Testcase: testNullContentType took 0.071 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.004 sec Testcase: testUseDefaultConfiguration1 took 0.089 sec Testcase: testUseDefaultConfiguration2 took 0.069 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.038 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.086 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.072 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.059 sec Testcase: testEmptyContent took 0.098 sec