Skip to content

Commit

Permalink
One-off load test
Browse files Browse the repository at this point in the history
  • Loading branch information
wildjames committed Oct 9, 2024
1 parent 3de5fef commit fb96461
Showing 1 changed file with 46 additions and 9 deletions.
55 changes: 46 additions & 9 deletions artillery/psu_load_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,52 @@ config:
expect: {}
apdex: {}
phases:
- name: ramp up phase
duration: "{{ $env.rampUpDuration }}"
arrivalRate: 1
rampTo: "{{ $env.arrivalRate }}"
maxVusers: "{{ $env.maxVusers }}"
- name: run phase
duration: "{{ $env.duration }}"
arrivalRate: "{{ $env.arrivalRate }}"
maxVusers: "{{ $env.maxVusers }}"
- name: ramp up phase 1
duration: 900 # 15 minutes
arrivalRate: 0
rampTo: 100
maxVusers: 100
- name: hold phase 1
duration: 900
arrivalRate: 100
maxVusers: 100
- name: ramp up phase 2
duration: 900
arrivalRate: 100
rampTo: 200
maxVusers: 200
- name: hold phase 2
duration: 900
arrivalRate: 200
maxVusers: 200
- name: ramp up phase 3
duration: 900
arrivalRate: 200
rampTo: 300
maxVusers: 300
- name: hold phase 3
duration: 900
arrivalRate: 300
maxVusers: 300
- name: ramp up phase 4
duration: 900
arrivalRate: 300
rampTo: 400
maxVusers: 400
- name: hold phase 4
duration: 900
arrivalRate: 400
maxVusers: 400
- name: ramp up phase 5
duration: 900
arrivalRate: 400
rampTo: 500
maxVusers: 500
- name: hold phase 5
duration: 900
arrivalRate: 500
maxVusers: 500

environments:
dev:
target: https://internal-dev.api.service.nhs.uk/
Expand Down

0 comments on commit fb96461

Please sign in to comment.