diff options
Diffstat (limited to 'qa/load/artillery.yml')
-rw-r--r-- | qa/load/artillery.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/qa/load/artillery.yml b/qa/load/artillery.yml new file mode 100644 index 00000000000..17d253ec480 --- /dev/null +++ b/qa/load/artillery.yml @@ -0,0 +1,25 @@ +config: + target: "{{ $processEnvironment.HOST_URL }}" + http: + pool: 10 # All HTTP requests from all virtual users will be sent over the same <pool> connections. + # This also means that there is a limit on the number of requests sent per second. + phases: + - duration: 30 + arrivalRate: 10 + name: "Warm up" + - duration: 90 + arrivalRate: 10 + rampTo: 100 + name: "Gradual ramp up" + - duration: 90 + arrivalRate: 100 + name: "Sustained max load" +scenarios: + - name: "Visit large issue url" + flow: + - get: + url: "{{ $processEnvironment.LARGE_ISSUE_URL }}" + - name: "Visit large MR url" + flow: + - get: + url: "{{ $processEnvironment.LARGE_MR_URL }}" |