Summary: | When using Transaction Controller, send Bytes and Received Bytes are displayed as 0 in the influxdb(BackendListener). | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | davelee <dave1.lee> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | p.mouawad, support |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 3.0 | ||
Target Milestone: | JMETER_5.4 | ||
Hardware: | All | ||
OS: | All |
Description
davelee
2020-06-24 02:58:16 UTC
*** Bug 64590 has been marked as a duplicate of this bug. *** If you have a Transaction Controller with 2 children requests. The first request: Size in bytes:12961 Sent bytes:122 Headers size in bytes:344 Body size in bytes:12617 Second request: Size in bytes:12961 Sent bytes:122 Headers size in bytes:344 Body size in bytes:12617 The TC will have : Size in bytes:25922 Sent bytes:244 Headers size in bytes:0 => ISSUE Body size in bytes:0 => ISSUE (In reply to Philippe Mouawad from comment #2) > If you have a Transaction Controller with 2 children requests. > > The first request: > Size in bytes:12961 > Sent bytes:122 > Headers size in bytes:344 > Body size in bytes:12617 > > > Second request: > Size in bytes:12961 > Sent bytes:122 > Headers size in bytes:344 > Body size in bytes:12617 > > > The TC will have : > Size in bytes:25922 > Sent bytes:244 > Headers size in bytes:0 => ISSUE > Body size in bytes:0 => ISSUE Ignore this, it's wrong I tested with 1 request under transaction controller. pmouawad pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git The following commit(s) were added to refs/heads/master by this push: new 3617f49 Bug 64553 When using Transaction Controller, send Bytes and Received Bytes are displayed as 0 in the influxdb(BackendListener) (#608) 3617f49 is described below commit 3617f49087201c7d060be10cc3b4c95919c78956 Author: Philippe M <pmouawad@users.noreply.github.com> AuthorDate: Sun Aug 30 14:58:59 2020 +0200 Bug 64553 When using Transaction Controller, send Bytes and Received Bytes are displayed as 0 in the influxdb(BackendListener) (#608) * 64553 When using Transaction Controller, send Bytes and Received Bytes are displayed as 0 in the influxdb(BackendListener) * Fix typo of parameter name * Give the cumulated add its own method * Add test cases for new method addCumulated * Method getSubResults constructs new arrays, so call only once inside method * Fix conflict Co-authored-by: Felix Schumacher <felix.schumacher@internetallee.de> --- .../jmeter/visualizers/backend/SamplerMetric.java | 51 +++++++++++----- .../graphite/GraphiteBackendListenerClient.java | 2 +- .../backend/influxdb/HttpMetricsSender.java | 5 +- .../influxdb/InfluxdbBackendListenerClient.java | 18 +++--- .../backend/SamplerMetricFixedModeTest.java | 62 ++++++++++++++++++++ .../backend/SamplerMetricTimedModeTest.java | 68 +++++++++++++++++++++- xdocs/changes.xml | 1 + 7 files changed, 180 insertions(+), 27 deletions(-) This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5345 |