Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.963 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 09 Apr 2024 20:17:39 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:20:39 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 09 Apr 2024 20:17:39 GMT Expires: Tue, 09 Apr 2024 20:24:39 GMT Keep-Alive: timeout=3 ETag: W/"971-1712692235413" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:18:39 GMT Content-Length: 0 Date: Tue, 09 Apr 2024 20:17:39 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:18:39 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:18:39 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:24:39 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 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: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:17:39 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:22:40 GMT Content-Length: 11 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 09 Apr 2024 20:24:40 GMT Content-Length: 0 Date: Tue, 09 Apr 2024 20:17:39 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 09-Apr-2024 20:17:37.557 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 09-Apr-2024 20:17:38.587 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 09-Apr-2024 20:17:38.695 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:38.696 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:38.975 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40905"] 09-Apr-2024 20:17:39.128 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40905"] 09-Apr-2024 20:17:39.130 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.156 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40905"] 09-Apr-2024 20:17:39.159 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40905"] 09-Apr-2024 20:17:39.175 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 09-Apr-2024 20:17:39.180 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 09-Apr-2024 20:17:39.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.203 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41713"] 09-Apr-2024 20:17:39.222 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41713"] 09-Apr-2024 20:17:39.223 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41713"] 09-Apr-2024 20:17:39.227 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41713"] 09-Apr-2024 20:17:39.230 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 09-Apr-2024 20:17:39.242 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 09-Apr-2024 20:17:39.243 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 09-Apr-2024 20:17:39.255 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 09-Apr-2024 20:17:39.344 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.344 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.418 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 09-Apr-2024 20:17:39.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41471"] 09-Apr-2024 20:17:39.635 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41471"] 09-Apr-2024 20:17:39.638 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.644 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41471"] 09-Apr-2024 20:17:39.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41471"] 09-Apr-2024 20:17:39.659 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 09-Apr-2024 20:17:39.660 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 09-Apr-2024 20:17:39.686 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.686 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.704 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40761"] 09-Apr-2024 20:17:39.706 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40761"] 09-Apr-2024 20:17:39.707 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.710 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40761"] 09-Apr-2024 20:17:39.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-40761"] 09-Apr-2024 20:17:39.714 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 09-Apr-2024 20:17:39.716 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 09-Apr-2024 20:17:39.741 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.741 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.746 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39067"] 09-Apr-2024 20:17:39.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39067"] 09-Apr-2024 20:17:39.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39067"] 09-Apr-2024 20:17:39.754 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-39067"] 09-Apr-2024 20:17:39.758 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 09-Apr-2024 20:17:39.759 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 09-Apr-2024 20:17:39.760 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 09-Apr-2024 20:17:39.761 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 09-Apr-2024 20:17:39.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.769 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.774 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36945"] 09-Apr-2024 20:17:39.794 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36945"] 09-Apr-2024 20:17:39.797 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.808 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36945"] 09-Apr-2024 20:17:39.809 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-36945"] 09-Apr-2024 20:17:39.812 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 09-Apr-2024 20:17:39.814 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 09-Apr-2024 20:17:39.828 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.828 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36463"] 09-Apr-2024 20:17:39.843 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36463"] 09-Apr-2024 20:17:39.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36463"] 09-Apr-2024 20:17:39.853 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-36463"] 09-Apr-2024 20:17:39.856 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 09-Apr-2024 20:17:39.867 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 09-Apr-2024 20:17:39.880 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.880 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40559"] 09-Apr-2024 20:17:39.895 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40559"] 09-Apr-2024 20:17:39.898 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.900 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40559"] 09-Apr-2024 20:17:39.900 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-40559"] 09-Apr-2024 20:17:39.903 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 09-Apr-2024 20:17:39.905 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 09-Apr-2024 20:17:39.920 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.920 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34981"] 09-Apr-2024 20:17:39.932 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34981"] 09-Apr-2024 20:17:39.935 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.937 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34981"] 09-Apr-2024 20:17:39.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34981"] 09-Apr-2024 20:17:39.945 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 09-Apr-2024 20:17:39.945 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 09-Apr-2024 20:17:39.946 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 09-Apr-2024 20:17:39.948 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 09-Apr-2024 20:17:39.958 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.958 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:39.974 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36125"] 09-Apr-2024 20:17:39.978 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36125"] 09-Apr-2024 20:17:39.978 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:39.983 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36125"] 09-Apr-2024 20:17:39.984 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-36125"] 09-Apr-2024 20:17:39.987 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 09-Apr-2024 20:17:39.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 09-Apr-2024 20:17:39.994 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:39.995 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:40.003 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39979"] 09-Apr-2024 20:17:40.009 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39979"] 09-Apr-2024 20:17:40.011 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:40.014 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39979"] 09-Apr-2024 20:17:40.015 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-39979"] 09-Apr-2024 20:17:40.018 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 09-Apr-2024 20:17:40.020 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 09-Apr-2024 20:17:40.037 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 09-Apr-2024 20:17:40.038 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.22-dev] 09-Apr-2024 20:17:40.041 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35195"] 09-Apr-2024 20:17:40.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35195"] 09-Apr-2024 20:17:40.045 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 09-Apr-2024 20:17:40.046 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35195"] 09-Apr-2024 20:17:40.047 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-35195"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.985 sec Testcase: testUseContentTypeExpiresConfiguration took 0.056 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.012 sec Testcase: testBug63909 took 0.415 sec Testcase: testConfiguration took 0.056 sec Testcase: testNullContentType took 0.043 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.053 sec Testcase: testUseDefaultConfiguration2 took 0.043 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.048 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.04 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.04 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.03 sec Testcase: testEmptyContent took 0.031 sec