Testsuite: org.apache.catalina.filters.TestExpiresFilter Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.426 sec ------------- Standard Output --------------- Keep-Alive: timeout=3 ETag: W/"1934-1269208821000" Connection: keep-alive Date: Tue, 15 Oct 2024 13:45:00 GMT Keep-Alive: timeout=3 Cache-Control: max-age=180 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:48:00 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:00 GMT Content-Type: text/xml;charset=utf-8 Date: Tue, 15 Oct 2024 13:45:00 GMT Expires: Tue, 15 Oct 2024 13:52:00 GMT Keep-Alive: timeout=3 ETag: W/"971-1728999097851" Connection: keep-alive Cache-Control: max-age=420 Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:46:00 GMT Content-Length: 0 Date: Tue, 15 Oct 2024 13:45:00 GMT Keep-Alive: timeout=3 Cache-Control: max-age=60 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:46:00 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:00 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: private, max-age=60 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:46:00 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:00 GMT Content-Type: image/jpeg;charset=ISO-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:52:01 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:01 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, 15 Oct 2024 13:45:01 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:45:01 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:01 GMT Content-Type: text/xml;charset=utf-8 Keep-Alive: timeout=3 Cache-Control: max-age=300 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:50:01 GMT Content-Length: 11 Date: Tue, 15 Oct 2024 13:45:01 GMT Content-Type: text/xml;charset=iso-8859-1 Keep-Alive: timeout=3 Cache-Control: max-age=420 Connection: keep-alive Expires: Tue, 15 Oct 2024 13:52:01 GMT Content-Length: 0 Date: Tue, 15 Oct 2024 13:45:01 GMT Content-Type: text/plain ------------- ---------------- --------------- ------------- Standard Error ----------------- 15-Oct-2024 13:44:58.265 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExcludedResponseStatusCode] 15-Oct-2024 13:44:59.559 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 15-Oct-2024 13:44:59.662 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:44:59.671 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:44:59.968 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-37091"] 15-Oct-2024 13:45:00.253 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-37091"] 15-Oct-2024 13:45:00.256 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.274 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-37091"] 15-Oct-2024 13:45:00.283 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-37091"] 15-Oct-2024 13:45:00.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeExpiresConfiguration] 15-Oct-2024 13:45:00.302 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 15-Oct-2024 13:45:00.307 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-37293"] 15-Oct-2024 13:45:00.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-37293"] 15-Oct-2024 13:45:00.380 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.392 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-37293"] 15-Oct-2024 13:45:00.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-37293"] 15-Oct-2024 13:45:00.402 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationCombinedDuration] 15-Oct-2024 13:45:00.403 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 15-Oct-2024 13:45:00.404 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testBug63909] 15-Oct-2024 13:45:00.435 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 15-Oct-2024 13:45:00.437 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.437 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.534 INFO [main] org.apache.catalina.startup.ContextConfig.getDefaultWebXmlFragment No global web.xml found 15-Oct-2024 13:45:00.702 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. 15-Oct-2024 13:45:00.764 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-33243"] 15-Oct-2024 13:45:00.783 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-33243"] 15-Oct-2024 13:45:00.787 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.800 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-33243"] 15-Oct-2024 13:45:00.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-33243"] 15-Oct-2024 13:45:00.825 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConfiguration] 15-Oct-2024 13:45:00.827 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 15-Oct-2024 13:45:00.828 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.828 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.833 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-44083"] 15-Oct-2024 13:45:00.844 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-44083"] 15-Oct-2024 13:45:00.844 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-44083"] 15-Oct-2024 13:45:00.851 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-44083"] 15-Oct-2024 13:45:00.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNullContentType] 15-Oct-2024 13:45:00.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 15-Oct-2024 13:45:00.857 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.857 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.879 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-39977"] 15-Oct-2024 13:45:00.896 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-39977"] 15-Oct-2024 13:45:00.900 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.904 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-39977"] 15-Oct-2024 13:45:00.907 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-39977"] 15-Oct-2024 13:45:00.910 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testParseExpiresConfigurationMonoDuration] 15-Oct-2024 13:45:00.911 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 15-Oct-2024 13:45:00.912 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration1] 15-Oct-2024 13:45:00.915 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 15-Oct-2024 13:45:00.915 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.916 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.926 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-40781"] 15-Oct-2024 13:45:00.940 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-40781"] 15-Oct-2024 13:45:00.940 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.943 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-40781"] 15-Oct-2024 13:45:00.948 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-40781"] 15-Oct-2024 13:45:00.950 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseDefaultConfiguration2] 15-Oct-2024 13:45:00.951 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 15-Oct-2024 13:45:00.952 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.952 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-44453"] 15-Oct-2024 13:45:00.970 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-44453"] 15-Oct-2024 13:45:00.971 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:00.973 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-44453"] 15-Oct-2024 13:45:00.975 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-44453"] 15-Oct-2024 13:45:00.978 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseMajorTypeExpiresConfiguration] 15-Oct-2024 13:45:00.982 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 15-Oct-2024 13:45:00.982 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:00.983 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:00.987 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-34861"] 15-Oct-2024 13:45:01.015 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-34861"] 15-Oct-2024 13:45:01.022 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:01.030 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-34861"] 15-Oct-2024 13:45:01.040 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-34861"] 15-Oct-2024 13:45:01.041 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseCacheControlMaxAgeIsDefined] 15-Oct-2024 13:45:01.043 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 15-Oct-2024 13:45:01.043 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:01.043 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:01.064 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-44499"] 15-Oct-2024 13:45:01.182 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-44499"] 15-Oct-2024 13:45:01.185 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:01.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-44499"] 15-Oct-2024 13:45:01.193 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-44499"] 15-Oct-2024 13:45:01.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testIntsToCommaDelimitedString] 15-Oct-2024 13:45:01.195 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 15-Oct-2024 13:45:01.197 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSkipBecauseExpiresIsDefined] 15-Oct-2024 13:45:01.199 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 15-Oct-2024 13:45:01.200 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:01.201 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:01.219 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-34773"] 15-Oct-2024 13:45:01.233 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-34773"] 15-Oct-2024 13:45:01.237 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:01.245 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-34773"] 15-Oct-2024 13:45:01.257 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-34773"] 15-Oct-2024 13:45:01.258 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testUseContentTypeWithoutCharsetExpiresConfiguration] 15-Oct-2024 13:45:01.259 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 15-Oct-2024 13:45:01.260 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:01.260 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:01.264 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-36109"] 15-Oct-2024 13:45:01.287 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-36109"] 15-Oct-2024 13:45:01.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:01.292 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-36109"] 15-Oct-2024 13:45:01.297 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-36109"] 15-Oct-2024 13:45:01.298 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEmptyContent] 15-Oct-2024 13:45:01.300 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 15-Oct-2024 13:45:01.300 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 15-Oct-2024 13:45:01.301 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.32-dev] 15-Oct-2024 13:45:01.312 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-33677"] 15-Oct-2024 13:45:01.336 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-33677"] 15-Oct-2024 13:45:01.339 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 15-Oct-2024 13:45:01.341 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-33677"] 15-Oct-2024 13:45:01.345 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-33677"] ------------- ---------------- --------------- Testcase: testExcludedResponseStatusCode took 2.222 sec Testcase: testUseContentTypeExpiresConfiguration took 0.11 sec Testcase: testParseExpiresConfigurationCombinedDuration took 0.002 sec Testcase: testBug63909 took 0.42 sec Testcase: testConfiguration took 0.028 sec Testcase: testNullContentType took 0.056 sec Testcase: testParseExpiresConfigurationMonoDuration took 0.002 sec Testcase: testUseDefaultConfiguration1 took 0.038 sec Testcase: testUseDefaultConfiguration2 took 0.026 sec Testcase: testUseMajorTypeExpiresConfiguration took 0.064 sec Testcase: testSkipBecauseCacheControlMaxAgeIsDefined took 0.153 sec Testcase: testIntsToCommaDelimitedString took 0.001 sec Testcase: testSkipBecauseExpiresIsDefined took 0.063 sec Testcase: testUseContentTypeWithoutCharsetExpiresConfiguration took 0.04 sec Testcase: testEmptyContent took 0.048 sec