Summary: | Update Cache Manager to handle Expires HTTP header | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Chris C. <chris> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | diff of code implementing feature |
Description
Chris C.
2009-06-30 12:55:10 UTC
Tnanks for the patch, applied: I changed the code a bit: - use DateUtils from HttpClient 3.1 to parse the Expiry date - parse the Expiry date once rather than each time - made the new behaviour optional - only apply the Expires checking to GET requests - apply the processing to the HttpClient sampler as well For info: URL: http://svn.apache.org/viewvc?rev=881068&view=rev Log: Bug 47461 - Update Cache Manager to handle Expires HTTP header Modified: jakarta/jmeter/trunk/src/core/org/apache/jmeter/resources/messages.properties jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/gui/CacheManagerGui.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java jakarta/jmeter/trunk/xdocs/changes.xml jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2254 |