diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-03-19 05:09:30 +0000 |
---|---|---|
committer | Ramya Authappan <rauthappan@gitlab.com> | 2019-03-19 05:09:30 +0000 |
commit | f9832a08c513853ab10dd86adc9c7dd596e30da0 (patch) | |
tree | 1651cbd87f77b947f3042a0d71fc80c7b0c1f69b /qa/load | |
parent | 3c5a81cb83e6022530e53b1b6cdedf94c92d980e (diff) | |
download | gitlab-ce-f9832a08c513853ab10dd86adc9c7dd596e30da0.tar.gz |
Add load testing script for artillery.io
Also add rake tasks that makes use of existing performance data
genertion task.
Diffstat (limited to 'qa/load')
-rw-r--r-- | qa/load/artillery.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/qa/load/artillery.yml b/qa/load/artillery.yml new file mode 100644 index 00000000000..e2c3c293d8b --- /dev/null +++ b/qa/load/artillery.yml @@ -0,0 +1,22 @@ +config: + target: "{{ $processEnvironment.HOST_URL }}" + phases: + - duration: 60 + arrivalRate: 1 + name: "Warm up" + - duration: 120 + arrivalRate: 1 + rampTo: 50 + name: "Gradual ramp up" + - duration: 60 + arrivalRate: 50 + 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 }}" |