apache / apache/jmeter

why does only successful requests can be calculated for tag ‘all’ avg time in influxdbBackendListenerClient

Open
#5,724 0 comments 0 reactions 0 assignees View on GitHub
defect to-triage
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

### Expected behavior

sorry, my english is poor.
tag 'all' has these statu (ok 、 ko、all )

### Actual behavior

tag 'all' only has 'all' statu (but actual for 'ok' requests in avg time)

if (!Double.isNaN(metric.getOkMean())) {
field.append(',').append(METRIC_AVG).append(Double.toString(metric.getOkMean()));
}
if (!Double.isNaN(metric.getOkMinTime())) {
field.append(',').append(METRIC_MIN).append(Double.toString(metric.getOkMinTime()));
}
if (!Double.isNaN(metric.getOkMaxTime())) {
field.append(',').append(METRIC_MAX).append(Double.toString(metric.getOkMaxTime()));
}

### Steps to reproduce the problem

if (!Double.isNaN(metric.getOkMean())) {
field.append(',').append(METRIC_AVG).append(Double.toString(metric.getOkMean()));
}
if (!Double.isNaN(metric.getOkMinTime())) {
field.append(',').append(METRIC_MIN).append(Double.toString(metric.getOkMinTime()));
}
if (!Double.isNaN(metric.getOkMaxTime())) {
field.append(',').append(METRIC_MAX).append(Double.toString(metric.getOkMaxTime()));
}

### JMeter Version

jmeter 3

### Java Version

_No response_

### OS Version

_No response_

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.