summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/ncmp-kpi.js
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2024-07-09 17:43:25 +0100
committerhalil.cakal <halil.cakal@est.tech>2024-07-16 10:57:27 +0100
commit9046476efc220609b3c2c89a71dac291499c44a2 (patch)
treee769bf7f26b1fecf33ae051919085338c327ed60 /k6-tests/ncmp/ncmp-kpi.js
parentac58e919008c4449b389d3681a6f8aa216cb5f8f (diff)
Report throughput for passthrough read operation
- change threshold from avg duration to req per second - the delay for dmi has been hanlded in seprate commit in dmi repository - add delays through docker-compose env variables Issue-ID:CPS-2285 Change-Id: I35978b21c208fdb4209b1610160dc5545ee22965 Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'k6-tests/ncmp/ncmp-kpi.js')
-rw-r--r--k6-tests/ncmp/ncmp-kpi.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js
index 24fbef0bfc..6bf0568077 100644
--- a/k6-tests/ncmp/ncmp-kpi.js
+++ b/k6-tests/ncmp/ncmp-kpi.js
@@ -62,11 +62,10 @@ export const options = {
thresholds: {
'cmhandles_created_per_second': ['value >= 22'],
'cmhandles_deleted_per_second': ['value >= 22'],
- 'http_req_failed{scenario:passthrough_read}': ['rate == 0'],
'http_reqs{scenario:passthrough_write}': ['rate >= 13'],
+ 'http_reqs{scenario:passthrough_read}': ['rate >= 25'],
'http_req_failed{scenario:id_search_module}': ['rate == 0'],
'http_req_failed{scenario:cm_search_module}': ['rate == 0'],
- 'http_req_duration{scenario:passthrough_read}': ['avg <= 2600'], // DMI delay + 100 ms
'http_req_duration{scenario:id_search_module}': ['avg <= 625'],
'http_req_duration{scenario:cm_search_module}': ['avg <= 13000'],
},