Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.427 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 12 May 2023 15:29:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 12 May 2023 15:32:56 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 12 May 2023 15:29:56 GMT Expires: Fri, 12 May 2023 15:36:57 GMT Keep-Alive: timeout=3 ETag: W/"971-1683903324016" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 12 May 2023 15:30:57 GMT Content-Length: 0 Date: Fri, 12 May 2023 15:29:56 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 12 May 2023 15:30:57 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 12 May 2023 15:30:57 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 12 May 2023 15:36:57 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 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: Fri, 12 May 2023 15:29:56 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 12 May 2023 15:29:57 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 12 May 2023 15:34:57 GMT Content-Length: 11 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 12 May 2023 15:36:57 GMT Content-Length: 0 Date: Fri, 12 May 2023 15:29:56 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 12-May-2023 15:29:55.311 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 12-May-2023 15:29:55.936 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 12-May-2023 15:29:56.055 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:56.056 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:56.246 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44023"] 12-May-2023 15:29:56.454 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44023"] 12-May-2023 15:29:56.456 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:56.487 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44023"] 12-May-2023 15:29:56.490 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44023"] 12-May-2023 15:29:56.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 12-May-2023 15:29:56.566 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 12-May-2023 15:29:56.612 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:56.612 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:56.618 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40107"] 12-May-2023 15:29:56.633 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40107"] 12-May-2023 15:29:56.635 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:56.642 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40107"] 12-May-2023 15:29:56.685 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40107"] 12-May-2023 15:29:56.689 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 12-May-2023 15:29:56.691 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 12-May-2023 15:29:56.694 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 12-May-2023 15:29:56.716 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 12-May-2023 15:29:56.775 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:56.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:56.855 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 12-May-2023 15:29:57.093 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43763"] 12-May-2023 15:29:57.105 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43763"] 12-May-2023 15:29:57.108 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.117 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43763"] 12-May-2023 15:29:57.123 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-43763"] 12-May-2023 15:29:57.126 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 12-May-2023 15:29:57.128 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 12-May-2023 15:29:57.174 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.174 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.181 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45205"] 12-May-2023 15:29:57.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45205"] 12-May-2023 15:29:57.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45205"] 12-May-2023 15:29:57.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45205"] 12-May-2023 15:29:57.191 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 12-May-2023 15:29:57.192 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 12-May-2023 15:29:57.195 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.196 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.200 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41093"] 12-May-2023 15:29:57.204 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41093"] 12-May-2023 15:29:57.207 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.210 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41093"] 12-May-2023 15:29:57.210 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41093"] 12-May-2023 15:29:57.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 12-May-2023 15:29:57.219 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 12-May-2023 15:29:57.220 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 12-May-2023 15:29:57.221 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 12-May-2023 15:29:57.228 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.228 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.234 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41707"] 12-May-2023 15:29:57.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41707"] 12-May-2023 15:29:57.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.244 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41707"] 12-May-2023 15:29:57.245 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41707"] 12-May-2023 15:29:57.250 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 12-May-2023 15:29:57.251 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 12-May-2023 15:29:57.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.265 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41271"] 12-May-2023 15:29:57.269 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41271"] 12-May-2023 15:29:57.272 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.275 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41271"] 12-May-2023 15:29:57.276 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41271"] 12-May-2023 15:29:57.280 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 12-May-2023 15:29:57.282 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 12-May-2023 15:29:57.291 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.291 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.296 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45983"] 12-May-2023 15:29:57.301 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45983"] 12-May-2023 15:29:57.301 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.303 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45983"] 12-May-2023 15:29:57.304 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45983"] 12-May-2023 15:29:57.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 12-May-2023 15:29:57.308 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 12-May-2023 15:29:57.312 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.312 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.316 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42279"] 12-May-2023 15:29:57.320 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42279"] 12-May-2023 15:29:57.322 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.324 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42279"] 12-May-2023 15:29:57.325 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-42279"] 12-May-2023 15:29:57.327 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 12-May-2023 15:29:57.328 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 12-May-2023 15:29:57.329 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 12-May-2023 15:29:57.330 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 12-May-2023 15:29:57.332 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.332 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.339 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36523"] 12-May-2023 15:29:57.341 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36523"] 12-May-2023 15:29:57.342 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.344 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36523"] 12-May-2023 15:29:57.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36523"] 12-May-2023 15:29:57.347 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 12-May-2023 15:29:57.348 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 12-May-2023 15:29:57.350 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.350 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.354 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35639"] 12-May-2023 15:29:57.358 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35639"] 12-May-2023 15:29:57.361 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35639"] 12-May-2023 15:29:57.363 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35639"] 12-May-2023 15:29:57.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 12-May-2023 15:29:57.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 12-May-2023 15:29:57.372 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-May-2023 15:29:57.372 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 12-May-2023 15:29:57.375 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-32857"] 12-May-2023 15:29:57.379 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-32857"] 12-May-2023 15:29:57.380 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-May-2023 15:29:57.381 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-32857"] 12-May-2023 15:29:57.382 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-32857"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.518 sec Testcase: testUseContentTypeExpiresConfiguration took 0.158 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.433 sec Testcase: testConfiguration took 0.064 sec Testcase: testNullContentType took 0.027 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.03 sec Testcase: testUseDefaultConfiguration2 took 0.031 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.026 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.021 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.018 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.019 sec Testcase: testEmptyContent took 0.018 sec