Created attachment 35397 [details] in View Results Tree, "size in bytes" value is incorrect When setting the properties sampleresult.getbytes.headers_size to true and sampleresult.getbytes.body_real_size to false, the reported size is just the header size (see attachment). According to the documentation, it should be header size + body size. The funny thing, only this combination is wrong. When setting both to true, the right size (i.e. header + body) is displayed. Similarly for setting the sampleresult.getbytes.headers_size to false: only body size is shown.
Hello Peter, I confirm the issue, still can I ask you what was the use case for you when you tried those settings ? I think we will drop those customizations as I personally never had to use them and there are too much customizations in JMeter already. Thanks for your feedback.
Hi Philippe, I don't have a real use-case. I was just testing these options after i implemented recording sample sizes in my JMeter websocket plugin and stumbled upon this funny behavior. If you drop these options, it's fine with me! Regards Peter
Author: pmouawad Date: Wed Nov 8 19:46:35 2017 New Revision: 1814629 URL: http://svn.apache.org/viewvc?rev=1814629&view=rev Log: Bug 61587 - Drop properties sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size Bugzilla Id: 61587 Modified: jmeter/trunk/bin/jmeter.properties jmeter/trunk/src/core/org/apache/jmeter/samplers/SampleResult.java jmeter/trunk/xdocs/changes.xml jmeter/trunk/xdocs/usermanual/component_reference.xml jmeter/trunk/xdocs/usermanual/properties_reference.xml
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/4509