Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.063 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Fri, 03 May 2024 13:54:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Fri, 03 May 2024 13:57:13 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: text/xml;charset=utf-8 Date: Fri, 03 May 2024 13:54:13 GMT Expires: Fri, 03 May 2024 14:01:14 GMT Keep-Alive: timeout=3 ETag: W/"971-1714742881745" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 13:55:14 GMT Content-Length: 0 Date: Fri, 03 May 2024 13:54:13 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 13:55:14 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Fri, 03 May 2024 13:55:14 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 14:01:14 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 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, 03 May 2024 13:54:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Fri, 03 May 2024 13:54:14 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Fri, 03 May 2024 13:59:14 GMT Content-Length: 11 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Fri, 03 May 2024 14:01:14 GMT Content-Length: 0 Date: Fri, 03 May 2024 13:54:13 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 03-May-2024 13:54:12.056 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 03-May-2024 13:54:13.074 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-May-2024 13:54:13.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:13.128 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:13.299 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39921"] 03-May-2024 13:54:13.527 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39921"] 03-May-2024 13:54:13.532 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:13.567 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39921"] 03-May-2024 13:54:13.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-39921"] 03-May-2024 13:54:13.594 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 03-May-2024 13:54:13.597 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-May-2024 13:54:13.610 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:13.610 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:13.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45385"] 03-May-2024 13:54:13.696 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45385"] 03-May-2024 13:54:13.697 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:13.699 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45385"] 03-May-2024 13:54:13.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45385"] 03-May-2024 13:54:13.710 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 03-May-2024 13:54:13.713 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-May-2024 13:54:13.714 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 03-May-2024 13:54:13.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-May-2024 13:54:13.791 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:13.791 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:13.925 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 03-May-2024 13:54:14.144 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41089"] 03-May-2024 13:54:14.155 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41089"] 03-May-2024 13:54:14.156 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.162 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41089"] 03-May-2024 13:54:14.164 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41089"] 03-May-2024 13:54:14.170 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 03-May-2024 13:54:14.175 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 03-May-2024 13:54:14.223 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.223 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.230 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34367"] 03-May-2024 13:54:14.233 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34367"] 03-May-2024 13:54:14.236 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.238 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34367"] 03-May-2024 13:54:14.238 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-34367"] 03-May-2024 13:54:14.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 03-May-2024 13:54:14.246 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 03-May-2024 13:54:14.253 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.254 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.262 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34895"] 03-May-2024 13:54:14.280 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34895"] 03-May-2024 13:54:14.287 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.295 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34895"] 03-May-2024 13:54:14.296 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-34895"] 03-May-2024 13:54:14.314 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 03-May-2024 13:54:14.320 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 03-May-2024 13:54:14.322 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 03-May-2024 13:54:14.327 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 03-May-2024 13:54:14.358 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.358 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.386 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39829"] 03-May-2024 13:54:14.396 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39829"] 03-May-2024 13:54:14.397 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.399 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39829"] 03-May-2024 13:54:14.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-39829"] 03-May-2024 13:54:14.403 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 03-May-2024 13:54:14.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 03-May-2024 13:54:14.420 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.421 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.428 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33695"] 03-May-2024 13:54:14.433 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33695"] 03-May-2024 13:54:14.436 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.445 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33695"] 03-May-2024 13:54:14.445 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-33695"] 03-May-2024 13:54:14.448 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 03-May-2024 13:54:14.450 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 03-May-2024 13:54:14.456 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.456 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.461 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34005"] 03-May-2024 13:54:14.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34005"] 03-May-2024 13:54:14.471 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.473 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34005"] 03-May-2024 13:54:14.474 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34005"] 03-May-2024 13:54:14.481 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 03-May-2024 13:54:14.485 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 03-May-2024 13:54:14.489 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.489 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.509 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43123"] 03-May-2024 13:54:14.516 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43123"] 03-May-2024 13:54:14.520 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.521 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43123"] 03-May-2024 13:54:14.522 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-43123"] 03-May-2024 13:54:14.527 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 03-May-2024 13:54:14.527 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 03-May-2024 13:54:14.528 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 03-May-2024 13:54:14.529 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 03-May-2024 13:54:14.541 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.541 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.546 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40877"] 03-May-2024 13:54:14.557 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40877"] 03-May-2024 13:54:14.557 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40877"] 03-May-2024 13:54:14.559 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-40877"] 03-May-2024 13:54:14.563 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 03-May-2024 13:54:14.565 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 03-May-2024 13:54:14.580 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.580 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.586 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45823"] 03-May-2024 13:54:14.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45823"] 03-May-2024 13:54:14.593 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.594 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45823"] 03-May-2024 13:54:14.595 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-45823"] 03-May-2024 13:54:14.598 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 03-May-2024 13:54:14.599 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 03-May-2024 13:54:14.606 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-May-2024 13:54:14.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 03-May-2024 13:54:14.616 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38961"] 03-May-2024 13:54:14.629 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38961"] 03-May-2024 13:54:14.631 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-May-2024 13:54:14.633 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38961"] 03-May-2024 13:54:14.634 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-38961"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.905 sec Testcase: testUseContentTypeExpiresConfiguration took 0.116 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.005 sec Testcase: testBug63909 took 0.455 sec Testcase: testConfiguration took 0.074 sec Testcase: testNullContentType took 0.067 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.01 sec Testcase: testUseDefaultConfiguration1 took 0.081 sec Testcase: testUseDefaultConfiguration2 took 0.045 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.033 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.045 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.035 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.035 sec Testcase: testEmptyContent took 0.037 sec