Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.045 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 19 Oct 2023 02:52:03 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:55:03 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 19 Oct 2023 02:52:03 GMT Expires: Thu, 19 Oct 2023 02:59:04 GMT Keep-Alive: timeout=3 ETag: W/"971-1697681972379" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:53:04 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 02:52:03 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:53:04 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:53:04 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:59:04 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 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, 19 Oct 2023 02:52:03 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:52:04 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:57:04 GMT Content-Length: 11 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 19 Oct 2023 02:59:04 GMT Content-Length: 0 Date: Thu, 19 Oct 2023 02:52:03 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 19-Oct-2023 02:52:02.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 19-Oct-2023 02:52:03.412 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 19-Oct-2023 02:52:03.491 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:03.491 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:03.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44271"] 19-Oct-2023 02:52:03.855 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44271"] 19-Oct-2023 02:52:03.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:03.885 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44271"] 19-Oct-2023 02:52:03.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-44271"] 19-Oct-2023 02:52:03.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 19-Oct-2023 02:52:03.909 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 19-Oct-2023 02:52:03.923 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:03.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:03.928 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 19-Oct-2023 02:52:03.960 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 19-Oct-2023 02:52:03.962 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:03.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 19-Oct-2023 02:52:03.968 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-36947"] 19-Oct-2023 02:52:03.971 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 19-Oct-2023 02:52:03.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 19-Oct-2023 02:52:03.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 19-Oct-2023 02:52:03.993 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 19-Oct-2023 02:52:04.039 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.039 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.137 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 19-Oct-2023 02:52:04.249 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34063"] 19-Oct-2023 02:52:04.259 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34063"] 19-Oct-2023 02:52:04.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.266 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34063"] 19-Oct-2023 02:52:04.267 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34063"] 19-Oct-2023 02:52:04.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 19-Oct-2023 02:52:04.271 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 19-Oct-2023 02:52:04.276 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.276 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.280 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36047"] 19-Oct-2023 02:52:04.280 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36047"] 19-Oct-2023 02:52:04.281 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.283 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36047"] 19-Oct-2023 02:52:04.283 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36047"] 19-Oct-2023 02:52:04.285 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 19-Oct-2023 02:52:04.286 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 19-Oct-2023 02:52:04.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.288 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.291 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41037"] 19-Oct-2023 02:52:04.297 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41037"] 19-Oct-2023 02:52:04.300 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.302 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41037"] 19-Oct-2023 02:52:04.302 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-41037"] 19-Oct-2023 02:52:04.305 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 19-Oct-2023 02:52:04.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 19-Oct-2023 02:52:04.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 19-Oct-2023 02:52:04.310 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 19-Oct-2023 02:52:04.316 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.316 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.320 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43797"] 19-Oct-2023 02:52:04.323 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43797"] 19-Oct-2023 02:52:04.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.326 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43797"] 19-Oct-2023 02:52:04.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-43797"] 19-Oct-2023 02:52:04.329 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 19-Oct-2023 02:52:04.331 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 19-Oct-2023 02:52:04.337 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.340 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42993"] 19-Oct-2023 02:52:04.343 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42993"] 19-Oct-2023 02:52:04.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42993"] 19-Oct-2023 02:52:04.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-42993"] 19-Oct-2023 02:52:04.348 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 19-Oct-2023 02:52:04.349 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 19-Oct-2023 02:52:04.356 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.356 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.360 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40457"] 19-Oct-2023 02:52:04.362 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40457"] 19-Oct-2023 02:52:04.363 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.365 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40457"] 19-Oct-2023 02:52:04.365 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40457"] 19-Oct-2023 02:52:04.369 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 19-Oct-2023 02:52:04.371 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 19-Oct-2023 02:52:04.372 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.372 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.376 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43079"] 19-Oct-2023 02:52:04.381 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43079"] 19-Oct-2023 02:52:04.381 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.383 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43079"] 19-Oct-2023 02:52:04.384 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43079"] 19-Oct-2023 02:52:04.390 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 19-Oct-2023 02:52:04.391 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 19-Oct-2023 02:52:04.391 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 19-Oct-2023 02:52:04.393 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 19-Oct-2023 02:52:04.396 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.396 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.399 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45039"] 19-Oct-2023 02:52:04.405 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45039"] 19-Oct-2023 02:52:04.408 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45039"] 19-Oct-2023 02:52:04.410 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-45039"] 19-Oct-2023 02:52:04.412 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 19-Oct-2023 02:52:04.413 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 19-Oct-2023 02:52:04.421 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.425 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37465"] 19-Oct-2023 02:52:04.430 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37465"] 19-Oct-2023 02:52:04.431 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37465"] 19-Oct-2023 02:52:04.434 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-37465"] 19-Oct-2023 02:52:04.436 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 19-Oct-2023 02:52:04.437 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 19-Oct-2023 02:52:04.440 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 19-Oct-2023 02:52:04.440 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 19-Oct-2023 02:52:04.444 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42307"] 19-Oct-2023 02:52:04.450 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42307"] 19-Oct-2023 02:52:04.453 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 19-Oct-2023 02:52:04.455 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42307"] 19-Oct-2023 02:52:04.455 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42307"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.425 sec Testcase: testUseContentTypeExpiresConfiguration took 0.065 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.009 sec Testcase: testBug63909 took 0.289 sec Testcase: testConfiguration took 0.016 sec Testcase: testNullContentType took 0.02 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.023 sec Testcase: testUseDefaultConfiguration2 took 0.019 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.021 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.021 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.02 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.023 sec Testcase: testEmptyContent took 0.024 sec