Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.271 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sat, 13 May 2023 03:42:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sat, 13 May 2023 03:45:27 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: text/xml;charset=utf-8 Date: Sat, 13 May 2023 03:42:27 GMT Expires: Sat, 13 May 2023 03:49:28 GMT Keep-Alive: timeout=3 ETag: W/"971-1683947308443" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 03:43:28 GMT Content-Length: 0 Date: Sat, 13 May 2023 03:42:27 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sat, 13 May 2023 03:43:28 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=59 Connection: keep-alive Expires: Sat, 13 May 2023 03:43:28 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 03:49:28 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42: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: Sat, 13 May 2023 03:42:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sat, 13 May 2023 03:42:28 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=299 Connection: keep-alive Expires: Sat, 13 May 2023 03:47:28 GMT Content-Length: 11 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sat, 13 May 2023 03:49:28 GMT Content-Length: 0 Date: Sat, 13 May 2023 03:42:27 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 13-May-2023 03:42:26.824 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 13-May-2023 03:42:27.469 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-May-2023 03:42:27.548 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:27.549 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:27.762 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43177"] 13-May-2023 03:42:27.887 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43177"] 13-May-2023 03:42:27.891 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:27.909 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43177"] 13-May-2023 03:42:27.917 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-43177"] 13-May-2023 03:42:27.936 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 13-May-2023 03:42:27.939 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-May-2023 03:42:27.945 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:27.946 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:27.951 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42755"] 13-May-2023 03:42:27.969 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42755"] 13-May-2023 03:42:27.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:27.975 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42755"] 13-May-2023 03:42:27.976 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42755"] 13-May-2023 03:42:27.980 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 13-May-2023 03:42:27.982 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-May-2023 03:42:27.996 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 13-May-2023 03:42:28.004 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-May-2023 03:42:28.054 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.054 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.177 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 13-May-2023 03:42:28.414 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34691"] 13-May-2023 03:42:28.444 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34691"] 13-May-2023 03:42:28.447 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.455 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34691"] 13-May-2023 03:42:28.456 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-34691"] 13-May-2023 03:42:28.465 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 13-May-2023 03:42:28.467 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-May-2023 03:42:28.518 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.518 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.536 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41099"] 13-May-2023 03:42:28.538 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41099"] 13-May-2023 03:42:28.541 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.543 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41099"] 13-May-2023 03:42:28.544 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41099"] 13-May-2023 03:42:28.548 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 13-May-2023 03:42:28.550 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-May-2023 03:42:28.553 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.553 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33759"] 13-May-2023 03:42:28.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33759"] 13-May-2023 03:42:28.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.569 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33759"] 13-May-2023 03:42:28.570 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-33759"] 13-May-2023 03:42:28.572 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 13-May-2023 03:42:28.573 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-May-2023 03:42:28.574 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 13-May-2023 03:42:28.575 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-May-2023 03:42:28.581 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.587 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34263"] 13-May-2023 03:42:28.592 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34263"] 13-May-2023 03:42:28.593 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.595 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34263"] 13-May-2023 03:42:28.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-34263"] 13-May-2023 03:42:28.599 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 13-May-2023 03:42:28.600 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-May-2023 03:42:28.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.607 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44899"] 13-May-2023 03:42:28.614 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44899"] 13-May-2023 03:42:28.615 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.617 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44899"] 13-May-2023 03:42:28.617 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-44899"] 13-May-2023 03:42:28.621 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 13-May-2023 03:42:28.623 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-May-2023 03:42:28.628 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.629 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.633 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40469"] 13-May-2023 03:42:28.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40469"] 13-May-2023 03:42:28.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40469"] 13-May-2023 03:42:28.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40469"] 13-May-2023 03:42:28.648 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 13-May-2023 03:42:28.650 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 13-May-2023 03:42:28.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.651 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.657 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38991"] 13-May-2023 03:42:28.661 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38991"] 13-May-2023 03:42:28.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.665 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38991"] 13-May-2023 03:42:28.666 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-38991"] 13-May-2023 03:42:28.669 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 13-May-2023 03:42:28.670 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 13-May-2023 03:42:28.670 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 13-May-2023 03:42:28.672 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 13-May-2023 03:42:28.675 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.676 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34649"] 13-May-2023 03:42:28.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34649"] 13-May-2023 03:42:28.689 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.691 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34649"] 13-May-2023 03:42:28.692 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-34649"] 13-May-2023 03:42:28.694 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 13-May-2023 03:42:28.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 13-May-2023 03:42:28.698 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.698 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.703 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35151"] 13-May-2023 03:42:28.708 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35151"] 13-May-2023 03:42:28.711 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.717 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35151"] 13-May-2023 03:42:28.718 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-35151"] 13-May-2023 03:42:28.723 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 13-May-2023 03:42:28.725 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 13-May-2023 03:42:28.731 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-May-2023 03:42:28.731 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.10-dev] 13-May-2023 03:42:28.736 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42885"] 13-May-2023 03:42:28.740 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42885"] 13-May-2023 03:42:28.742 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-May-2023 03:42:28.744 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42885"] 13-May-2023 03:42:28.745 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-42885"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.367 sec Testcase: testUseContentTypeExpiresConfiguration took 0.044 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.016 sec Testcase: testBug63909 took 0.47 sec Testcase: testConfiguration took 0.082 sec Testcase: testNullContentType took 0.025 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.025 sec Testcase: testUseDefaultConfiguration2 took 0.023 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.027 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.02 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.024 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.029 sec Testcase: testEmptyContent took 0.024 sec