From a9de166ce7d58b4ccabbd1d586a2ee9dc3b878e8 Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Sat, 21 Sep 2024 16:47:43 +0100 Subject: [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 Change-Id: I33a75260f97697d2061d10b80ba7eeb2f6c346f5 --- k6-tests/ncmp/common/cmhandle-crud.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'k6-tests/ncmp/common/cmhandle-crud.js') 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; } -- cgit 1.2.3-korg