Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.676 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 29 Feb 2024 12:01:53 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:04:54 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:54 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 29 Feb 2024 12:01:54 GMT Expires: Thu, 29 Feb 2024 12:08:54 GMT Keep-Alive: timeout=3 ETag: W/"971-1709207331657" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:02:54 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 12:01:54 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:02:54 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:54 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:02:55 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:54 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:08:55 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:55 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, 29 Feb 2024 12:01:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:01:55 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:06:55 GMT Content-Length: 11 Date: Thu, 29 Feb 2024 12:01:55 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 29 Feb 2024 12:08:55 GMT Content-Length: 0 Date: Thu, 29 Feb 2024 12:01:55 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 29-Feb-2024 12:01:52.696 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 29-Feb-2024 12:01:53.470 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 29-Feb-2024 12:01:53.506 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:53.506 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:53.754 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34819"] 29-Feb-2024 12:01:53.984 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34819"] 29-Feb-2024 12:01:53.987 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.016 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34819"] 29-Feb-2024 12:01:54.030 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34819"] 29-Feb-2024 12:01:54.040 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 29-Feb-2024 12:01:54.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 29-Feb-2024 12:01:54.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:54.071 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35477"] 29-Feb-2024 12:01:54.154 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35477"] 29-Feb-2024 12:01:54.173 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.176 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35477"] 29-Feb-2024 12:01:54.197 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35477"] 29-Feb-2024 12:01:54.199 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 29-Feb-2024 12:01:54.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 29-Feb-2024 12:01:54.202 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 29-Feb-2024 12:01:54.224 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 29-Feb-2024 12:01:54.228 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.233 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:54.407 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 29-Feb-2024 12:01:54.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43859"] 29-Feb-2024 12:01:54.806 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43859"] 29-Feb-2024 12:01:54.810 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.815 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43859"] 29-Feb-2024 12:01:54.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43859"] 29-Feb-2024 12:01:54.827 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 29-Feb-2024 12:01:54.828 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 29-Feb-2024 12:01:54.829 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.829 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:54.834 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45063"] 29-Feb-2024 12:01:54.864 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45063"] 29-Feb-2024 12:01:54.864 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.867 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45063"] 29-Feb-2024 12:01:54.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45063"] 29-Feb-2024 12:01:54.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 29-Feb-2024 12:01:54.872 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 29-Feb-2024 12:01:54.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:54.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-42653"] 29-Feb-2024 12:01:54.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-42653"] 29-Feb-2024 12:01:54.905 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.907 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-42653"] 29-Feb-2024 12:01:54.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-42653"] 29-Feb-2024 12:01:54.913 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 29-Feb-2024 12:01:54.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 29-Feb-2024 12:01:54.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 29-Feb-2024 12:01:54.916 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 29-Feb-2024 12:01:54.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:54.934 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-36429"] 29-Feb-2024 12:01:54.962 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-36429"] 29-Feb-2024 12:01:54.964 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:54.968 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-36429"] 29-Feb-2024 12:01:54.978 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-36429"] 29-Feb-2024 12:01:54.980 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 29-Feb-2024 12:01:54.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 29-Feb-2024 12:01:54.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:54.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.004 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37125"] 29-Feb-2024 12:01:55.142 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37125"] 29-Feb-2024 12:01:55.142 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.144 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37125"] 29-Feb-2024 12:01:55.148 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37125"] 29-Feb-2024 12:01:55.150 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 29-Feb-2024 12:01:55.151 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 29-Feb-2024 12:01:55.152 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:55.152 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.182 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-43999"] 29-Feb-2024 12:01:55.320 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-43999"] 29-Feb-2024 12:01:55.326 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-43999"] 29-Feb-2024 12:01:55.334 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-43999"] 29-Feb-2024 12:01:55.336 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 29-Feb-2024 12:01:55.347 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 29-Feb-2024 12:01:55.351 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:55.352 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.359 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43575"] 29-Feb-2024 12:01:55.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43575"] 29-Feb-2024 12:01:55.375 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.384 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43575"] 29-Feb-2024 12:01:55.402 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43575"] 29-Feb-2024 12:01:55.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 29-Feb-2024 12:01:55.404 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 29-Feb-2024 12:01:55.405 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 29-Feb-2024 12:01:55.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 29-Feb-2024 12:01:55.410 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:55.411 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.446 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-42381"] 29-Feb-2024 12:01:55.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-42381"] 29-Feb-2024 12:01:55.555 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.557 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-42381"] 29-Feb-2024 12:01:55.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-42381"] 29-Feb-2024 12:01:55.564 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 29-Feb-2024 12:01:55.566 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 29-Feb-2024 12:01:55.567 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:55.567 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.584 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-37377"] 29-Feb-2024 12:01:55.716 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-37377"] 29-Feb-2024 12:01:55.718 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.721 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-37377"] 29-Feb-2024 12:01:55.726 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-37377"] 29-Feb-2024 12:01:55.729 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 29-Feb-2024 12:01:55.732 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 29-Feb-2024 12:01:55.740 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 29-Feb-2024 12:01:55.740 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.20-dev] 29-Feb-2024 12:01:55.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-35187"] 29-Feb-2024 12:01:55.780 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-35187"] 29-Feb-2024 12:01:55.783 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 29-Feb-2024 12:01:55.785 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-35187"] 29-Feb-2024 12:01:55.790 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-35187"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.777 sec Testcase: testUseContentTypeExpiresConfiguration took 0.159 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.624 sec Testcase: testConfiguration took 0.044 sec Testcase: testNullContentType took 0.042 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.065 sec Testcase: testUseDefaultConfiguration2 took 0.169 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.185 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.067 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.159 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.163 sec Testcase: testEmptyContent took 0.063 sec