Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.306 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Mon, 22 May 2023 14:36:20 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Mon, 22 May 2023 14:39:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: text/xml;charset=utf-8 Date: Mon, 22 May 2023 14:36:20 GMT Expires: Mon, 22 May 2023 14:43:20 GMT Keep-Alive: timeout=3 ETag: W/"971-1684764134326" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 22 May 2023 14:37:20 GMT Content-Length: 0 Date: Mon, 22 May 2023 14:36:20 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Mon, 22 May 2023 14:37:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Mon, 22 May 2023 14:37:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 22 May 2023 14:43:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 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, 22 May 2023 14:36:20 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Mon, 22 May 2023 14:36:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Mon, 22 May 2023 14:41:20 GMT Content-Length: 11 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Mon, 22 May 2023 14:43:20 GMT Content-Length: 0 Date: Mon, 22 May 2023 14:36:20 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 22-May-2023 14:36:18.921 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 22-May-2023 14:36:19.671 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 22-May-2023 14:36:19.786 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:19.799 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.053 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42291"] 22-May-2023 14:36:20.270 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42291"] 22-May-2023 14:36:20.274 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.296 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42291"] 22-May-2023 14:36:20.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-42291"] 22-May-2023 14:36:20.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 22-May-2023 14:36:20.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 22-May-2023 14:36:20.323 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.323 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.329 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32995"] 22-May-2023 14:36:20.342 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32995"] 22-May-2023 14:36:20.343 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.345 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32995"] 22-May-2023 14:36:20.347 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-32995"] 22-May-2023 14:36:20.359 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 22-May-2023 14:36:20.360 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 22-May-2023 14:36:20.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 22-May-2023 14:36:20.369 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 22-May-2023 14:36:20.373 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.373 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.426 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 22-May-2023 14:36:20.538 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42379"] 22-May-2023 14:36:20.550 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42379"] 22-May-2023 14:36:20.551 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.559 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42379"] 22-May-2023 14:36:20.560 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-42379"] 22-May-2023 14:36:20.563 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 22-May-2023 14:36:20.564 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 22-May-2023 14:36:20.572 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.577 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44919"] 22-May-2023 14:36:20.582 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44919"] 22-May-2023 14:36:20.586 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.588 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44919"] 22-May-2023 14:36:20.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-44919"] 22-May-2023 14:36:20.594 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 22-May-2023 14:36:20.596 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 22-May-2023 14:36:20.599 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.600 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.605 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45947"] 22-May-2023 14:36:20.611 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45947"] 22-May-2023 14:36:20.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.616 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45947"] 22-May-2023 14:36:20.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45947"] 22-May-2023 14:36:20.624 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 22-May-2023 14:36:20.625 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 22-May-2023 14:36:20.626 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 22-May-2023 14:36:20.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 22-May-2023 14:36:20.632 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.632 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44633"] 22-May-2023 14:36:20.665 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44633"] 22-May-2023 14:36:20.666 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.669 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44633"] 22-May-2023 14:36:20.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-44633"] 22-May-2023 14:36:20.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 22-May-2023 14:36:20.675 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 22-May-2023 14:36:20.689 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.690 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.697 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44579"] 22-May-2023 14:36:20.702 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44579"] 22-May-2023 14:36:20.705 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.707 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44579"] 22-May-2023 14:36:20.708 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44579"] 22-May-2023 14:36:20.712 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 22-May-2023 14:36:20.713 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 22-May-2023 14:36:20.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.721 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.729 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34547"] 22-May-2023 14:36:20.734 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34547"] 22-May-2023 14:36:20.737 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.739 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34547"] 22-May-2023 14:36:20.740 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34547"] 22-May-2023 14:36:20.743 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 22-May-2023 14:36:20.745 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 22-May-2023 14:36:20.747 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.747 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.755 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39823"] 22-May-2023 14:36:20.758 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39823"] 22-May-2023 14:36:20.759 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.761 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39823"] 22-May-2023 14:36:20.761 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-39823"] 22-May-2023 14:36:20.767 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 22-May-2023 14:36:20.768 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 22-May-2023 14:36:20.769 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 22-May-2023 14:36:20.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 22-May-2023 14:36:20.784 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.784 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.791 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42541"] 22-May-2023 14:36:20.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42541"] 22-May-2023 14:36:20.800 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42541"] 22-May-2023 14:36:20.803 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-42541"] 22-May-2023 14:36:20.807 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 22-May-2023 14:36:20.808 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 22-May-2023 14:36:20.815 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.815 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39219"] 22-May-2023 14:36:20.824 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39219"] 22-May-2023 14:36:20.827 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.828 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39219"] 22-May-2023 14:36:20.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39219"] 22-May-2023 14:36:20.833 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 22-May-2023 14:36:20.834 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 22-May-2023 14:36:20.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 22-May-2023 14:36:20.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 22-May-2023 14:36:20.843 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42869"] 22-May-2023 14:36:20.847 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42869"] 22-May-2023 14:36:20.849 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 22-May-2023 14:36:20.851 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42869"] 22-May-2023 14:36:20.852 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42869"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.676 sec Testcase: testUseContentTypeExpiresConfiguration took 0.051 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.201 sec Testcase: testConfiguration took 0.031 sec Testcase: testNullContentType took 0.03 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.048 sec Testcase: testUseDefaultConfiguration2 took 0.038 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.031 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.024 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.037 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.026 sec Testcase: testEmptyContent took 0.025 sec