Bug 61587

Summary: Drop properties sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size
Product: JMeter Reporter: Peter Doornbosch <peter.doornbosch>
Component: MainAssignee: JMeter issues mailing list <issues>
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: in View Results Tree, "size in bytes" value is incorrect

Description Peter Doornbosch 2017-10-05 17:57:17 UTC
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.
Comment 1 Philippe Mouawad 2017-11-04 13:09:27 UTC
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.
Comment 2 Peter Doornbosch 2017-11-04 17:57:03 UTC
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!

Comment 3 Philippe Mouawad 2017-11-08 19:47:23 UTC
Author: pmouawad
Date: Wed Nov  8 19:46:35 2017
New Revision: 1814629

URL: http://svn.apache.org/viewvc?rev=1814629&view=rev
Bug 61587 - Drop properties sampleresult.getbytes.headers_size and sampleresult.getbytes.body_real_size
Bugzilla Id: 61587