-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings-schema.json
134 lines (134 loc) · 5.21 KB
/
settings-schema.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"timeoutCollection": {
"doc": "Newman timeout - Specify the time (in milliseconds) to wait for the entire collection run to complete execution.",
"format": "nat-not-zero",
"default": 3600000,
"arg": "timeoutCollection"
},
"timeoutRequest": {
"doc": "Newman timeoutRequest - Specify the time (in milliseconds) to wait for requests to return a response.",
"format": "nat-not-zero",
"default": 600000,
"arg": "timeoutRequest"
},
"timeoutScript": {
"doc": "Newman timeoutScript - Specify the time (in milliseconds) to wait for scripts to complete execution.",
"format": "nat-not-zero",
"default": 600000,
"arg": "timeoutScript"
},
"generateJUnitResults": {
"doc": "Generate JUnit results reporter (provided by Postman's Newman).",
"format": "boolean",
"default": false,
"arg": "generateJUnitResults"
},
"autoOpenTestResultHtml": {
"doc": "Auto open test result in web browser after a run.",
"format": "boolean",
"default": false,
"arg": "autoOpenTestResultHtml"
},
"testResultsBasePath": {
"doc": "If not specified, the default is the same path to your local settings.json.",
"format": "string",
"default": "",
"arg": "testResultsBasePath"
},
"uploadTestResultsToWebserver": {
"doc": "Upload html test results to web server (for CI).",
"format": "boolean",
"default": false,
"arg": "uploadTestResultsToWebserver"
},
"numberOfDaysToKeepTestResultsOnWebserver": {
"doc": "Upload html test results to web server (for CI).",
"format": "nat",
"default": 30,
"arg": "numberOfDaysToKeepTestResultsOnWebserver"
},
"sendSummaryResultsToSlack": {
"doc": "Send summary test results to slack (for CI).",
"format": "boolean",
"default": false,
"arg": "sendSummaryResultsToSlack"
},
"slackIconTestsPass": {
"doc": "Slack icon to use when all tests pass.",
"format": "non-empty-no-spaces-string",
"default": ":pass:",
"arg": "slackIconTestsPass"
},
"slackIconTestsFail": {
"doc": "Slack icon to use when one or more tests fail.",
"format": "non-empty-no-spaces-string",
"default": ":fail:",
"arg": "slackIconTestsFail"
},
"slackChannel": {
"doc": "Slack channel to use.",
"format": "string",
"default": "",
"arg": "slackChannel"
},
"slackHardAlertOnSuccess": {
"doc": "Send a hard alert to slack channel (to get notified) on success.",
"format": "boolean",
"default": false,
"arg": "slackHardAlertOnSuccess"
},
"slackHardAlertOnFailure": {
"doc": "Send a hard alert to slack channel (to get notified) on failure.",
"format": "boolean",
"default": false,
"arg": "slackHardAlertOnFailure"
},
"slackToken": {
"doc": "Slack bot token (begins with 'xoxb'). See here for more info on how to create: https://api.slack.com/authentication/basics",
"format": "string",
"default": "",
"arg": "slackToken"
},
"limitConcurrency": {
"doc": "The maximum number of test cases you want to allow running concurrently/parallel.",
"format": "nat-not-zero",
"default": 1,
"arg": "limitConcurrency"
},
"projectName": {
"doc": "The name of the project you are running tests against (used in reports, slack, etc.).",
"format": "non-empty-no-spaces-string",
"default": null,
"arg": "projectName"
},
"environmentType": {
"doc": "The environment you want to run your tests against. (e.g. specifies which <xRunProjectPath>/xrun/<environmentType>.bulk file to use.)",
"format": "non-empty-no-spaces-string",
"default": null,
"arg": "environmentType"
},
"xRunProjectPath": {
"doc": "The local xRun project path. (i.e. the local absolute path location of Postman tests in xRun project format.)",
"format": "non-empty-string",
"default": null,
"arg": "xRunProjectPath"
},
"xRunProjectDirectoryName": {
"doc": "The name of the directory within xRunProjectPath used to store files used by xrun (e.g. <environmentType>.bulk, exclude-tests.json, etc.)",
"format": "non-empty-string",
"default": "xrun",
"arg": "xRunProjectDirectoryName"
},
"ignoreRedirects": {
"doc": "Instructs Postman to ignore redirects.",
"format": "boolean",
"default": true,
"arg": "ignoreRedirects"
},
"trustedCaCertDirectoryPath": {
"doc": "Directory path location to a single PEM formatted certificate file containing one or more trusted CAs. If an absolute directory path is provided that will be used, otherwise if just a directory name is provided, it will look for that directory from within the configured xRunProjectDirectoryName (e.g. <xRunProjectPath>/xrun/trustedCaCert ). Note: 1. The file name must not be included in the directory path. 2. Only one single pem file must exist in the directory (multiple CAs can be put in the single file). 3. The file must include a .pem file extension to be found.",
"format": "non-empty-string",
"default": "trustedCaCert",
"arg": "trustedCaCertDirectoryPath"
}
}