aboutsummaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/common/cmhandle-crud.js
diff options
context:
space:
mode:
authorsourabh_sourabh <sourabh.sourabh@est.tech>2025-01-16 10:53:59 +0000
committersourabh_sourabh <sourabh.sourabh@est.tech>2025-01-17 11:11:41 +0000
commite7492d1818605845a550581bb9a9e43254e46722 (patch)
treedd7389d150ec6b02531857750b0b64352a38aaaf /k6-tests/ncmp/common/cmhandle-crud.js
parent76a3bddc4494b6856084b02f49e37e7ab7c5d27a (diff)
Realistic Examples: K6 Test-ware
- Updated resourceIdentifier query parameter to align with GNBDUFunctionConfig structure. - Introduced hierarchical notation (parent=..., child=...) for precise resource identification. - Added examples for querying all GNBDUFunctions, specific gNB IDs, and sub-resources like RIM-RS reporting configurations. Issue-ID: CPS-2482 Change-Id: I9e10db9bed7a3503f617a9f8dbd9fed8787402dc Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'k6-tests/ncmp/common/cmhandle-crud.js')
-rw-r--r--k6-tests/ncmp/common/cmhandle-crud.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/k6-tests/ncmp/common/cmhandle-crud.js b/k6-tests/ncmp/common/cmhandle-crud.js
index 0fea1a44f2..285028f13c 100644
--- a/k6-tests/ncmp/common/cmhandle-crud.js
+++ b/k6-tests/ncmp/common/cmhandle-crud.js
@@ -53,9 +53,11 @@ function createCmHandlePayload(cmHandleIds) {
"dmiPlugin": DMI_PLUGIN_URL,
"createdCmHandles": cmHandleIds.map((cmHandleId, index) => ({
"cmHandle": cmHandleId,
- "alternateId": cmHandleId.replace('ch-', 'alt-'),
+ "alternateId": cmHandleId.replace('ch-', 'Subnetwork=Europe,ManagedElement='),
"moduleSetTag": MODULE_SET_TAGS[index % MODULE_SET_TAGS.length],
- "cmHandleProperties": {"neType": "RadioNode"},
+ "cmHandleProperties": {
+ "id": "123"
+ },
"publicCmHandleProperties": {
"Color": "yellow",
"Size": "small",