aboutsummaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/cmhandle-crud.js
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2024-09-21 16:47:43 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2024-09-24 16:57:59 +0100
commita9de166ce7d58b4ccabbd1d586a2ee9dc3b878e8 (patch)
tree3b1a0b403090e6f4c2e0292bbf03de395d536fd2 /k6-tests/ncmp/common/cmhandle-crud.js
parent06391e2c0b13064caa643bd9f44e773eaeeb2631 (diff)
[k6] CM handles searches using different filters
Each 5 VUs for searches uses a different filter: no filter, module, property, cps path, and trust level. This is needed since each search may have different performance. This also helps reduce load versus doing a combined module and property search all the time. Issue-ID: CPS-2349 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I33a75260f97697d2061d10b80ba7eeb2f6c346f5
Diffstat (limited to 'k6-tests/ncmp/common/cmhandle-crud.js')
-rw-r--r--k6-tests/ncmp/common/cmhandle-crud.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/k6-tests/ncmp/common/cmhandle-crud.js b/k6-tests/ncmp/common/cmhandle-crud.js
index 7fab62abd8..0fea1a44f2 100644
--- a/k6-tests/ncmp/common/cmhandle-crud.js
+++ b/k6-tests/ncmp/common/cmhandle-crud.js
@@ -66,7 +66,7 @@ function createCmHandlePayload(cmHandleIds) {
}
function getNumberOfReadyCmHandles() {
- const response = executeCmHandleIdSearch('readyCmHandles');
+ const response = executeCmHandleIdSearch('cps-path-for-ready-cm-handles');
const arrayOfCmHandleIds = JSON.parse(response.body);
return arrayOfCmHandleIds.length;
}