Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Wed, 01 May 2024 17:15:03 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Wed, 01 May 2024 17:18:03 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: text/xml;charset=utf-8 Date: Wed, 01 May 2024 17:15:03 GMT Expires: Wed, 01 May 2024 17:22:03 GMT Keep-Alive: timeout=3 ETag: W/"971-1714582918934" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:16:03 GMT Content-Length: 0 Date: Wed, 01 May 2024 17:15:03 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:16:04 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Wed, 01 May 2024 17:16:04 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 01 May 2024 17:22:04 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 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, 01 May 2024 17:15:03 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Wed, 01 May 2024 17:15:04 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Wed, 01 May 2024 17:20:04 GMT Content-Length: 11 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Wed, 01 May 2024 17:22:04 GMT Content-Length: 0 Date: Wed, 01 May 2024 17:15:03 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 01-May-2024 17:15:01.732 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 01-May-2024 17:15:02.686 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 01-May-2024 17:15:02.725 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:02.725 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:02.957 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44971"] 01-May-2024 17:15:03.178 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44971"] 01-May-2024 17:15:03.182 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:03.226 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44971"] 01-May-2024 17:15:03.259 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44971"] 01-May-2024 17:15:03.274 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 01-May-2024 17:15:03.276 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 01-May-2024 17:15:03.277 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:03.278 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:03.314 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-39721"] 01-May-2024 17:15:03.428 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-39721"] 01-May-2024 17:15:03.430 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:03.433 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-39721"] 01-May-2024 17:15:03.440 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-39721"] 01-May-2024 17:15:03.452 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 01-May-2024 17:15:03.453 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 01-May-2024 17:15:03.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 01-May-2024 17:15:03.462 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 01-May-2024 17:15:03.466 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:03.468 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:03.613 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 01-May-2024 17:15:03.789 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-38095"] 01-May-2024 17:15:03.825 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-38095"] 01-May-2024 17:15:03.830 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:03.836 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-38095"] 01-May-2024 17:15:03.838 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-38095"] 01-May-2024 17:15:03.840 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 01-May-2024 17:15:03.842 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 01-May-2024 17:15:03.843 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:03.843 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:03.847 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41611"] 01-May-2024 17:15:03.924 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41611"] 01-May-2024 17:15:03.925 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:03.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41611"] 01-May-2024 17:15:03.937 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41611"] 01-May-2024 17:15:03.941 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 01-May-2024 17:15:03.944 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 01-May-2024 17:15:03.949 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:03.950 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:03.976 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-46517"] 01-May-2024 17:15:03.995 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-46517"] 01-May-2024 17:15:03.998 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.000 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-46517"] 01-May-2024 17:15:04.006 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-46517"] 01-May-2024 17:15:04.008 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 01-May-2024 17:15:04.009 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 01-May-2024 17:15:04.010 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 01-May-2024 17:15:04.012 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 01-May-2024 17:15:04.018 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.018 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.031 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40885"] 01-May-2024 17:15:04.044 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40885"] 01-May-2024 17:15:04.047 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.049 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40885"] 01-May-2024 17:15:04.054 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40885"] 01-May-2024 17:15:04.057 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 01-May-2024 17:15:04.058 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 01-May-2024 17:15:04.060 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.061 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.070 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-34911"] 01-May-2024 17:15:04.084 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-34911"] 01-May-2024 17:15:04.087 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.089 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-34911"] 01-May-2024 17:15:04.096 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-34911"] 01-May-2024 17:15:04.099 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 01-May-2024 17:15:04.106 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 01-May-2024 17:15:04.106 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.107 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.154 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-42841"] 01-May-2024 17:15:04.199 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-42841"] 01-May-2024 17:15:04.200 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.203 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-42841"] 01-May-2024 17:15:04.212 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-42841"] 01-May-2024 17:15:04.214 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 01-May-2024 17:15:04.215 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 01-May-2024 17:15:04.216 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.216 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.229 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-33067"] 01-May-2024 17:15:04.242 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-33067"] 01-May-2024 17:15:04.246 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.253 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-33067"] 01-May-2024 17:15:04.260 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-33067"] 01-May-2024 17:15:04.262 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 01-May-2024 17:15:04.263 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 01-May-2024 17:15:04.266 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 01-May-2024 17:15:04.268 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 01-May-2024 17:15:04.268 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.268 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.294 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-40471"] 01-May-2024 17:15:04.321 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-40471"] 01-May-2024 17:15:04.322 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.324 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-40471"] 01-May-2024 17:15:04.328 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-40471"] 01-May-2024 17:15:04.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 01-May-2024 17:15:04.331 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 01-May-2024 17:15:04.331 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.331 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.336 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-33393"] 01-May-2024 17:15:04.344 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-33393"] 01-May-2024 17:15:04.345 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.347 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-33393"] 01-May-2024 17:15:04.350 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-33393"] 01-May-2024 17:15:04.351 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 01-May-2024 17:15:04.353 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 01-May-2024 17:15:04.353 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 01-May-2024 17:15:04.353 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.24-dev] 01-May-2024 17:15:04.359 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-41119"] 01-May-2024 17:15:04.367 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-41119"] 01-May-2024 17:15:04.370 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 01-May-2024 17:15:04.371 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-41119"] 01-May-2024 17:15:04.375 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-41119"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 1.863 sec Testcase: testUseContentTypeExpiresConfiguration took 0.177 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.386 sec Testcase: testConfiguration took 0.1 sec Testcase: testNullContentType took 0.067 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.046 sec Testcase: testUseDefaultConfiguration2 took 0.042 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.114 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.048 sec Testcase: testIntsToCommaDelimitedString took 0.004 sec Testcase: testSkipBecauseExpiresIsDefined took 0.063 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.022 sec Testcase: testEmptyContent took 0.025 sec