diff options
author | 2024-08-14 13:18:25 +0000 | |
---|---|---|
committer | 2024-08-14 13:18:25 +0000 | |
commit | c3fb2570df38b7d802c7eef22fcb213e80d8d639 (patch) | |
tree | 8c198ebcb546680b04cf0fc3dc1a8b3800e6fd21 /k6-tests/ncmp/common/passthrough-crud.js | |
parent | ae80bb42d8b41f280fb52cac70f974067ce31c68 (diff) | |
parent | 285595282371807532862fa0293f6d5e3b5d3517 (diff) |
Merge "K6 performance test for Alternate Id Read"
Diffstat (limited to 'k6-tests/ncmp/common/passthrough-crud.js')
-rw-r--r-- | k6-tests/ncmp/common/passthrough-crud.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/k6-tests/ncmp/common/passthrough-crud.js b/k6-tests/ncmp/common/passthrough-crud.js index 76bda4e1bd..5617f9d093 100644 --- a/k6-tests/ncmp/common/passthrough-crud.js +++ b/k6-tests/ncmp/common/passthrough-crud.js @@ -36,6 +36,16 @@ export function passthroughRead() { return response; } +export function passthroughReadWithAltId() { + const cmHandleId = getRandomCmHandleId(); + const resourceIdentifier = 'my-resource-identifier'; + const includeDescendants = true; + const datastoreName = 'ncmp-datastore:passthrough-operational'; + const url = `${NCMP_BASE_URL}/ncmp/v1/ch/alt-${cmHandleId}/data/ds/${datastoreName}?resourceIdentifier=${resourceIdentifier}&include-descendants=${includeDescendants}` + const response = http.get(url); + return response; +} + export function passthroughWrite() { const cmHandleId = getRandomCmHandleId(); const resourceIdentifier = 'my-resource-identifier'; |