gitlab-org--gitlab-foss/qa/load/artillery.yml
Sanad Liaquat f9832a08c5 Add load testing script for artillery.io
Also add rake tasks that makes use of existing performance data
genertion task.
2019-03-19 05:09:30 +00:00

22 lines
526 B
YAML

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 }}"