Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.471 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 11 Oct 2023 14:26:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:29:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 11 Oct 2023 14:26:38 GMT Expires: Wed, 11 Oct 2023 14:33:38 GMT Keep-Alive: timeout=3 ETag: W/"971-1697033837874" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:27:38 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 14:26:38 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:27:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:27:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:33:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 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: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:26:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:31:38 GMT Content-Length: 11 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 11 Oct 2023 14:33:38 GMT Content-Length: 0 Date: Wed, 11 Oct 2023 14:26:38 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 11-Oct-2023 14:26:36.713 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 11-Oct-2023 14:26:37.580 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 11-Oct-2023 14:26:37.656 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:37.657 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:37.964 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44399"] 11-Oct-2023 14:26:38.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44399"] 11-Oct-2023 14:26:38.179 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.193 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44399"] 11-Oct-2023 14:26:38.205 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44399"] 11-Oct-2023 14:26:38.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 11-Oct-2023 14:26:38.216 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 11-Oct-2023 14:26:38.217 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.217 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.226 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38129"] 11-Oct-2023 14:26:38.250 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38129"] 11-Oct-2023 14:26:38.253 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.256 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38129"] 11-Oct-2023 14:26:38.264 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38129"] 11-Oct-2023 14:26:38.270 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 11-Oct-2023 14:26:38.272 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 11-Oct-2023 14:26:38.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 11-Oct-2023 14:26:38.297 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 11-Oct-2023 14:26:38.299 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.300 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.372 INFO [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 11-Oct-2023 14:26:38.543 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-43485"] 11-Oct-2023 14:26:38.571 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-43485"] 11-Oct-2023 14:26:38.572 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.579 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-43485"] 11-Oct-2023 14:26:38.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-43485"] 11-Oct-2023 14:26:38.592 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 11-Oct-2023 14:26:38.593 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 11-Oct-2023 14:26:38.594 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.594 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.600 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-33369"] 11-Oct-2023 14:26:38.617 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-33369"] 11-Oct-2023 14:26:38.621 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.624 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-33369"] 11-Oct-2023 14:26:38.626 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-33369"] 11-Oct-2023 14:26:38.631 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 11-Oct-2023 14:26:38.632 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 11-Oct-2023 14:26:38.633 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.633 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.648 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-34249"] 11-Oct-2023 14:26:38.658 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-34249"] 11-Oct-2023 14:26:38.659 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.662 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-34249"] 11-Oct-2023 14:26:38.667 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-34249"] 11-Oct-2023 14:26:38.672 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 11-Oct-2023 14:26:38.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 11-Oct-2023 14:26:38.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 11-Oct-2023 14:26:38.677 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 11-Oct-2023 14:26:38.682 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.683 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.696 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-38993"] 11-Oct-2023 14:26:38.701 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-38993"] 11-Oct-2023 14:26:38.704 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.707 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-38993"] 11-Oct-2023 14:26:38.710 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-38993"] 11-Oct-2023 14:26:38.715 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 11-Oct-2023 14:26:38.717 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 11-Oct-2023 14:26:38.718 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.718 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.724 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-33583"] 11-Oct-2023 14:26:38.731 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-33583"] 11-Oct-2023 14:26:38.733 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.735 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-33583"] 11-Oct-2023 14:26:38.737 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-33583"] 11-Oct-2023 14:26:38.740 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 11-Oct-2023 14:26:38.742 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 11-Oct-2023 14:26:38.742 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.743 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.750 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-40119"] 11-Oct-2023 14:26:38.760 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-40119"] 11-Oct-2023 14:26:38.761 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.764 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-40119"] 11-Oct-2023 14:26:38.769 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-40119"] 11-Oct-2023 14:26:38.772 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 11-Oct-2023 14:26:38.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 11-Oct-2023 14:26:38.775 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.775 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.788 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44147"] 11-Oct-2023 14:26:38.794 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44147"] 11-Oct-2023 14:26:38.794 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44147"] 11-Oct-2023 14:26:38.802 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44147"] 11-Oct-2023 14:26:38.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 11-Oct-2023 14:26:38.806 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 11-Oct-2023 14:26:38.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 11-Oct-2023 14:26:38.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 11-Oct-2023 14:26:38.809 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.809 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.813 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40035"] 11-Oct-2023 14:26:38.821 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40035"] 11-Oct-2023 14:26:38.822 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.826 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40035"] 11-Oct-2023 14:26:38.828 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40035"] 11-Oct-2023 14:26:38.830 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 11-Oct-2023 14:26:38.832 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 11-Oct-2023 14:26:38.832 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.832 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.845 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-42137"] 11-Oct-2023 14:26:38.858 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-42137"] 11-Oct-2023 14:26:38.860 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.866 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-42137"] 11-Oct-2023 14:26:38.869 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-42137"] 11-Oct-2023 14:26:38.871 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 11-Oct-2023 14:26:38.873 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 11-Oct-2023 14:26:38.873 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 11-Oct-2023 14:26:38.873 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.95-dev] 11-Oct-2023 14:26:38.877 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-37487"] 11-Oct-2023 14:26:38.883 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-37487"] 11-Oct-2023 14:26:38.885 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 11-Oct-2023 14:26:38.887 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-37487"] 11-Oct-2023 14:26:38.890 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-37487"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.754 sec Testcase: testUseContentTypeExpiresConfiguration took 0.057 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.318 sec Testcase: testConfiguration took 0.039 sec Testcase: testNullContentType took 0.042 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.041 sec Testcase: testUseDefaultConfiguration2 took 0.024 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.032 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.033 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.023 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.041 sec Testcase: testEmptyContent took 0.021 sec