[k6] Refactoring k6 tests (#1) 64/138164/5
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 10 Jun 2024 20:32:12 +0000 (21:32 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Fri, 14 Jun 2024 15:17:13 +0000 (16:17 +0100)
commitf66694a076be41d83693423dec818493bcf66715
tree452e1d54ea3a8a9c288c69491a5498118b5f57a0
parent35e0df312cbb2fd0a3740805636338713836b5e1
[k6] Refactoring k6 tests (#1)

This commit moves all common request logic into a common folder.
It is needed to avoid duplication before adding JVM warmup phase.

- move registration-related code into common folder
- move passthrough operations into common folder

Issue-ID: CPS-2208
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia9ebf61d21044b43063bde153f9c526e67d607c8
15 files changed:
k6-tests/ncmp/1-create-cmhandles.js
k6-tests/ncmp/10-mixed-load-test.js
k6-tests/ncmp/11-delete-cmhandles.js
k6-tests/ncmp/2-wait-for-cmhandles-to-be-ready.js
k6-tests/ncmp/3-passthrough-read.js
k6-tests/ncmp/4-id-search-no-filter.js
k6-tests/ncmp/5-search-no-filter.js
k6-tests/ncmp/6-id-search-public-property.js
k6-tests/ncmp/7-search-public-property.js
k6-tests/ncmp/8-id-search-module.js
k6-tests/ncmp/9-search-module.js
k6-tests/ncmp/common/cmhandle-crud.js [new file with mode: 0644]
k6-tests/ncmp/common/passthrough-read.js [new file with mode: 0644]
k6-tests/ncmp/common/search-base.js [moved from k6-tests/ncmp/search-base.js with 83% similarity]
k6-tests/ncmp/common/utils.js [moved from k6-tests/ncmp/utils.js with 86% similarity]