Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.094 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 18 Oct 2023 16:14:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:17:33 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 18 Oct 2023 16:14:33 GMT Expires: Wed, 18 Oct 2023 16:21:34 GMT Keep-Alive: timeout=3 ETag: W/"971-1697644716403" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:15:34 GMT Content-Length: 0 Date: Wed, 18 Oct 2023 16:14:33 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:15:34 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:15:34 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:21:34 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 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: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:14:34 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:19:34 GMT Content-Length: 11 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 18 Oct 2023 16:21:34 GMT Content-Length: 0 Date: Wed, 18 Oct 2023 16:14:33 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 18-Oct-2023 16:14:32.702 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 18-Oct-2023 16:14:33.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 18-Oct-2023 16:14:33.386 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:33.386 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:33.569 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 18-Oct-2023 16:14:33.733 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 18-Oct-2023 16:14:33.739 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:33.774 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 18-Oct-2023 16:14:33.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-38729"] 18-Oct-2023 16:14:33.788 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 18-Oct-2023 16:14:33.791 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 18-Oct-2023 16:14:33.791 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:33.792 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:33.798 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38839"] 18-Oct-2023 16:14:33.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38839"] 18-Oct-2023 16:14:33.818 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:33.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38839"] 18-Oct-2023 16:14:33.825 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38839"] 18-Oct-2023 16:14:33.827 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 18-Oct-2023 16:14:33.829 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 18-Oct-2023 16:14:33.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 18-Oct-2023 16:14:33.837 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 18-Oct-2023 16:14:33.838 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:33.838 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:33.944 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 18-Oct-2023 16:14:34.130 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-32777"] 18-Oct-2023 16:14:34.231 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-32777"] 18-Oct-2023 16:14:34.234 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-32777"] 18-Oct-2023 16:14:34.244 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-32777"] 18-Oct-2023 16:14:34.246 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 18-Oct-2023 16:14:34.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 18-Oct-2023 16:14:34.251 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.251 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.256 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-34883"] 18-Oct-2023 16:14:34.258 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-34883"] 18-Oct-2023 16:14:34.258 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.262 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-34883"] 18-Oct-2023 16:14:34.267 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-34883"] 18-Oct-2023 16:14:34.268 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 18-Oct-2023 16:14:34.269 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 18-Oct-2023 16:14:34.269 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.270 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.273 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-43589"] 18-Oct-2023 16:14:34.279 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-43589"] 18-Oct-2023 16:14:34.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.283 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-43589"] 18-Oct-2023 16:14:34.293 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-43589"] 18-Oct-2023 16:14:34.295 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 18-Oct-2023 16:14:34.296 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 18-Oct-2023 16:14:34.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 18-Oct-2023 16:14:34.298 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 18-Oct-2023 16:14:34.298 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.298 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.303 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44687"] 18-Oct-2023 16:14:34.315 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44687"] 18-Oct-2023 16:14:34.318 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.320 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44687"] 18-Oct-2023 16:14:34.322 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44687"] 18-Oct-2023 16:14:34.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 18-Oct-2023 16:14:34.324 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 18-Oct-2023 16:14:34.325 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.325 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.328 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34699"] 18-Oct-2023 16:14:34.334 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34699"] 18-Oct-2023 16:14:34.334 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.336 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34699"] 18-Oct-2023 16:14:34.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34699"] 18-Oct-2023 16:14:34.346 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 18-Oct-2023 16:14:34.348 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 18-Oct-2023 16:14:34.348 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.348 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.353 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39643"] 18-Oct-2023 16:14:34.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39643"] 18-Oct-2023 16:14:34.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39643"] 18-Oct-2023 16:14:34.374 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39643"] 18-Oct-2023 16:14:34.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 18-Oct-2023 16:14:34.377 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 18-Oct-2023 16:14:34.377 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.378 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.382 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-45633"] 18-Oct-2023 16:14:34.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-45633"] 18-Oct-2023 16:14:34.400 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.401 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-45633"] 18-Oct-2023 16:14:34.405 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-45633"] 18-Oct-2023 16:14:34.406 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 18-Oct-2023 16:14:34.407 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 18-Oct-2023 16:14:34.407 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 18-Oct-2023 16:14:34.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 18-Oct-2023 16:14:34.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.409 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.413 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-44187"] 18-Oct-2023 16:14:34.431 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-44187"] 18-Oct-2023 16:14:34.432 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.435 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-44187"] 18-Oct-2023 16:14:34.436 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-44187"] 18-Oct-2023 16:14:34.439 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 18-Oct-2023 16:14:34.441 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 18-Oct-2023 16:14:34.441 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.441 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.446 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42141"] 18-Oct-2023 16:14:34.460 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42141"] 18-Oct-2023 16:14:34.466 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.468 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42141"] 18-Oct-2023 16:14:34.470 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42141"] 18-Oct-2023 16:14:34.471 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 18-Oct-2023 16:14:34.473 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 18-Oct-2023 16:14:34.473 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 18-Oct-2023 16:14:34.473 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 18-Oct-2023 16:14:34.477 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-39513"] 18-Oct-2023 16:14:34.486 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-39513"] 18-Oct-2023 16:14:34.490 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 18-Oct-2023 16:14:34.491 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-39513"] 18-Oct-2023 16:14:34.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-39513"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.312 sec Testcase: testUseContentTypeExpiresConfiguration took 0.038 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.417 sec Testcase: testConfiguration took 0.021 sec Testcase: testNullContentType took 0.026 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.026 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.029 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.03 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.031 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.032 sec Testcase: testEmptyContent took 0.026 sec