From dcea8267bd1a8c4caab9e671be86add49930e909 Mon Sep 17 00:00:00 2001 From: Roman Vasilets Date: Tue, 6 Jan 2015 17:08:06 +0200 Subject: [PATCH] Add murano benchmarks Scenarios: * list-environment * create_and_delete_environment Add murano environment to cleanup resources Add unit tests for scenarios blueprint: Important-for-next-release Co-Authored-By: Roman Vasilets Co-Authored-By: Sergey Murashov Change-Id: Id6888325e77eada2f51ad0bf8af80415c2c8d487 --- rally-jobs/rally-murano.yaml | 28 +++++++++++++++++++ .../scenarios/murano/list-environments.json | 17 +++++++++++ .../scenarios/murano/list-environments.yaml | 11 ++++++++ 3 files changed, 56 insertions(+) create mode 100644 rally-jobs/rally-murano.yaml create mode 100644 samples/tasks/scenarios/murano/list-environments.json create mode 100644 samples/tasks/scenarios/murano/list-environments.yaml diff --git a/rally-jobs/rally-murano.yaml b/rally-jobs/rally-murano.yaml new file mode 100644 index 00000000..3d77f234 --- /dev/null +++ b/rally-jobs/rally-murano.yaml @@ -0,0 +1,28 @@ +--- + MuranoEnvironments.list_environments: + - + runner: + type: "constant" + times: 30 + concurrency: 4 + context: + users: + tenants: 2 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 + + MuranoEnvironments.create_and_delete_environment: + - + runner: + type: "constant" + times: 20 + concurrency: 2 + context: + users: + tenants: 2 + users_per_tenant: 2 + sla: + failure_rate: + max: 0 diff --git a/samples/tasks/scenarios/murano/list-environments.json b/samples/tasks/scenarios/murano/list-environments.json new file mode 100644 index 00000000..551c7f06 --- /dev/null +++ b/samples/tasks/scenarios/murano/list-environments.json @@ -0,0 +1,17 @@ +{ + "MuranoEnvironments.list_environments": [ + { + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 2 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/murano/list-environments.yaml b/samples/tasks/scenarios/murano/list-environments.yaml new file mode 100644 index 00000000..d914ee19 --- /dev/null +++ b/samples/tasks/scenarios/murano/list-environments.yaml @@ -0,0 +1,11 @@ +--- + MuranoEnvironments.list_environments: + - + runner: + type: "constant" + times: 10 + concurrency: 2 + context: + users: + tenants: 2 + users_per_tenant: 2