diff options
author | 2024-06-26 08:09:46 +0000 | |
---|---|---|
committer | 2024-06-26 08:09:46 +0000 | |
commit | fe38c6a28c303697225c36b11daec87d8a110396 (patch) | |
tree | cb7e5a4aa76385c5e3ec4065c9d368da689bba70 /k6-tests/ncmp/10-mixed-load-test.js | |
parent | 37d82d5d54ede4c05862fe648911c383d253cec3 (diff) | |
parent | e88e2c30a6c389e032b5838f2066291e8692d195 (diff) |
Merge "Clean up the k6 test suite"
Diffstat (limited to 'k6-tests/ncmp/10-mixed-load-test.js')
-rw-r--r-- | k6-tests/ncmp/10-mixed-load-test.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/k6-tests/ncmp/10-mixed-load-test.js b/k6-tests/ncmp/10-mixed-load-test.js index afa91af203..a6b5b01e22 100644 --- a/k6-tests/ncmp/10-mixed-load-test.js +++ b/k6-tests/ncmp/10-mixed-load-test.js @@ -22,25 +22,27 @@ import { makeCustomSummaryReport } from './common/utils.js' import { executeCmHandleSearch, executeCmHandleIdSearch } from './common/search-base.js'; import { passthroughRead } from './common/passthrough-read.js'; +const DURATION = '15m'; + export const options = { scenarios: { passthrough_read: { executor: 'constant-vus', exec: 'passthrough_read', vus: 10, - duration: '1m', + duration: DURATION, }, id_search_module: { executor: 'constant-vus', exec: 'id_search_module', - vus: 5, - duration: '1m', + vus: 3, + duration: DURATION, }, cm_search_module: { executor: 'constant-vus', exec: 'cm_search_module', - vus: 4, - duration: '1m', + vus: 3, + duration: DURATION, }, }, @@ -49,8 +51,8 @@ export const options = { '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 <= 500'], - 'http_req_duration{scenario:cm_search_module}': ['avg <= 30000'], + 'http_req_duration{scenario:id_search_module}': ['avg <= 625'], + 'http_req_duration{scenario:cm_search_module}': ['avg <= 13000'], }, }; |