Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.227 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 06 Nov 2023 17:14:26 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:17:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 06 Nov 2023 17:14:27 GMT Expires: Mon, 06 Nov 2023 17:21:27 GMT Keep-Alive: timeout=3 ETag: W/"971-1699289908850" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:15:27 GMT Content-Length: 0 Date: Mon, 06 Nov 2023 17:14:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:15:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:15:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:21:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 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: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:14:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:19:27 GMT Content-Length: 11 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 06 Nov 2023 17:21:27 GMT Content-Length: 0 Date: Mon, 06 Nov 2023 17:14:27 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 06-Nov-2023 17:14:25.965 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 06-Nov-2023 17:14:26.497 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 06-Nov-2023 17:14:26.529 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:26.530 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:26.708 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36289"] 06-Nov-2023 17:14:26.892 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36289"] 06-Nov-2023 17:14:26.895 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:26.910 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36289"] 06-Nov-2023 17:14:26.923 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36289"] 06-Nov-2023 17:14:26.946 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 06-Nov-2023 17:14:26.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 06-Nov-2023 17:14:26.952 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:26.972 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:26.992 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-33799"] 06-Nov-2023 17:14:27.024 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-33799"] 06-Nov-2023 17:14:27.027 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.029 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-33799"] 06-Nov-2023 17:14:27.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-33799"] 06-Nov-2023 17:14:27.042 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 06-Nov-2023 17:14:27.043 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 06-Nov-2023 17:14:27.044 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 06-Nov-2023 17:14:27.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 06-Nov-2023 17:14:27.065 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.065 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.169 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 06-Nov-2023 17:14:27.293 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-36505"] 06-Nov-2023 17:14:27.351 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-36505"] 06-Nov-2023 17:14:27.358 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.364 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-36505"] 06-Nov-2023 17:14:27.372 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-36505"] 06-Nov-2023 17:14:27.375 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 06-Nov-2023 17:14:27.376 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 06-Nov-2023 17:14:27.377 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.377 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.388 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-39361"] 06-Nov-2023 17:14:27.482 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-39361"] 06-Nov-2023 17:14:27.482 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.485 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-39361"] 06-Nov-2023 17:14:27.488 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-39361"] 06-Nov-2023 17:14:27.493 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 06-Nov-2023 17:14:27.495 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 06-Nov-2023 17:14:27.496 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.497 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.514 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-37479"] 06-Nov-2023 17:14:27.528 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-37479"] 06-Nov-2023 17:14:27.530 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.533 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-37479"] 06-Nov-2023 17:14:27.535 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-37479"] 06-Nov-2023 17:14:27.538 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 06-Nov-2023 17:14:27.539 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 06-Nov-2023 17:14:27.539 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 06-Nov-2023 17:14:27.541 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 06-Nov-2023 17:14:27.541 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.542 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-42375"] 06-Nov-2023 17:14:27.658 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-42375"] 06-Nov-2023 17:14:27.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.661 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-42375"] 06-Nov-2023 17:14:27.672 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-42375"] 06-Nov-2023 17:14:27.676 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 06-Nov-2023 17:14:27.677 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 06-Nov-2023 17:14:27.678 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.678 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.686 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33273"] 06-Nov-2023 17:14:27.748 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33273"] 06-Nov-2023 17:14:27.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.750 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33273"] 06-Nov-2023 17:14:27.754 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33273"] 06-Nov-2023 17:14:27.755 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 06-Nov-2023 17:14:27.758 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 06-Nov-2023 17:14:27.761 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.762 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.770 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-39799"] 06-Nov-2023 17:14:27.778 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-39799"] 06-Nov-2023 17:14:27.779 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.781 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-39799"] 06-Nov-2023 17:14:27.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-39799"] 06-Nov-2023 17:14:27.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 06-Nov-2023 17:14:27.787 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 06-Nov-2023 17:14:27.787 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.788 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.792 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-41787"] 06-Nov-2023 17:14:27.804 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-41787"] 06-Nov-2023 17:14:27.807 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.809 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-41787"] 06-Nov-2023 17:14:27.813 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-41787"] 06-Nov-2023 17:14:27.815 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 06-Nov-2023 17:14:27.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 06-Nov-2023 17:14:27.816 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 06-Nov-2023 17:14:27.818 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 06-Nov-2023 17:14:27.818 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.819 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.825 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-32919"] 06-Nov-2023 17:14:27.835 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-32919"] 06-Nov-2023 17:14:27.835 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.837 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-32919"] 06-Nov-2023 17:14:27.840 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-32919"] 06-Nov-2023 17:14:27.842 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 06-Nov-2023 17:14:27.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 06-Nov-2023 17:14:27.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.848 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36963"] 06-Nov-2023 17:14:27.856 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36963"] 06-Nov-2023 17:14:27.856 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.857 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36963"] 06-Nov-2023 17:14:27.859 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36963"] 06-Nov-2023 17:14:27.860 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 06-Nov-2023 17:14:27.861 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 06-Nov-2023 17:14:27.861 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 06-Nov-2023 17:14:27.862 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.16-dev] 06-Nov-2023 17:14:27.865 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-45055"] 06-Nov-2023 17:14:27.868 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-45055"] 06-Nov-2023 17:14:27.869 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 06-Nov-2023 17:14:27.870 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-45055"] 06-Nov-2023 17:14:27.873 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-45055"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.168 sec Testcase: testUseContentTypeExpiresConfiguration took 0.112 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.003 sec Testcase: testBug63909 took 0.329 sec Testcase: testConfiguration took 0.116 sec Testcase: testNullContentType took 0.047 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.133 sec Testcase: testUseDefaultConfiguration2 took 0.081 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.031 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.029 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.025 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.019 sec Testcase: testEmptyContent took 0.013 sec