summaryrefslogtreecommitdiff
path: root/qa/load/artillery.yml
blob: 17d253ec480951139152c357eb4c9c506128ae89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 }}"