Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.514 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 02 May 2023 14:38:28 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 02 May 2023 14:41:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 02 May 2023 14:38:29 GMT Expires: Tue, 02 May 2023 14:45:29 GMT Keep-Alive: timeout=3 ETag: W/"971-1683036271566" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:39:29 GMT Content-Length: 0 Date: Tue, 02 May 2023 14:38:29 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:39:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 02 May 2023 14:39:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 02 May 2023 14:45:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 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: Tue, 02 May 2023 14:38:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 02 May 2023 14:38:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 02 May 2023 14:43:29 GMT Content-Length: 11 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 02 May 2023 14:45:30 GMT Content-Length: 0 Date: Tue, 02 May 2023 14:38:29 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 02-May-2023 14:38:27.949 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 02-May-2023 14:38:28.609 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 02-May-2023 14:38:28.684 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:28.685 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:28.840 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37045"] 02-May-2023 14:38:28.968 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37045"] 02-May-2023 14:38:28.970 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:28.993 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37045"] 02-May-2023 14:38:28.998 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37045"] 02-May-2023 14:38:29.013 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 02-May-2023 14:38:29.024 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 02-May-2023 14:38:29.033 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.033 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.040 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42319"] 02-May-2023 14:38:29.066 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42319"] 02-May-2023 14:38:29.068 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.092 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42319"] 02-May-2023 14:38:29.093 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42319"] 02-May-2023 14:38:29.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 02-May-2023 14:38:29.117 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 02-May-2023 14:38:29.118 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 02-May-2023 14:38:29.126 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 02-May-2023 14:38:29.199 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.200 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.292 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 02-May-2023 14:38:29.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46681"] 02-May-2023 14:38:29.503 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46681"] 02-May-2023 14:38:29.504 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.522 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46681"] 02-May-2023 14:38:29.523 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46681"] 02-May-2023 14:38:29.528 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 02-May-2023 14:38:29.530 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 02-May-2023 14:38:29.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.583 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.590 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45033"] 02-May-2023 14:38:29.598 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45033"] 02-May-2023 14:38:29.600 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.602 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45033"] 02-May-2023 14:38:29.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45033"] 02-May-2023 14:38:29.610 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 02-May-2023 14:38:29.613 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 02-May-2023 14:38:29.660 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.660 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36375"] 02-May-2023 14:38:29.694 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36375"] 02-May-2023 14:38:29.696 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.700 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36375"] 02-May-2023 14:38:29.701 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36375"] 02-May-2023 14:38:29.707 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 02-May-2023 14:38:29.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 02-May-2023 14:38:29.717 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 02-May-2023 14:38:29.720 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 02-May-2023 14:38:29.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.729 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.735 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33705"] 02-May-2023 14:38:29.749 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33705"] 02-May-2023 14:38:29.752 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.754 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33705"] 02-May-2023 14:38:29.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-33705"] 02-May-2023 14:38:29.759 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 02-May-2023 14:38:29.761 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 02-May-2023 14:38:29.780 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.780 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.799 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36211"] 02-May-2023 14:38:29.817 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36211"] 02-May-2023 14:38:29.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36211"] 02-May-2023 14:38:29.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36211"] 02-May-2023 14:38:29.827 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 02-May-2023 14:38:29.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 02-May-2023 14:38:29.834 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.835 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.849 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34531"] 02-May-2023 14:38:29.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34531"] 02-May-2023 14:38:29.871 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.879 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34531"] 02-May-2023 14:38:29.880 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34531"] 02-May-2023 14:38:29.883 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 02-May-2023 14:38:29.885 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 02-May-2023 14:38:29.899 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.899 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.911 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 02-May-2023 14:38:29.917 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 02-May-2023 14:38:29.920 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.927 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 02-May-2023 14:38:29.929 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39257"] 02-May-2023 14:38:29.933 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 02-May-2023 14:38:29.934 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 02-May-2023 14:38:29.935 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 02-May-2023 14:38:29.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 02-May-2023 14:38:29.939 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.947 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41163"] 02-May-2023 14:38:29.955 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41163"] 02-May-2023 14:38:29.959 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:29.962 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41163"] 02-May-2023 14:38:29.963 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-41163"] 02-May-2023 14:38:29.966 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 02-May-2023 14:38:29.968 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 02-May-2023 14:38:29.985 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:29.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:29.996 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41785"] 02-May-2023 14:38:30.001 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41785"] 02-May-2023 14:38:30.004 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:30.007 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41785"] 02-May-2023 14:38:30.008 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41785"] 02-May-2023 14:38:30.011 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 02-May-2023 14:38:30.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 02-May-2023 14:38:30.034 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 02-May-2023 14:38:30.034 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.9-dev] 02-May-2023 14:38:30.040 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35275"] 02-May-2023 14:38:30.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35275"] 02-May-2023 14:38:30.046 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 02-May-2023 14:38:30.049 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35275"] 02-May-2023 14:38:30.050 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35275"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.37 sec Testcase: testUseContentTypeExpiresConfiguration took 0.102 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.409 sec Testcase: testConfiguration took 0.082 sec Testcase: testNullContentType took 0.096 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.049 sec Testcase: testUseDefaultConfiguration2 took 0.067 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.056 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.049 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.032 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.044 sec Testcase: testEmptyContent took 0.043 sec