aboutsummaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/10-mixed-load-test.js
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-05-28 18:28:32 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-05-28 19:13:12 +0100
commitacff577c5abef548b1234d88b9a4f284f7fdef60 (patch)
treec2f2f11e50b9b4e6b389cf338116ccb152662b60 /k6-tests/ncmp/10-mixed-load-test.js
parent76fb17f57bec04a96fc53f8c730755da4cbe2856 (diff)
Adjust K6 thresholds
- Adjust timings based on previous runs. - Reduce from 5 to 4 parallel clients for CM handle searches to avoid OutOfMemoryErrors. Issue-ID: CPS-2208 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I339cc3df84b2295bb11371ab73b4948f43615c15
Diffstat (limited to 'k6-tests/ncmp/10-mixed-load-test.js')
-rw-r--r--k6-tests/ncmp/10-mixed-load-test.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/k6-tests/ncmp/10-mixed-load-test.js b/k6-tests/ncmp/10-mixed-load-test.js
index b2c20e1da..829219b4e 100644
--- a/k6-tests/ncmp/10-mixed-load-test.js
+++ b/k6-tests/ncmp/10-mixed-load-test.js
@@ -40,7 +40,7 @@ export const options = {
cm_search_module: {
executor: 'constant-vus',
exec: 'cm_search_module',
- vus: 5,
+ vus: 4,
duration: '1m',
},
},
@@ -49,9 +49,9 @@ export const options = {
'http_req_failed{scenario:passthrough_read}': ['rate == 0'],
'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 <= 2540'], // DMI delay + 40 ms
- 'http_req_duration{scenario:id_search_module}': ['avg <= 200'],
- 'http_req_duration{scenario:cm_search_module}': ['avg <= 35_000'],
+ 'http_req_duration{scenario:passthrough_read}': ['avg <= 2600'], // DMI delay + 100 ms
+ 'http_req_duration{scenario:id_search_module}': ['avg <= 500'],
+ 'http_req_duration{scenario:cm_search_module}': ['avg <= 30000'],
},
};