From fb96461ff0b633c35fdeff3a2b3ab3ef8cc432cb Mon Sep 17 00:00:00 2001 From: Jim Wild Date: Wed, 9 Oct 2024 09:02:42 +0000 Subject: [PATCH] One-off load test --- artillery/psu_load_test.yml | 55 +++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 9 deletions(-) diff --git a/artillery/psu_load_test.yml b/artillery/psu_load_test.yml index c91afa0..2b7fbed 100644 --- a/artillery/psu_load_test.yml +++ b/artillery/psu_load_test.yml @@ -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/