diff options
author | 2025-01-27 13:58:35 +0000 | |
---|---|---|
committer | 2025-01-31 16:49:54 +0000 | |
commit | 53be001c283800b0cd83a662ba0589f3abc6f136 (patch) | |
tree | 0dfcc93e5e510ba24f9eb31c81303a3e5d964ae7 /k6-tests | |
parent | 59f1cc4c5994da34f2c48a2347499f9cfb7bd836 (diff) |
Realistic Examples: K6 Test-ware
- resourceIdentifiers must be url encoded fdns from ManagedElement.
e.g.: ManagedElement=NRNode1/GNBDUFunction=1/NRCellDU=cell1
- resourceIdentifer refers to the object where the search starts from.
This request will search for NRCellDUs and return their cellLocalId.
The resourceIdentifier should be: ManagedElement=NRNode1/GNBDUFunction=1
Issue-ID: CPS-2482
Change-Id: Ic6ac360c71fcfc80f27367b626ad85d40a58a292
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
Diffstat (limited to 'k6-tests')
-rw-r--r-- | k6-tests/ncmp/common/passthrough-crud.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/k6-tests/ncmp/common/passthrough-crud.js b/k6-tests/ncmp/common/passthrough-crud.js index 251ddf8890..a3d48fd590 100644 --- a/k6-tests/ncmp/common/passthrough-crud.js +++ b/k6-tests/ncmp/common/passthrough-crud.js @@ -29,7 +29,7 @@ import { export function passthroughRead(useAlternateId) { const cmHandleReference = getRandomCmHandleReference(useAlternateId); - const resourceIdentifier = 'NRCellDU/attributes/cellLocalId'; + const resourceIdentifier = 'ManagedElement=NRNode1/GNBDUFunction=1'; const datastoreName = 'ncmp-datastore:passthrough-operational'; const includeDescendants = true; const url = generatePassthroughUrl(cmHandleReference, datastoreName, resourceIdentifier, includeDescendants); @@ -38,7 +38,7 @@ export function passthroughRead(useAlternateId) { export function passthroughWrite(useAlternateId) { const cmHandleReference = getRandomCmHandleReference(useAlternateId); - const resourceIdentifier = 'NRCellDU/attributes/cellLocalId'; + const resourceIdentifier = 'ManagedElement=NRNode1/GNBDUFunction=1'; const datastoreName = 'ncmp-datastore:passthrough-running'; const includeDescendants = false; const url = generatePassthroughUrl(cmHandleReference, datastoreName, resourceIdentifier, includeDescendants); @@ -54,7 +54,7 @@ export function legacyBatchRead(cmHandleIds) { const payload = JSON.stringify({ "operations": [ { - "resourceIdentifier": "NRCellDU/attributes/cellLocalId", + "resourceIdentifier": "ManagedElement=NRNode1/GNBDUFunction=1", "targetIds": cmHandleIds, "datastore": "ncmp-datastore:passthrough-operational", "options": "(fields=NRCellDU/attributes/cellLocalId)", |