Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.597 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 01 Sep 2024 11:24:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:27:26 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24:26 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 01 Sep 2024 11:24:26 GMT Expires: Sun, 01 Sep 2024 11:31:27 GMT Keep-Alive: timeout=3 ETag: W/"971-1725189081614" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=59 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:25:27 GMT Content-Length: 0 Date: Sun, 01 Sep 2024 11:24:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:25:27 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:25:27 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24:26 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=419 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:31:27 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24: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: Sun, 01 Sep 2024 11:24:26 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:24:27 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:29:27 GMT Content-Length: 11 Date: Sun, 01 Sep 2024 11:24:27 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 01 Sep 2024 11:31:27 GMT Content-Length: 0 Date: Sun, 01 Sep 2024 11:24:27 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-Sep-2024 11:24:24.405 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-Sep-2024 11:24:25.823 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 01-Sep-2024 11:24:25.915 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:25.923 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:26.158 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35117"] 01-Sep-2024 11:24:26.413 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35117"] 01-Sep-2024 11:24:26.416 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:26.440 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35117"] 01-Sep-2024 11:24:26.450 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35117"] 01-Sep-2024 11:24:26.468 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-Sep-2024 11:24:26.472 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 01-Sep-2024 11:24:26.473 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:26.474 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:26.503 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34933"] 01-Sep-2024 11:24:26.552 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34933"] 01-Sep-2024 11:24:26.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:26.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34933"] 01-Sep-2024 11:24:26.562 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34933"] 01-Sep-2024 11:24:26.564 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-Sep-2024 11:24:26.576 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 01-Sep-2024 11:24:26.578 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-Sep-2024 11:24:26.596 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 01-Sep-2024 11:24:26.599 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:26.599 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:26.717 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-Sep-2024 11:24:26.898 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 01-Sep-2024 11:24:26.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40535"] 01-Sep-2024 11:24:27.060 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40535"] 01-Sep-2024 11:24:27.061 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.068 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40535"] 01-Sep-2024 11:24:27.070 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40535"] 01-Sep-2024 11:24:27.073 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-Sep-2024 11:24:27.075 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 01-Sep-2024 11:24:27.085 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.086 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.093 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-36879"] 01-Sep-2024 11:24:27.146 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-36879"] 01-Sep-2024 11:24:27.147 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-36879"] 01-Sep-2024 11:24:27.184 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-36879"] 01-Sep-2024 11:24:27.186 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-Sep-2024 11:24:27.190 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 01-Sep-2024 11:24:27.192 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.193 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.212 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-35645"] 01-Sep-2024 11:24:27.243 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-35645"] 01-Sep-2024 11:24:27.244 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.247 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-35645"] 01-Sep-2024 11:24:27.254 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-35645"] 01-Sep-2024 11:24:27.255 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-Sep-2024 11:24:27.256 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 01-Sep-2024 11:24:27.258 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-Sep-2024 11:24:27.263 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 01-Sep-2024 11:24:27.264 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.264 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.275 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41657"] 01-Sep-2024 11:24:27.354 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41657"] 01-Sep-2024 11:24:27.356 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.360 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41657"] 01-Sep-2024 11:24:27.363 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41657"] 01-Sep-2024 11:24:27.367 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-Sep-2024 11:24:27.369 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 01-Sep-2024 11:24:27.370 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.370 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.392 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-36585"] 01-Sep-2024 11:24:27.415 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-36585"] 01-Sep-2024 11:24:27.417 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.422 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-36585"] 01-Sep-2024 11:24:27.429 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-36585"] 01-Sep-2024 11:24:27.430 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-Sep-2024 11:24:27.432 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 01-Sep-2024 11:24:27.433 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.433 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.439 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-38659"] 01-Sep-2024 11:24:27.459 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-38659"] 01-Sep-2024 11:24:27.461 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-38659"] 01-Sep-2024 11:24:27.486 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-38659"] 01-Sep-2024 11:24:27.488 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-Sep-2024 11:24:27.490 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 01-Sep-2024 11:24:27.491 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.491 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.502 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-35163"] 01-Sep-2024 11:24:27.511 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-35163"] 01-Sep-2024 11:24:27.515 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.518 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-35163"] 01-Sep-2024 11:24:27.524 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-35163"] 01-Sep-2024 11:24:27.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-Sep-2024 11:24:27.528 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 01-Sep-2024 11:24:27.529 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-Sep-2024 11:24:27.536 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 01-Sep-2024 11:24:27.537 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.539 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.555 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40487"] 01-Sep-2024 11:24:27.579 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40487"] 01-Sep-2024 11:24:27.581 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.583 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40487"] 01-Sep-2024 11:24:27.585 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40487"] 01-Sep-2024 11:24:27.587 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-Sep-2024 11:24:27.588 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 01-Sep-2024 11:24:27.589 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.589 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.598 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-34565"] 01-Sep-2024 11:24:27.607 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-34565"] 01-Sep-2024 11:24:27.609 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.612 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-34565"] 01-Sep-2024 11:24:27.615 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-34565"] 01-Sep-2024 11:24:27.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-Sep-2024 11:24:27.617 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 01-Sep-2024 11:24:27.618 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-Sep-2024 11:24:27.618 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M25-dev] 01-Sep-2024 11:24:27.626 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37221"] 01-Sep-2024 11:24:27.634 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37221"] 01-Sep-2024 11:24:27.637 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-Sep-2024 11:24:27.639 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37221"] 01-Sep-2024 11:24:27.648 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37221"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.26 sec Testcase: testUseContentTypeExpiresConfiguration took 0.097 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.013 sec Testcase: testBug63909 took 0.495 sec Testcase: testConfiguration took 0.113 sec Testcase: testNullContentType took 0.069 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.107 sec Testcase: testUseDefaultConfiguration2 took 0.066 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.057 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.038 sec Testcase: testIntsToCommaDelimitedString took 0.003 sec Testcase: testSkipBecauseExpiresIsDefined took 0.057 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.032 sec