You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2010/05/15 00:34:37 UTC

DO NOT REPLY [Bug 49294] New: Images not downloaded from redirected-to pages

https://issues.apache.org/bugzilla/show_bug.cgi?id=49294

           Summary: Images not downloaded from redirected-to pages
           Product: JMeter
           Version: 2.3.4
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: ian.rees@gmail.com


Created an attachment (id=25440)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25440)
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(...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 49294] Images not downloaded from redirected-to pages

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49294

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Sebb <se...@apache.org> 2010-05-14 20:47:39 EDT ---
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

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org