DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42019>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42019

           Summary: Content type not stored in redirected HTTP request with
                    subresults
           Product: JMeter
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


* Create an HTTP Request to a location which returns a 302 (redirect)
* Ensure that the page to which the response redirects is an HTML page with a 
reference to an external file (like a CSS stylesheet)
* Turn on "follow redirects" and "retrieve all embedded resources" in the HTTP 
request
* Add a "Save Response to file" postprocessor.
* Run the test plan.

The directory to which the responses are saved will contain a file 
named "x.unknown" (with x some number) containing valid HTML, i.e. the content 
type has not been recognized correctly.
This is due to the (already correctly detected) content type being lost during 
HTTPSampleResult's "copy" constructor.
Patch is attached.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to