50fa2eb653
For the moment all users for tasks are taken randomly and there is no way to balance them between tasks. It may be very useful when we have difference between first usage of tenant/user and all consecutive. In this case we get different load results. Therefore, add enum config option 'user_choice_method' to 'users' context that defines approach for picking up users. Two values are available: - random - round_robin Default one is compatible with old approach - "random". Also, update one of scenarios to use "round_robin" approach to make sure it works. Change-Id: I26fb090eb89c22f5d50529cb73b6ed54fc3d7e15
135 lines
2.7 KiB
YAML
135 lines
2.7 KiB
YAML
---
|
|
Dummy.dummy:
|
|
-
|
|
runner:
|
|
type: "constant"
|
|
times: 1
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
manila:
|
|
shares: -1
|
|
gigabytes: -1
|
|
snapshots: -1
|
|
snapshot_gigabytes: -1
|
|
share_networks: -1
|
|
|
|
ManilaShares.list_shares:
|
|
-
|
|
args:
|
|
detailed: True
|
|
runner:
|
|
type: "constant"
|
|
times: 12
|
|
concurrency: 1
|
|
context:
|
|
users:
|
|
tenants: 3
|
|
users_per_tenant: 4
|
|
user_choice_method: "round_robin"
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
ManilaShares.create_share_network_and_delete:
|
|
-
|
|
args:
|
|
name: "rally"
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
quotas:
|
|
manila:
|
|
share_networks: -1
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
ManilaShares.create_share_network_and_list:
|
|
-
|
|
args:
|
|
name: "rally"
|
|
detailed: True
|
|
search_opts:
|
|
name: "rally"
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
quotas:
|
|
manila:
|
|
share_networks: -1
|
|
users:
|
|
tenants: 2
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
ManilaShares.list_share_servers:
|
|
-
|
|
args:
|
|
search_opts: {}
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
|
|
ManilaShares.create_security_service_and_delete:
|
|
{% for s in ("ldap", "kerberos", "active_directory") %}
|
|
-
|
|
args:
|
|
security_service_type: {{s}}
|
|
dns_ip: "fake_dns_ip"
|
|
server: "fake-server"
|
|
domain: "fake_domain"
|
|
user: "fake_user"
|
|
password: "fake_password"
|
|
name: "fake_name"
|
|
description: "fake_description"
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
{% endfor %}
|
|
|
|
ManilaShares.attach_security_service_to_share_network:
|
|
{% for s in ("ldap", "kerberos", "active_directory") %}
|
|
-
|
|
args:
|
|
security_service_type: {{s}}
|
|
runner:
|
|
type: "constant"
|
|
times: 10
|
|
concurrency: 10
|
|
context:
|
|
users:
|
|
tenants: 1
|
|
users_per_tenant: 1
|
|
quotas:
|
|
manila:
|
|
share_networks: -1
|
|
sla:
|
|
failure_rate:
|
|
max: 0
|
|
{% endfor %}
|