Add k6 performance tests for NCMP 27/137827/9
authordanielhanrahan <daniel.hanrahan@est.tech>
Mon, 29 Apr 2024 15:16:42 +0000 (16:16 +0100)
committerdanielhanrahan <daniel.hanrahan@est.tech>
Wed, 22 May 2024 16:09:30 +0000 (17:09 +0100)
commitc0b6f3ad5ed529e4f3261cbf6eed44faec3883a4
tree5841537492c76fb1ed635177c4c7419435032730
parent6d85c1547fad014fbea44af57440e3de1c3ce9ff
Add k6 performance tests for NCMP

This commit adds K6 tests for NCMP functionalities:
- Registration of 20000 CM-handles
- Synchronous single CM-handle passthrough read operation
- CM-handle and ID searches for no filter, module, and public property
- De-registration of 20000 CM-handles
- A mixed load test
Also includes a README and shell scripts to run all tests.

Issue-ID: CPS-2199
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia2e59674057ed28f5f9ceed9465133f7c0ce8318
18 files changed:
k6-tests/README.md [new file with mode: 0644]
k6-tests/ncmp/1-create-cmhandles.js [new file with mode: 0644]
k6-tests/ncmp/10-mixed-load-test.js [new file with mode: 0644]
k6-tests/ncmp/11-delete-cmhandles.js [new file with mode: 0644]
k6-tests/ncmp/2-wait-for-cmhandles-to-be-ready.js [new file with mode: 0644]
k6-tests/ncmp/3-passthrough-read.js [new file with mode: 0644]
k6-tests/ncmp/4-id-search-no-filter.js [new file with mode: 0644]
k6-tests/ncmp/5-search-no-filter.js [new file with mode: 0644]
k6-tests/ncmp/6-id-search-public-property.js [new file with mode: 0644]
k6-tests/ncmp/7-search-public-property.js [new file with mode: 0644]
k6-tests/ncmp/8-id-search-module.js [new file with mode: 0644]
k6-tests/ncmp/9-search-module.js [new file with mode: 0644]
k6-tests/ncmp/run-all-tests.sh [new file with mode: 0755]
k6-tests/ncmp/search-base.js [new file with mode: 0644]
k6-tests/ncmp/utils.js [new file with mode: 0644]
k6-tests/run-k6-tests.sh [new file with mode: 0755]
k6-tests/setup.sh [new file with mode: 0755]
k6-tests/teardown.sh [new file with mode: 0755]