Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.286 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 11 May 2023 05:57:19 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 11 May 2023 06:00:19 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 11 May 2023 05:57:19 GMT Expires: Thu, 11 May 2023 06:04:20 GMT Keep-Alive: timeout=3 ETag: W/"971-1683782598925" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 05:58:20 GMT Content-Length: 0 Date: Thu, 11 May 2023 05:57:19 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 05:58:20 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 05:58:20 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 06:04:20 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 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, 11 May 2023 05:57:19 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 11 May 2023 05:57:20 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 11 May 2023 06:02:20 GMT Content-Length: 11 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 11 May 2023 06:04:20 GMT Content-Length: 0 Date: Thu, 11 May 2023 05:57:19 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-May-2023 05:57:18.552 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-May-2023 05:57:19.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 11-May-2023 05:57:19.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:19.420 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:19.604 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41061"] 11-May-2023 05:57:19.798 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41061"] 11-May-2023 05:57:19.804 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:19.844 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41061"] 11-May-2023 05:57:19.848 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-41061"] 11-May-2023 05:57:19.868 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-May-2023 05:57:19.870 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 11-May-2023 05:57:19.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:19.917 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:19.932 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46201"] 11-May-2023 05:57:19.971 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46201"] 11-May-2023 05:57:19.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:19.975 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46201"] 11-May-2023 05:57:19.976 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46201"] 11-May-2023 05:57:19.979 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-May-2023 05:57:19.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 11-May-2023 05:57:19.981 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-May-2023 05:57:19.997 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 11-May-2023 05:57:20.094 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.095 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.160 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-May-2023 05:57:20.273 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40019"] 11-May-2023 05:57:20.284 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40019"] 11-May-2023 05:57:20.285 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40019"] 11-May-2023 05:57:20.293 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40019"] 11-May-2023 05:57:20.296 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-May-2023 05:57:20.298 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 11-May-2023 05:57:20.301 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.301 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.306 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36261"] 11-May-2023 05:57:20.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36261"] 11-May-2023 05:57:20.309 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.311 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36261"] 11-May-2023 05:57:20.312 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-36261"] 11-May-2023 05:57:20.314 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-May-2023 05:57:20.315 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 11-May-2023 05:57:20.318 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.318 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.322 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42011"] 11-May-2023 05:57:20.329 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42011"] 11-May-2023 05:57:20.329 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.331 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42011"] 11-May-2023 05:57:20.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-42011"] 11-May-2023 05:57:20.337 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-May-2023 05:57:20.338 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 11-May-2023 05:57:20.339 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-May-2023 05:57:20.341 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 11-May-2023 05:57:20.347 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.348 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.354 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40841"] 11-May-2023 05:57:20.359 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40841"] 11-May-2023 05:57:20.359 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.362 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40841"] 11-May-2023 05:57:20.363 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40841"] 11-May-2023 05:57:20.365 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-May-2023 05:57:20.366 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 11-May-2023 05:57:20.375 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.375 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.378 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 11-May-2023 05:57:20.383 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 11-May-2023 05:57:20.384 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.385 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 11-May-2023 05:57:20.386 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-40335"] 11-May-2023 05:57:20.388 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-May-2023 05:57:20.389 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 11-May-2023 05:57:20.391 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.392 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45937"] 11-May-2023 05:57:20.407 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45937"] 11-May-2023 05:57:20.408 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.412 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45937"] 11-May-2023 05:57:20.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-45937"] 11-May-2023 05:57:20.416 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-May-2023 05:57:20.417 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 11-May-2023 05:57:20.424 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.424 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.431 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39351"] 11-May-2023 05:57:20.435 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39351"] 11-May-2023 05:57:20.438 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.440 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39351"] 11-May-2023 05:57:20.441 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39351"] 11-May-2023 05:57:20.444 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-May-2023 05:57:20.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 11-May-2023 05:57:20.446 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-May-2023 05:57:20.447 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 11-May-2023 05:57:20.455 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.455 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.461 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44319"] 11-May-2023 05:57:20.465 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44319"] 11-May-2023 05:57:20.468 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44319"] 11-May-2023 05:57:20.472 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44319"] 11-May-2023 05:57:20.475 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-May-2023 05:57:20.477 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 11-May-2023 05:57:20.481 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.482 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.487 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-32801"] 11-May-2023 05:57:20.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-32801"] 11-May-2023 05:57:20.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.493 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-32801"] 11-May-2023 05:57:20.495 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-32801"] 11-May-2023 05:57:20.497 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-May-2023 05:57:20.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 11-May-2023 05:57:20.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 05:57:20.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 05:57:20.505 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46185"] 11-May-2023 05:57:20.507 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46185"] 11-May-2023 05:57:20.508 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 05:57:20.509 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46185"] 11-May-2023 05:57:20.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-46185"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.576 sec Testcase: testUseContentTypeExpiresConfiguration took 0.111 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.315 sec Testcase: testConfiguration took 0.017 sec Testcase: testNullContentType took 0.022 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.025 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.027 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.029 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.029 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.022 sec Testcase: testEmptyContent took 0.015 sec