-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.yml
56 lines (44 loc) · 1.33 KB
/
config.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# CUSTOM VALIDATOR
validator: /path/to/opencga_validator.py
# SUITE DIRECTORY
suiteDir: /path/to/suites_opencga
# SELECTED SUITES FOR TESTING
suites:
- validation-cohort
# INPUT/OUTPUT DIRECTORIES
inputDir: /path/to/input_data
outputDir: /path/to/output_data
# GLOBAL VARIABLES
variables:
varName: varValue
# BASE URL
baseUrl: https://example.com/webservices/rest/v2
# AUTHENTICATION INFO
authentication:
# token: ssasasdsadsadasd.sdasd.asdasd
# token: env(OPENCGA_TOKEN)
token: login(responses[0].results[0].token)
url: https://example.com/webservices/rest/v2/users/login
headers:
Accept-Encoding: gzip
method: POST
bodyParams: {"user": "USER", "password": "PASS"}
# DEFAULT PARAMETERS
#headers:
# Accept-Encoding: gzip
#queryParams:
# limit: 10
# count: False
# TEST SELECTION
#tests:
# ignore_async: false
# ignore_method: ["POST"]
# ignore_tag: ["SLOW"]
# VALIDATION PARAMETERS
validation:
timeDeviation: 5 # +/- seconds allowed to deviate from expected time
asyncRetryTime: 60 # retry time for checking asynchronous jobs
ignoreTime: false # ignore validation of response time
ignoreHeaders: [] # ignore validation of header parameters (e.g. ["Content-Type"])
ignoreResults: [] # ignore validation of particular methods (e.g. ["match", "list_contains"])
failOnFirst: False # stop validation in first FAIL