Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.855 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 07 Apr 2024 22:53:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:56:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 07 Apr 2024 22:53:46 GMT Expires: Sun, 07 Apr 2024 23:00:46 GMT Keep-Alive: timeout=3 ETag: W/"971-1712529663234" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:54:46 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 22:53:46 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:54:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:54:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 23:00:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 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, 07 Apr 2024 22:53:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:53:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 07 Apr 2024 22:58:46 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 23:00:46 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 22:53:46 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Apr-2024 22:53:44.471 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Apr-2024 22:53:45.410 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 07-Apr-2024 22:53:45.486 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:45.486 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:45.709 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44293"] 07-Apr-2024 22:53:46.028 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44293"] 07-Apr-2024 22:53:46.031 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.070 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44293"] 07-Apr-2024 22:53:46.079 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44293"] 07-Apr-2024 22:53:46.091 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Apr-2024 22:53:46.094 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 07-Apr-2024 22:53:46.098 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.128 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44741"] 07-Apr-2024 22:53:46.213 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44741"] 07-Apr-2024 22:53:46.213 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.216 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44741"] 07-Apr-2024 22:53:46.221 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44741"] 07-Apr-2024 22:53:46.223 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Apr-2024 22:53:46.224 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 07-Apr-2024 22:53:46.225 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Apr-2024 22:53:46.233 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 07-Apr-2024 22:53:46.233 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.233 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.316 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Apr-2024 22:53:46.512 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34151"] 07-Apr-2024 22:53:46.590 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34151"] 07-Apr-2024 22:53:46.591 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.601 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34151"] 07-Apr-2024 22:53:46.613 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34151"] 07-Apr-2024 22:53:46.616 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Apr-2024 22:53:46.617 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 07-Apr-2024 22:53:46.618 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.618 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.623 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-37895"] 07-Apr-2024 22:53:46.639 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-37895"] 07-Apr-2024 22:53:46.639 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.641 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-37895"] 07-Apr-2024 22:53:46.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-37895"] 07-Apr-2024 22:53:46.653 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Apr-2024 22:53:46.659 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 07-Apr-2024 22:53:46.660 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.661 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40877"] 07-Apr-2024 22:53:46.692 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40877"] 07-Apr-2024 22:53:46.695 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.698 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40877"] 07-Apr-2024 22:53:46.699 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40877"] 07-Apr-2024 22:53:46.701 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Apr-2024 22:53:46.702 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 07-Apr-2024 22:53:46.702 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Apr-2024 22:53:46.704 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 07-Apr-2024 22:53:46.704 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.704 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.721 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-35269"] 07-Apr-2024 22:53:46.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-35269"] 07-Apr-2024 22:53:46.755 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.760 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-35269"] 07-Apr-2024 22:53:46.775 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-35269"] 07-Apr-2024 22:53:46.777 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Apr-2024 22:53:46.778 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 07-Apr-2024 22:53:46.788 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.794 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34941"] 07-Apr-2024 22:53:46.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34941"] 07-Apr-2024 22:53:46.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34941"] 07-Apr-2024 22:53:46.826 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34941"] 07-Apr-2024 22:53:46.828 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Apr-2024 22:53:46.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 07-Apr-2024 22:53:46.830 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.830 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.838 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-36293"] 07-Apr-2024 22:53:46.848 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-36293"] 07-Apr-2024 22:53:46.850 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-36293"] 07-Apr-2024 22:53:46.856 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-36293"] 07-Apr-2024 22:53:46.858 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Apr-2024 22:53:46.859 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 07-Apr-2024 22:53:46.860 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.860 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.874 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-40407"] 07-Apr-2024 22:53:46.883 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-40407"] 07-Apr-2024 22:53:46.884 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.885 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-40407"] 07-Apr-2024 22:53:46.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-40407"] 07-Apr-2024 22:53:46.892 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Apr-2024 22:53:46.893 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 07-Apr-2024 22:53:46.894 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Apr-2024 22:53:46.896 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 07-Apr-2024 22:53:46.897 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.897 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.901 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45121"] 07-Apr-2024 22:53:46.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45121"] 07-Apr-2024 22:53:46.908 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.910 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45121"] 07-Apr-2024 22:53:46.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45121"] 07-Apr-2024 22:53:46.914 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Apr-2024 22:53:46.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 07-Apr-2024 22:53:46.916 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.937 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39293"] 07-Apr-2024 22:53:46.961 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39293"] 07-Apr-2024 22:53:46.962 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.964 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39293"] 07-Apr-2024 22:53:46.967 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39293"] 07-Apr-2024 22:53:46.968 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Apr-2024 22:53:46.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 07-Apr-2024 22:53:46.970 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 22:53:46.971 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 22:53:46.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-42255"] 07-Apr-2024 22:53:46.986 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-42255"] 07-Apr-2024 22:53:46.986 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 22:53:46.989 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-42255"] 07-Apr-2024 22:53:46.993 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-42255"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.869 sec Testcase: testUseContentTypeExpiresConfiguration took 0.137 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.39 sec Testcase: testConfiguration took 0.038 sec Testcase: testNullContentType took 0.047 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.074 sec Testcase: testUseDefaultConfiguration2 took 0.051 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.03 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.035 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.02 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.054 sec Testcase: testEmptyContent took 0.027 sec