diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-03-15 11:52:39 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-03-15 11:52:39 +0500 |
commit | e73f8713812b912b3b0244e99b6a18b9422a2d4d (patch) | |
tree | de67e0ab7931961752caeccef78f393365391f81 /qa/load | |
parent | 82c0816d3fdd96412605845fa337b74b6a3534c4 (diff) | |
download | gitlab-ce-qa-artillery-io-script.tar.gz |
Add Load testing script for artillery.ioqa-artillery-io-script
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 }}" |