summaryrefslogtreecommitdiff
path: root/qa/load
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-03-26 08:25:36 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-03-26 08:25:36 +0500
commited7e36628f077a5e90060f09320d679a0879268f (patch)
tree273b1826570c11e0fc098b49cba2e3617c314a44 /qa/load
parent5765c5989a23e6db0f54440bc9bbdb37f5eb3677 (diff)
downloadgitlab-ce-ed7e36628f077a5e90060f09320d679a0879268f.tar.gz
Fix url property format and use conn. pool
Also update arrivalRate to a max of 100
Diffstat (limited to 'qa/load')
-rw-r--r--qa/load/artillery.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/qa/load/artillery.yml b/qa/load/artillery.yml
index e2c3c293d8b..17d253ec480 100644
--- a/qa/load/artillery.yml
+++ b/qa/load/artillery.yml
@@ -1,15 +1,18 @@
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: 60
- arrivalRate: 1
+ - duration: 30
+ arrivalRate: 10
name: "Warm up"
- - duration: 120
- arrivalRate: 1
- rampTo: 50
+ - duration: 90
+ arrivalRate: 10
+ rampTo: 100
name: "Gradual ramp up"
- - duration: 60
- arrivalRate: 50
+ - duration: 90
+ arrivalRate: 100
name: "Sustained max load"
scenarios:
- name: "Visit large issue url"