rally-openstack/samples/tasks/scenarios/dummy/dummy-random-action.yaml
Andrey Kurilin 91ef588096 Validate scenario arguments
We have a lot of validators for scenarios, but we do not check input
arguments. There are two cases:
1) user forget specify some argument;
2) user specify redundant argument

In both cases, we will get "TypeError" for each iteration.

This validator is not implemented like others, since it doesn't need
constructed clients and it looks like more syntax check.

Also, this patch fixes one of our samples:
    samples/tasks/scenarios/dummy/dummy-random-action.[json/yaml]

Change-Id: Id3aad571dfc93f8074c724595440979cfd435e2c
2016-07-13 17:23:11 +03:00

16 lines
276 B
YAML

---
Dummy.dummy_random_action:
-
args:
actions_num: 5
sleep_min: 0
sleep_max: 2
runner:
type: "constant"
times: 5
concurrency: 5
context:
users:
tenants: 1
users_per_tenant: 1