InfluxDB results does not match with Jmeter result due to aggregation
- 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

OS: All
Contributor guide
Assessment
This issue has not been assessed yet.