summaryrefslogtreecommitdiffstats
path: root/k6-tests/ncmp/config/endurance.json
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2024-11-19 11:10:32 +0000
committerhalil.cakal <halil.cakal@est.tech>2024-11-22 11:00:58 +0000
commitfd5b04c51451cb0525d7ed93b1bb9b53573f6aaa (patch)
tree4d22141c2e229dbdc98f3b4c82e2db6d7ec77555 /k6-tests/ncmp/config/endurance.json
parentd378e7b4321bf940424079440461eb0b874ad096 (diff)
Define new Suite (js): Endurance
- have one ncmp-test-runner.js with different configs: kpi.json and endurance.json - move scenarios and thresholds settings into the json configs Issue-ID: CPS-2444 Change-Id: I72f65036dc3f7762284b32903e1d05474dbed6c2 Signed-off-by: halil.cakal <halil.cakal@est.tech>
Diffstat (limited to 'k6-tests/ncmp/config/endurance.json')
-rw-r--r--k6-tests/ncmp/config/endurance.json98
1 files changed, 93 insertions, 5 deletions
diff --git a/k6-tests/ncmp/config/endurance.json b/k6-tests/ncmp/config/endurance.json
index c9def6ce39..d215d0a1e1 100644
--- a/k6-tests/ncmp/config/endurance.json
+++ b/k6-tests/ncmp/config/endurance.json
@@ -4,10 +4,98 @@
"dmiStubUrl": "http://ncmp-dmi-plugin-demo-and-csit-stub:8092",
"kafkaBootstrapServer": "localhost:9093"
},
- "timingConfig": {
- "testDuration": "2h"
- },
- "kafka": {
- "legacyBatchTopic": "legacy_batch_topic"
+ "scenarios": {
+ "passthrough_read_scenario": {
+ "executor": "constant-vus",
+ "exec": "passthroughReadScenario",
+ "vus": 2,
+ "duration": "2h"
+ },
+ "passthrough_read_alt_id_scenario": {
+ "executor": "constant-vus",
+ "exec": "passthroughReadAltIdScenario",
+ "vus": 2,
+ "duration": "2h"
+ },
+ "passthrough_write_scenario": {
+ "executor": "constant-vus",
+ "exec": "passthroughWriteScenario",
+ "vus": 2,
+ "duration": "2h"
+ },
+ "passthrough_write_alt_id_scenario": {
+ "executor": "constant-vus",
+ "exec": "passthroughWriteAltIdScenario",
+ "vus": 2,
+ "duration": "2h"
+ },
+ "cm_handle_id_search_nofilter_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleIdSearchNoFilterScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_search_nofilter_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleSearchNoFilterScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_id_search_module_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleIdSearchModuleScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_search_module_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleSearchModuleScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_id_search_property_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleIdSearchPropertyScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_search_property_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleSearchPropertyScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_id_search_cpspath_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleIdSearchCpsPathScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_search_cpspath_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleSearchCpsPathScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_id_search_trustlevel_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleIdSearchTrustLevelScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "cm_handle_search_trustlevel_scenario": {
+ "executor": "constant-vus",
+ "exec": "cmHandleSearchTrustLevelScenario",
+ "vus": 1,
+ "duration": "2h"
+ },
+ "legacy_batch_produce_scenario": {
+ "executor": "constant-arrival-rate",
+ "exec": "legacyBatchProduceScenario",
+ "duration": "2h",
+ "rate": 1,
+ "timeUnit": "1s",
+ "preAllocatedVUs": 1
+ }
}
}