On 6 February 2012 21:01, sebb <[email protected]> wrote: > On 6 February 2012 20:45, <[email protected]> wrote: >> Author: pmouawad >> Date: Mon Feb 6 20:45:33 2012 >> New Revision: 1241169 >> >> URL: http://svn.apache.org/viewvc?rev=1241169&view=rev >> Log: >> Bug 43363 - Options for compressed content >> Add doc to component_reference >> >> Modified: >> jmeter/trunk/xdocs/usermanual/component_reference.xml >> >> Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml >> URL: >> http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1241169&r1=1241168&r2=1241169&view=diff >> ============================================================================== >> --- jmeter/trunk/xdocs/usermanual/component_reference.xml (original) >> +++ jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Feb 6 >> 20:45:33 2012 >> @@ -395,6 +395,12 @@ Optional properties to allow change the >> <pre>sampleresult.getbytes.body_real_size=true</pre></li> >> <li>Add HTTP headers to full response size >> <pre>sampleresult.getbytes.headers_size=true</pre></li></ul> >> + >> +<note> >> +The HttpClient3 doesn't include the size of chunk counters in response body >> size<br></br> >> +The HttpClient4 included this size (35 bytes added) >> +</note> > > I think this needs clarifying (or fixing in the code). > > If HC3 does not include the size of chunk counters in body size, are > they included anywhere? > > Also any difference won't always be 35 bytes. > > I would expect the total size to be identical, the only variation > being in the header size, due to the different ways these are > calculated.
I've just done a test, and it is the bodysize which differs for the HC4 case; the headers are the same. I think there's a bug in the HC4 calculation, because the body size for Java/HC3 agrees with the size of the file saved using "Save File As". I'll raise a bug report >> + >> <note>Versions of JMeter before 2.5 returns only data response size >> (uncompressed if request uses gzip/defate mode). >> <br></br>To return to settings before version 2.5, set the two properties >> to false.</note> >> </p> >> >>
