Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.405 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Thu, 11 May 2023 11:16:50 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Thu, 11 May 2023 11:19:50 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 GMT Content-Type: text/xml;charset=utf-8 Date: Thu, 11 May 2023 11:16:50 GMT Expires: Thu, 11 May 2023 11:23:50 GMT Keep-Alive: timeout=3 ETag: W/"971-1683802787550" 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 11:17:50 GMT Content-Length: 0 Date: Thu, 11 May 2023 11:16:50 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Thu, 11 May 2023 11:17:50 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 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 11:17:50 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 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 11:23:50 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 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 11:16:50 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Thu, 11 May 2023 11:16:51 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 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 11:21:51 GMT Content-Length: 11 Date: Thu, 11 May 2023 11:16:50 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 11:23:51 GMT Content-Length: 0 Date: Thu, 11 May 2023 11:16:50 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-May-2023 11:16:49.047 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-May-2023 11:16:49.944 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-May-2023 11:16:49.997 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:49.998 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.310 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35743"] 11-May-2023 11:16:50.493 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35743"] 11-May-2023 11:16:50.498 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.519 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35743"] 11-May-2023 11:16:50.532 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35743"] 11-May-2023 11:16:50.539 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-May-2023 11:16:50.541 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-May-2023 11:16:50.542 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.543 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.549 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36671"] 11-May-2023 11:16:50.572 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36671"] 11-May-2023 11:16:50.577 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.590 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36671"] 11-May-2023 11:16:50.603 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36671"] 11-May-2023 11:16:50.606 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-May-2023 11:16:50.608 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-May-2023 11:16:50.612 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-May-2023 11:16:50.621 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-May-2023 11:16:50.622 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.623 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.678 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-May-2023 11:16:50.807 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-46569"] 11-May-2023 11:16:50.827 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-46569"] 11-May-2023 11:16:50.828 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.835 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-46569"] 11-May-2023 11:16:50.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-46569"] 11-May-2023 11:16:50.840 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-May-2023 11:16:50.842 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-May-2023 11:16:50.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41497"] 11-May-2023 11:16:50.859 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41497"] 11-May-2023 11:16:50.861 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.864 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41497"] 11-May-2023 11:16:50.866 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41497"] 11-May-2023 11:16:50.867 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-May-2023 11:16:50.869 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-May-2023 11:16:50.869 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.870 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-40761"] 11-May-2023 11:16:50.885 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-40761"] 11-May-2023 11:16:50.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.894 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-40761"] 11-May-2023 11:16:50.896 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-40761"] 11-May-2023 11:16:50.897 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-May-2023 11:16:50.898 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-May-2023 11:16:50.898 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-May-2023 11:16:50.900 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-May-2023 11:16:50.900 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.900 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.904 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38323"] 11-May-2023 11:16:50.909 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38323"] 11-May-2023 11:16:50.909 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.912 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38323"] 11-May-2023 11:16:50.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38323"] 11-May-2023 11:16:50.917 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-May-2023 11:16:50.918 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-May-2023 11:16:50.919 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.919 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.923 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37025"] 11-May-2023 11:16:50.933 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37025"] 11-May-2023 11:16:50.933 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.935 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37025"] 11-May-2023 11:16:50.938 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37025"] 11-May-2023 11:16:50.939 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-May-2023 11:16:50.940 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-May-2023 11:16:50.941 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.941 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.946 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-35145"] 11-May-2023 11:16:50.957 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-35145"] 11-May-2023 11:16:50.957 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.959 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-35145"] 11-May-2023 11:16:50.961 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-35145"] 11-May-2023 11:16:50.962 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-May-2023 11:16:50.963 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-May-2023 11:16:50.963 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.963 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.966 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-37709"] 11-May-2023 11:16:50.975 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-37709"] 11-May-2023 11:16:50.978 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:50.980 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-37709"] 11-May-2023 11:16:50.987 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-37709"] 11-May-2023 11:16:50.988 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-May-2023 11:16:50.989 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-May-2023 11:16:50.990 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-May-2023 11:16:50.991 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-May-2023 11:16:50.992 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:50.992 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:50.997 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-46557"] 11-May-2023 11:16:51.008 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-46557"] 11-May-2023 11:16:51.011 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:51.012 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-46557"] 11-May-2023 11:16:51.015 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-46557"] 11-May-2023 11:16:51.016 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-May-2023 11:16:51.017 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-May-2023 11:16:51.017 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:51.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:51.022 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42849"] 11-May-2023 11:16:51.039 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42849"] 11-May-2023 11:16:51.039 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:51.041 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42849"] 11-May-2023 11:16:51.043 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42849"] 11-May-2023 11:16:51.045 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-May-2023 11:16:51.046 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-May-2023 11:16:51.047 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-May-2023 11:16:51.047 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 11-May-2023 11:16:51.051 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37565"] 11-May-2023 11:16:51.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37565"] 11-May-2023 11:16:51.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-May-2023 11:16:51.060 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37565"] 11-May-2023 11:16:51.063 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37565"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.792 sec Testcase: testUseContentTypeExpiresConfiguration took 0.067 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.006 sec Testcase: testBug63909 took 0.229 sec Testcase: testConfiguration took 0.026 sec Testcase: testNullContentType took 0.03 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.019 sec Testcase: testUseDefaultConfiguration2 took 0.021 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.022 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.027 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.026 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.019 sec