Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 24 Oct 2024 15:52:31 GMT Keep-Alive: timeout=3 Cache-Control: max-age=179 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:55:31 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:31 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 24 Oct 2024 15:52:32 GMT Expires: Thu, 24 Oct 2024 15:59:32 GMT Keep-Alive: timeout=3 ETag: W/"971-1729784370677" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:53:32 GMT Content-Length: 0 Date: Thu, 24 Oct 2024 15:52:32 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:53:32 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:53:32 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:32 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:59:32 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:32 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, 24 Oct 2024 15:52:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:52:32 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:32 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:57:32 GMT Content-Length: 11 Date: Thu, 24 Oct 2024 15:52:32 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Thu, 24 Oct 2024 15:59:32 GMT Content-Length: 0 Date: Thu, 24 Oct 2024 15:52:32 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 24-Oct-2024 15:52:29.847 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 24-Oct-2024 15:52:30.889 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 24-Oct-2024 15:52:30.948 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:30.956 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:31.236 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-42951"] 24-Oct-2024 15:52:31.530 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-42951"] 24-Oct-2024 15:52:31.534 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:31.558 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-42951"] 24-Oct-2024 15:52:31.569 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-42951"] 24-Oct-2024 15:52:31.608 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 24-Oct-2024 15:52:31.614 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 24-Oct-2024 15:52:31.614 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:31.615 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:31.627 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-34113"] 24-Oct-2024 15:52:31.696 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-34113"] 24-Oct-2024 15:52:31.699 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:31.705 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-34113"] 24-Oct-2024 15:52:31.716 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-34113"] 24-Oct-2024 15:52:31.719 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 24-Oct-2024 15:52:31.731 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 24-Oct-2024 15:52:31.734 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 24-Oct-2024 15:52:31.753 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 24-Oct-2024 15:52:31.756 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:31.756 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:31.874 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 24-Oct-2024 15:52:32.174 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. 24-Oct-2024 15:52:32.241 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38403"] 24-Oct-2024 15:52:32.340 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38403"] 24-Oct-2024 15:52:32.346 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38403"] 24-Oct-2024 15:52:32.364 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38403"] 24-Oct-2024 15:52:32.367 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 24-Oct-2024 15:52:32.380 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 24-Oct-2024 15:52:32.381 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.381 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.389 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37669"] 24-Oct-2024 15:52:32.407 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37669"] 24-Oct-2024 15:52:32.407 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.410 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37669"] 24-Oct-2024 15:52:32.411 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37669"] 24-Oct-2024 15:52:32.413 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 24-Oct-2024 15:52:32.416 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 24-Oct-2024 15:52:32.417 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.417 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.428 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-38431"] 24-Oct-2024 15:52:32.470 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-38431"] 24-Oct-2024 15:52:32.474 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-38431"] 24-Oct-2024 15:52:32.494 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-38431"] 24-Oct-2024 15:52:32.497 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 24-Oct-2024 15:52:32.498 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 24-Oct-2024 15:52:32.499 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 24-Oct-2024 15:52:32.501 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 24-Oct-2024 15:52:32.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.501 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44963"] 24-Oct-2024 15:52:32.545 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44963"] 24-Oct-2024 15:52:32.548 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44963"] 24-Oct-2024 15:52:32.556 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44963"] 24-Oct-2024 15:52:32.558 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 24-Oct-2024 15:52:32.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 24-Oct-2024 15:52:32.560 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.560 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41531"] 24-Oct-2024 15:52:32.591 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41531"] 24-Oct-2024 15:52:32.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.596 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41531"] 24-Oct-2024 15:52:32.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41531"] 24-Oct-2024 15:52:32.602 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 24-Oct-2024 15:52:32.605 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 24-Oct-2024 15:52:32.605 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.606 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46767"] 24-Oct-2024 15:52:32.640 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46767"] 24-Oct-2024 15:52:32.642 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46767"] 24-Oct-2024 15:52:32.653 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46767"] 24-Oct-2024 15:52:32.655 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 24-Oct-2024 15:52:32.656 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 24-Oct-2024 15:52:32.657 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.661 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-43299"] 24-Oct-2024 15:52:32.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-43299"] 24-Oct-2024 15:52:32.670 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.672 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-43299"] 24-Oct-2024 15:52:32.675 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-43299"] 24-Oct-2024 15:52:32.676 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 24-Oct-2024 15:52:32.677 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 24-Oct-2024 15:52:32.678 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 24-Oct-2024 15:52:32.679 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 24-Oct-2024 15:52:32.680 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.680 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.688 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-43425"] 24-Oct-2024 15:52:32.693 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-43425"] 24-Oct-2024 15:52:32.694 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.695 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-43425"] 24-Oct-2024 15:52:32.697 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-43425"] 24-Oct-2024 15:52:32.698 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 24-Oct-2024 15:52:32.699 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 24-Oct-2024 15:52:32.700 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.700 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.704 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33569"] 24-Oct-2024 15:52:32.721 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33569"] 24-Oct-2024 15:52:32.725 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.730 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33569"] 24-Oct-2024 15:52:32.733 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33569"] 24-Oct-2024 15:52:32.734 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 24-Oct-2024 15:52:32.736 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 24-Oct-2024 15:52:32.737 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Oct-2024 15:52:32.737 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.1-dev] 24-Oct-2024 15:52:32.747 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-44875"] 24-Oct-2024 15:52:32.760 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-44875"] 24-Oct-2024 15:52:32.762 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Oct-2024 15:52:32.765 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-44875"] 24-Oct-2024 15:52:32.777 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-44875"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.994 sec Testcase: testUseContentTypeExpiresConfiguration took 0.111 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.014 sec Testcase: testBug63909 took 0.635 sec Testcase: testConfiguration took 0.045 sec Testcase: testNullContentType took 0.084 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.059 sec Testcase: testUseDefaultConfiguration2 took 0.044 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.052 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.021 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.021 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.036 sec Testcase: testEmptyContent took 0.045 sec