Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.156 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Sun, 07 Apr 2024 20:07:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:10:55 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: text/xml;charset=utf-8 Date: Sun, 07 Apr 2024 20:07:55 GMT Expires: Sun, 07 Apr 2024 20:14:55 GMT Keep-Alive: timeout=3 ETag: W/"971-1712518845185" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:08:56 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 20:07:55 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:08:56 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:08:56 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:14:56 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 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: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:07:56 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:12:56 GMT Content-Length: 11 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Sun, 07 Apr 2024 20:14:56 GMT Content-Length: 0 Date: Sun, 07 Apr 2024 20:07:55 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 07-Apr-2024 20:07:53.829 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 07-Apr-2024 20:07:55.017 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 07-Apr-2024 20:07:55.136 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:55.137 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:55.434 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35031"] 07-Apr-2024 20:07:55.592 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35031"] 07-Apr-2024 20:07:55.594 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:55.617 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35031"] 07-Apr-2024 20:07:55.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-35031"] 07-Apr-2024 20:07:55.629 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 07-Apr-2024 20:07:55.635 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 07-Apr-2024 20:07:55.638 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:55.638 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:55.646 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35083"] 07-Apr-2024 20:07:55.660 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35083"] 07-Apr-2024 20:07:55.664 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:55.666 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35083"] 07-Apr-2024 20:07:55.669 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35083"] 07-Apr-2024 20:07:55.673 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 07-Apr-2024 20:07:55.675 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 07-Apr-2024 20:07:55.676 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 07-Apr-2024 20:07:55.686 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 07-Apr-2024 20:07:55.703 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:55.704 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:55.769 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 07-Apr-2024 20:07:55.873 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46141"] 07-Apr-2024 20:07:55.905 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46141"] 07-Apr-2024 20:07:55.906 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:55.912 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46141"] 07-Apr-2024 20:07:55.913 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-46141"] 07-Apr-2024 20:07:55.924 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 07-Apr-2024 20:07:55.926 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 07-Apr-2024 20:07:55.958 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:55.958 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:55.968 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33237"] 07-Apr-2024 20:07:55.969 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33237"] 07-Apr-2024 20:07:55.972 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:55.977 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33237"] 07-Apr-2024 20:07:55.977 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-33237"] 07-Apr-2024 20:07:55.980 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 07-Apr-2024 20:07:55.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 07-Apr-2024 20:07:55.987 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:55.987 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:55.996 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36319"] 07-Apr-2024 20:07:56.006 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36319"] 07-Apr-2024 20:07:56.016 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.023 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36319"] 07-Apr-2024 20:07:56.024 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-36319"] 07-Apr-2024 20:07:56.028 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 07-Apr-2024 20:07:56.029 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 07-Apr-2024 20:07:56.030 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 07-Apr-2024 20:07:56.031 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 07-Apr-2024 20:07:56.040 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.040 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.046 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35607"] 07-Apr-2024 20:07:56.052 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35607"] 07-Apr-2024 20:07:56.054 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.059 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35607"] 07-Apr-2024 20:07:56.060 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-35607"] 07-Apr-2024 20:07:56.063 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 07-Apr-2024 20:07:56.064 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 07-Apr-2024 20:07:56.068 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.069 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.074 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41325"] 07-Apr-2024 20:07:56.081 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41325"] 07-Apr-2024 20:07:56.082 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.083 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41325"] 07-Apr-2024 20:07:56.084 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41325"] 07-Apr-2024 20:07:56.103 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 07-Apr-2024 20:07:56.104 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 07-Apr-2024 20:07:56.126 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.126 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.136 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41495"] 07-Apr-2024 20:07:56.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41495"] 07-Apr-2024 20:07:56.146 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.150 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41495"] 07-Apr-2024 20:07:56.152 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-41495"] 07-Apr-2024 20:07:56.157 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 07-Apr-2024 20:07:56.160 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 07-Apr-2024 20:07:56.194 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.194 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.214 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44553"] 07-Apr-2024 20:07:56.225 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44553"] 07-Apr-2024 20:07:56.226 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.228 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44553"] 07-Apr-2024 20:07:56.229 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-44553"] 07-Apr-2024 20:07:56.232 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 07-Apr-2024 20:07:56.234 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 07-Apr-2024 20:07:56.235 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 07-Apr-2024 20:07:56.237 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 07-Apr-2024 20:07:56.246 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.246 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43903"] 07-Apr-2024 20:07:56.256 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43903"] 07-Apr-2024 20:07:56.259 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.261 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43903"] 07-Apr-2024 20:07:56.262 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-43903"] 07-Apr-2024 20:07:56.266 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 07-Apr-2024 20:07:56.267 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 07-Apr-2024 20:07:56.279 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.279 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.284 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34909"] 07-Apr-2024 20:07:56.290 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34909"] 07-Apr-2024 20:07:56.297 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.299 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34909"] 07-Apr-2024 20:07:56.300 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-34909"] 07-Apr-2024 20:07:56.302 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 07-Apr-2024 20:07:56.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 07-Apr-2024 20:07:56.323 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 07-Apr-2024 20:07:56.323 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 07-Apr-2024 20:07:56.330 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40443"] 07-Apr-2024 20:07:56.337 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40443"] 07-Apr-2024 20:07:56.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 07-Apr-2024 20:07:56.348 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40443"] 07-Apr-2024 20:07:56.349 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40443"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.299 sec Testcase: testUseContentTypeExpiresConfiguration took 0.044 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.004 sec Testcase: testBug63909 took 0.248 sec Testcase: testConfiguration took 0.056 sec Testcase: testNullContentType took 0.047 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.001 sec Testcase: testUseDefaultConfiguration1 took 0.032 sec Testcase: testUseDefaultConfiguration2 took 0.039 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.055 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.075 sec Testcase: testIntsToCommaDelimitedString took 0.002 sec Testcase: testSkipBecauseExpiresIsDefined took 0.031 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.037 sec Testcase: testEmptyContent took 0.049 sec