apache / apache/jmeter

InfluxDB results does not match with Jmeter result due to aggregation

Open
#5,350 1 comment 0 reactions 0 assignees View on GitHub
enhancement keyword: PatchAvailable os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**Jyoti Prakash** ([Bug 64562](https://bz.apache.org/bugzilla//show_bug.cgi?id=64562&redirect=false)):
JMeter, by default adds the sampler metrics for a common sampler in the span of influxDB interval duration and send aggregated values to Influx DB after given interval.

Jmeter calculates the transaction metrics (Min, Average, Maximum, 90% Line, etc) from raw results where all transaction metrics are stored vs while sending into InfluxDB from Jmeter, It aggregates metrics according to time interval instead of sending raw results.

This causes the discrepancies between Influx DB metrics and Jmeter Metrics.

If we can modify code to send all result samples rather that aggregation then it will resolve mismatch issue.
Also, we can just send response time and need not to send min, max, and percentile because for 1 result row, time will be same for all computation, however for Summary we may need that.

Created attachment [Jmeter-Influx-Grafana.jpg](https://apache.github.io/jmeter-bugzilla-attachments/62/64562/37335/Jmeter-Influx-Grafana.jpg): Example screenshot

Example screenshot

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.