Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.446 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 24 Oct 2023 15:34:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:37:26 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 24 Oct 2023 15:34:26 GMT Expires: Tue, 24 Oct 2023 15:41:26 GMT Keep-Alive: timeout=3 ETag: W/"971-1698159721145" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:35:27 GMT Content-Length: 0 Date: Tue, 24 Oct 2023 15:34:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:35:27 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:35:27 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:41:27 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 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, 24 Oct 2023 15:34:26 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:34:27 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:39:27 GMT Content-Length: 11 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 24 Oct 2023 15:41:27 GMT Content-Length: 0 Date: Tue, 24 Oct 2023 15:34:26 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 24-Oct-2023 15:34:25.224 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 24-Oct-2023 15:34:26.002 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 24-Oct-2023 15:34:26.115 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:26.115 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:26.285 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39469"] 24-Oct-2023 15:34:26.475 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39469"] 24-Oct-2023 15:34:26.477 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:26.504 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39469"] 24-Oct-2023 15:34:26.507 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39469"] 24-Oct-2023 15:34:26.517 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 24-Oct-2023 15:34:26.520 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 24-Oct-2023 15:34:26.572 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:26.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:26.581 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39261"] 24-Oct-2023 15:34:26.597 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39261"] 24-Oct-2023 15:34:26.598 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:26.600 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39261"] 24-Oct-2023 15:34:26.607 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-39261"] 24-Oct-2023 15:34:26.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 24-Oct-2023 15:34:26.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 24-Oct-2023 15:34:26.618 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 24-Oct-2023 15:34:26.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 24-Oct-2023 15:34:26.678 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:26.679 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:26.776 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 24-Oct-2023 15:34:26.898 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40481"] 24-Oct-2023 15:34:26.922 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40481"] 24-Oct-2023 15:34:26.923 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:26.929 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40481"] 24-Oct-2023 15:34:26.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40481"] 24-Oct-2023 15:34:26.941 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 24-Oct-2023 15:34:26.943 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 24-Oct-2023 15:34:27.040 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.040 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.056 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38403"] 24-Oct-2023 15:34:27.060 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38403"] 24-Oct-2023 15:34:27.061 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.063 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38403"] 24-Oct-2023 15:34:27.064 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-38403"] 24-Oct-2023 15:34:27.069 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 24-Oct-2023 15:34:27.073 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 24-Oct-2023 15:34:27.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.097 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40227"] 24-Oct-2023 15:34:27.101 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40227"] 24-Oct-2023 15:34:27.103 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.106 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40227"] 24-Oct-2023 15:34:27.106 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-40227"] 24-Oct-2023 15:34:27.112 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 24-Oct-2023 15:34:27.114 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 24-Oct-2023 15:34:27.115 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 24-Oct-2023 15:34:27.116 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 24-Oct-2023 15:34:27.139 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.139 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.164 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38821"] 24-Oct-2023 15:34:27.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38821"] 24-Oct-2023 15:34:27.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.200 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38821"] 24-Oct-2023 15:34:27.201 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-38821"] 24-Oct-2023 15:34:27.207 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 24-Oct-2023 15:34:27.208 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 24-Oct-2023 15:34:27.278 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.284 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41907"] 24-Oct-2023 15:34:27.289 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41907"] 24-Oct-2023 15:34:27.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.293 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41907"] 24-Oct-2023 15:34:27.295 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41907"] 24-Oct-2023 15:34:27.299 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 24-Oct-2023 15:34:27.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 24-Oct-2023 15:34:27.304 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.304 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.309 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36007"] 24-Oct-2023 15:34:27.313 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36007"] 24-Oct-2023 15:34:27.314 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.317 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36007"] 24-Oct-2023 15:34:27.318 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-36007"] 24-Oct-2023 15:34:27.321 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 24-Oct-2023 15:34:27.323 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 24-Oct-2023 15:34:27.328 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.328 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.334 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40401"] 24-Oct-2023 15:34:27.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40401"] 24-Oct-2023 15:34:27.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40401"] 24-Oct-2023 15:34:27.346 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-40401"] 24-Oct-2023 15:34:27.350 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 24-Oct-2023 15:34:27.351 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 24-Oct-2023 15:34:27.352 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 24-Oct-2023 15:34:27.354 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 24-Oct-2023 15:34:27.357 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.357 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.362 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33573"] 24-Oct-2023 15:34:27.367 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33573"] 24-Oct-2023 15:34:27.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.371 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33573"] 24-Oct-2023 15:34:27.372 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-33573"] 24-Oct-2023 15:34:27.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 24-Oct-2023 15:34:27.377 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 24-Oct-2023 15:34:27.380 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.380 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.394 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33311"] 24-Oct-2023 15:34:27.398 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33311"] 24-Oct-2023 15:34:27.401 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33311"] 24-Oct-2023 15:34:27.404 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-33311"] 24-Oct-2023 15:34:27.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 24-Oct-2023 15:34:27.409 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 24-Oct-2023 15:34:27.413 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2023 15:34:27.413 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M14-dev] 24-Oct-2023 15:34:27.424 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45891"] 24-Oct-2023 15:34:27.427 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45891"] 24-Oct-2023 15:34:27.430 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2023 15:34:27.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45891"] 24-Oct-2023 15:34:27.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-45891"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.465 sec Testcase: testUseContentTypeExpiresConfiguration took 0.098 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.323 sec Testcase: testConfiguration took 0.127 sec Testcase: testNullContentType took 0.044 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.089 sec Testcase: testUseDefaultConfiguration2 took 0.094 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.023 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.029 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.022 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.033 sec Testcase: testEmptyContent took 0.03 sec