-
Notifications
You must be signed in to change notification settings - Fork 109
/
iterations.yml
31 lines (25 loc) · 751 Bytes
/
iterations.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Example of a test plan with 5 iterations and 4 requests each.
# A plan with 50 requests in total at 3 iterations at the same time.
# This is an example of how to interpolate the iteration number.
---
base: 'http://localhost:9000'
iterations: 5
concurrency: 3
plan:
- name: "Fetch 1 - Iteration: {{ iteration }}"
request:
url: /api/users.json
- name: "Fetch 2 - Iteration: {{ iteration }}"
request:
url: /api/organizations
- name: "Fetch 3 - Iteration: {{ iteration }}"
request:
url: /api/account
assign: foo
- name: Assert values
assert:
key: foo.body.manager_id
value: "73"
- name: "Fetch 4 - Iteration: {{ iteration }}"
request:
url: /api/users/{{ foo.body.manager_id }}