diff options
author | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2024-07-16 13:57:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-07-16 13:57:32 +0000 |
commit | fea2f673abe2586e62a8790ffb71efff5a01744d (patch) | |
tree | a6a678b16103c105e76d160a265e60f492838863 | |
parent | a9ee0abc27d2fdc0dbbd37817737dbd93c3f8a3f (diff) | |
parent | 9046476efc220609b3c2c89a71dac291499c44a2 (diff) |
Merge "Report throughput for passthrough read operation"
-rw-r--r-- | k6-tests/ncmp/common/utils.js | 2 | ||||
-rw-r--r-- | k6-tests/ncmp/ncmp-kpi.js | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/k6-tests/ncmp/common/utils.js b/k6-tests/ncmp/common/utils.js index 75c4ec763e..4bf066c840 100644 --- a/k6-tests/ncmp/common/utils.js +++ b/k6-tests/ncmp/common/utils.js @@ -58,7 +58,7 @@ export function makeCustomSummaryReport(data, options) { summaryCsv += makeSummaryCsvLine(2, 'De-registration of CM-handles', 'CM-handles/second', 'cmhandles_deleted_per_second', data, options); summaryCsv += makeSummaryCsvLine(3, 'CM-handle ID search with Module filter', 'milliseconds', 'http_req_duration{scenario:id_search_module}', data, options); summaryCsv += makeSummaryCsvLine(4, 'CM-handle search with Module filter', 'milliseconds', 'http_req_duration{scenario:cm_search_module}', data, options); - summaryCsv += makeSummaryCsvLine(5, 'Synchronous single CM-handle pass-through read', 'milliseconds', 'http_req_duration{scenario:passthrough_read}', data, options); + summaryCsv += makeSummaryCsvLine(5, 'Synchronous single CM-handle pass-through read', 'requests/second', 'http_reqs{scenario:passthrough_read}', data, options); summaryCsv += makeSummaryCsvLine(6, 'Synchronous single CM-handle pass-through write', 'requests/second', 'http_reqs{scenario:passthrough_write}', data, options); return summaryCsv; } diff --git a/k6-tests/ncmp/ncmp-kpi.js b/k6-tests/ncmp/ncmp-kpi.js index 24fbef0bfc..6bf0568077 100644 --- a/k6-tests/ncmp/ncmp-kpi.js +++ b/k6-tests/ncmp/ncmp-kpi.js @@ -62,11 +62,10 @@ export const options = { thresholds: { 'cmhandles_created_per_second': ['value >= 22'], 'cmhandles_deleted_per_second': ['value >= 22'], - 'http_req_failed{scenario:passthrough_read}': ['rate == 0'], 'http_reqs{scenario:passthrough_write}': ['rate >= 13'], + 'http_reqs{scenario:passthrough_read}': ['rate >= 25'], 'http_req_failed{scenario:id_search_module}': ['rate == 0'], 'http_req_failed{scenario:cm_search_module}': ['rate == 0'], - 'http_req_duration{scenario:passthrough_read}': ['avg <= 2600'], // DMI delay + 100 ms 'http_req_duration{scenario:id_search_module}': ['avg <= 625'], 'http_req_duration{scenario:cm_search_module}': ['avg <= 13000'], }, |