Skip to content

Commit b0809f7

Browse files
committed
loop has to be an array
1 parent 6e8adc9 commit b0809f7

1 file changed

Lines changed: 12 additions & 14 deletions

File tree

artillery/notify_load_test.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,15 @@ scenarios:
3535

3636
# for each prescription (number of prescriptions is variable)
3737
- loop:
38-
count: "{{ prescriptionCount }}"
39-
steps:
40-
- beforeRequest: generatePrescData
41-
42-
- post:
43-
url: "/prescription-status-update/"
44-
headers:
45-
x-request-id: "{{ x_request_id }}"
46-
x-correlation-id: "{{ x_correlation_id }}"
47-
expect:
48-
- statusCode: 201
49-
50-
# wait before next prescription
51-
- think: "{{ nextDelay }}"
38+
- count: "{{ prescriptionCount }}"
39+
steps:
40+
- beforeRequest: generatePrescData
41+
- post:
42+
url: "/prescription-status-update/"
43+
headers:
44+
x-request-id: "{{ x_request_id }}"
45+
x-correlation-id: "{{ x_correlation_id }}"
46+
expect:
47+
- statusCode: 201
48+
# wait before next prescription
49+
- think: "{{ nextDelay }}"

0 commit comments

Comments
 (0)