diff --git a/rally-jobs/rally.yaml b/rally-jobs/rally.yaml index 0abfce85..20a18244 100644 --- a/rally-jobs/rally.yaml +++ b/rally-jobs/rally.yaml @@ -672,6 +672,26 @@ action_3: 4.0 action_4: 5.0 + dummy.failure: + - + args: + sleep: 0.2 + from_iteration: 5 + to_iteration: 15 + each: 2 + runner: + type: "constant" + times: 20 + concurrency: 5 + context: + users: + tenants: 1 + users_per_tenant: 1 + sla: + failure_rate: + min: 25 + max: 25 + FakePlugin.testplugin: - runner: diff --git a/samples/tasks/scenarios/dummy/dummy-failure.json b/samples/tasks/scenarios/dummy/dummy-failure.json new file mode 100644 index 00000000..78f8ec38 --- /dev/null +++ b/samples/tasks/scenarios/dummy/dummy-failure.json @@ -0,0 +1,23 @@ +{ + "dummy.failure": [ + { + "args": { + "sleep": 0.2, + "from_iteration": 5, + "to_iteration": 10, + "each": 2 + }, + "runner": { + "type": "constant", + "times": 20, + "concurrency": 5 + }, + "context": { + "users": { + "tenants": 1, + "users_per_tenant": 1 + } + } + } + ] +} diff --git a/samples/tasks/scenarios/dummy/dummy-failure.yaml b/samples/tasks/scenarios/dummy/dummy-failure.yaml new file mode 100644 index 00000000..e22a66a8 --- /dev/null +++ b/samples/tasks/scenarios/dummy/dummy-failure.yaml @@ -0,0 +1,16 @@ +--- + dummy.failure: + - + args: + sleep: 0.2 + from_iteration: 5 + to_iteration: 10 + each: 2 + runner: + type: "constant" + times: 20 + concurrency: 5 + context: + users: + tenants: 1 + users_per_tenant: 1