summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/passthrough-crud.js
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-08-16 13:56:14 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-08-27 17:50:17 +0100
commit78894db49673ee86f536634f80fa5d82db245a4b (patch)
tree0a14b203d7652050375b73e54adbbfe3079d7e7d /k6-tests/ncmp/common/passthrough-crud.js
parent607a8563a6e9b935c6feb2604ae0752a07a91895 (diff)
[k6] Exclude timings when error occur
If an error occurs during k6 test, e.g. tcp connection refused, the timing of failed response is included in the average response time. This can lead to incorrect plots when errors occur, e.g. operations appear to be faster when really the operations are failing. - use custom Trend metrics for all measurements - only log results when operations return expected response codes Issue-ID: CPS-2345 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Iab1db5e5ca9530f33da239187348cabcd0605648
Diffstat (limited to 'k6-tests/ncmp/common/passthrough-crud.js')
0 files changed, 0 insertions, 0 deletions