You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2017/10/05 17:57:17 UTC
[Bug 61587] New: Reported size is not correct when
sampleresult.getbytes.headers_size is true and
sampleresult.getbytes.body_real_size is false
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
Bug ID: 61587
Summary: Reported size is not correct when
sampleresult.getbytes.headers_size is true and
sampleresult.getbytes.body_real_size is false
Product: JMeter
Version: 3.3
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: peter.doornbosch@luminis.eu
Target Milestone: ---
Created attachment 35397
--> https://bz.apache.org/bugzilla/attachment.cgi?id=35397&action=edit
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.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61587] Drop properties sampleresult.getbytes.headers_size and
sampleresult.getbytes.body_real_size
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61587] Reported size is not correct when
sampleresult.getbytes.headers_size is true and
sampleresult.getbytes.body_real_size is false
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |p.mouawad@ubik-ingenierie.c
| |om
Status|NEW |NEEDINFO
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61587] Reported size is not correct when
sampleresult.getbytes.headers_size is true and
sampleresult.getbytes.body_real_size is false
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
Peter Doornbosch <pe...@luminis.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61587] Reported size is not correct when
sampleresult.getbytes.headers_size is true and
sampleresult.getbytes.body_real_size is false
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
--- Comment #2 from Peter Doornbosch <pe...@luminis.eu> ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 61587] Drop properties sampleresult.getbytes.headers_size and
sampleresult.getbytes.body_real_size
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61587
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS|Mac OS X 10.1 |All
Hardware|PC |All
Summary|Reported size is not |Drop properties
|correct when |sampleresult.getbytes.heade
|sampleresult.getbytes.heade |rs_size and
|rs_size is true and |sampleresult.getbytes.body_
|sampleresult.getbytes.body_ |real_size
|real_size is false |
Severity|normal |enhancement
--
You are receiving this mail because:
You are the assignee for the bug.