From 6f1c45ea2b7193ffb9d89c778d54fee304499bf8 Mon Sep 17 00:00:00 2001 From: morganrOL Date: Thu, 9 Apr 2015 15:47:15 +0200 Subject: Add Rally based bench scenario for OPNFV Add md document to explain how to install Rally and run test manually towards OPNFV solution JIRA:FUNCTEST-1 Change-Id: I8ea1b8907b339ae77b6726ec94b1ff0553cbb1cd Signed-off-by: morganrOL --- testcases/VIM/OpenStack/CI/suites/opnfv-heat.json | 238 ++++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 testcases/VIM/OpenStack/CI/suites/opnfv-heat.json (limited to 'testcases/VIM/OpenStack/CI/suites/opnfv-heat.json') diff --git a/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json b/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json new file mode 100644 index 000000000..2fbb70fba --- /dev/null +++ b/testcases/VIM/OpenStack/CI/suites/opnfv-heat.json @@ -0,0 +1,238 @@ +{ + "HeatStacks.create_and_delete_stack": [ + { + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_and_delete_stack": [ + { + "args": { + "template_path": "templates/server_with_ports.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_and_delete_stack": [ + { + "args": { + "template_path": "templates/server_with_volume.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_and_list_stack": [ + { + "runner": { + "type": "constant", + "times": 10, + "concurrency": 1 + }, + "context": { + "users": { + "tenants": 1, + "users_per_tenant": 1 + } + } + } + ], + "HeatStacks.create_check_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_suspend_resume_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 3, + "users_per_tenant": 2 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template", + "updated_template_path": "templates/updated_random_strings_add.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template", + "updated_template_path": "templates/updated_random_strings_delete.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/resource_group.yaml.template", + "updated_template_path": "templates/updated_resource_group_increase.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/autoscaling_policy.yaml.template", + "updated_template_path": "templates/updated_autoscaling_policy_inplace.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/resource_group.yaml.template", + "updated_template_path": "templates/updated_resource_group_reduce.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.create_update_delete_stack": [ + { + "args": { + "template_path": "templates/random_strings.yaml.template", + "updated_template_path": "templates/updated_random_strings_replace.yaml.template" + }, + "runner": { + "type": "constant", + "times": 10, + "concurrency": 2 + }, + "context": { + "users": { + "tenants": 2, + "users_per_tenant": 3 + } + } + } + ], + "HeatStacks.list_stacks_and_resources": [ + { + "runner": { + "type": "constant", + "times": 10, + "concurrency": 1 + }, + "context": { + "users": { + "tenants": 1, + "users_per_tenant": 1 + }, + "stacks": { + "stacks_per_tenant": 2, + "resources_per_stack": 10 + } + } + } + ] +} + -- cgit 1.2.3-korg