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

           Summary: Bytes reported by http sampler is after GUnZip
           Product: JMeter
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Using a load testing tool, one would expect to see the real amount of data that
went over the wire in the reports, but the HTTPSampler does not call setBytes
on its result, meaning that the length of the response data is used when
SamplerResult.getBytes() is called. 
This response data has the length after unzipping!

Due to a chain of input streams in HTTPSampler.readResponse, the original
length is not available directly.
A possibility would be to use the response header value "content-length" plus
the header length (how to get that one from the HttpUrlConnection?).

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to