Add CM Write Data Job Scenario to K6 Test Suite 91/140891/6
authorsourabh_sourabh <sourabh.sourabh@est.tech>
Thu, 15 May 2025 15:46:58 +0000 (16:46 +0100)
committersourabh_sourabh <sourabh.sourabh@est.tech>
Wed, 4 Jun 2025 12:01:51 +0000 (13:01 +0100)
commit9e27a5fb031466489c5fe5bdf6c1f2ea5126279c
tree86dda56f5b523420ec1459f8e52da25b678878a3
parent0b2a53a12800c30bd5e7038103391cccf2216632
Add CM Write Data Job Scenario to K6 Test Suite

- Added 'write_data_job_scenario' in the K6 test configuration for small
  and large data size.
- It helps to simulate lower / higher load and monitor system behavior under infrequent
  write operations.
- CSV report and other alignment.
- Created a test metadata json to refer from all the places.
- Script to generate trends and thresholds

Issue-ID: CPS-2716
Change-Id: I4ba5728a2738c3454f1652d6db88ad599f2192c9
Signed-off-by: sourabh_sourabh <sourabh.sourabh@est.tech>
12 files changed:
cps-ncmp-service/src/main/java/org/onap/cps/ncmp/impl/datajobs/WriteRequestExaminer.java
docker-compose/config/nginx/nginx.conf
k6-tests/make-logs.sh
k6-tests/ncmp/common/cmhandle-crud.js
k6-tests/ncmp/common/passthrough-crud.js
k6-tests/ncmp/common/utils.js
k6-tests/ncmp/common/write-data-job.js [new file with mode: 0644]
k6-tests/ncmp/config/endurance.json
k6-tests/ncmp/config/kpi.json
k6-tests/ncmp/config/test-kpi-metadata.json [new file with mode: 0644]
k6-tests/ncmp/ncmp-test-runner.js
k6-tests/ncmp/run-all-tests.sh