Summary: | Images not downloaded from redirected-to pages | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Ian Rees <ian.rees> |
Component: | HTTP | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 2.3.4 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Possible fix |
Thanks very much for the report and fix. URL: http://svn.apache.org/viewvc?rev=944537&view=rev Log: Bug 49294 - Images not downloaded from redirected-to pages Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java jakarta/jmeter/trunk/xdocs/changes.xml Also: URL: http://svn.apache.org/viewvc?rev=944538&view=rev Log: Only create container if we are going to use it. Modified: jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/2368 |
Created attachment 25440 [details] Possible fix If an HTTP request sampler with "Retrieve All Embedded Resources from HTML Files" and "Follow Redirects" both enabled samples page1, which redirects to page2 (using HTTP 302), images on page2 will not be retrieved. This wasn't a bug in jmeter 2.2 I'm attaching a very quick patch that seems to work fine on my system without causing any problems, but I'm not sure what ramifications there might be for creating an excess "container" by removing the if(...