-
Notifications
You must be signed in to change notification settings - Fork 2
/
search.yml
30 lines (30 loc) · 1005 Bytes
/
search.yml
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
26
27
28
29
30
config:
target: "https://search-api.stage.hubmapconsortium.org"
phases:
- duration: 5 # seconds
arrivalRate: "{{ $processEnvironment.RATE }}" # scenarios started per second
processor: "./helper.js"
scenarios:
- flow:
- post:
url: "/portal/search"
headers:
"Content-Type": application/json
body: "{{ $processEnvironment.DATA_TYPES_QUERY }}"
gzip: true
afterResponse: "printStatus"
- post:
url: "/portal/search"
headers:
"Content-Type": application/json
body: "{{ $processEnvironment.ENTITY_TYPES_QUERY }}"
gzip: true
afterResponse: "printStatus"
- post:
url: "/portal/search"
headers:
"Content-Type": application/json
"Authorization": "Bearer {{ $processEnvironment.GROUPS_TOKEN }}"
body: "{{ $processEnvironment.DATASETS_QUERY }}"
gzip: true
afterResponse: "printStatus"