You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands for interacting with API Testing project vaults.
101
-
102
-
#### Get Vault
103
-
104
-
It prints the vault content as json to the standard output stream (stdout). Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
105
-
106
-
```bash
107
-
saucectl apit vault get [--project "project_name"] [flags]
108
-
```
109
-
110
-
Check the list of [Global Flags](#global-flags) you can use.
111
-
112
-
---
113
-
114
-
#### Get Variable
115
-
116
-
Get a variable value from a project's vault. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Check the list of [Global Flags](#global-flags) you can use.
123
-
124
-
---
125
-
126
-
#### Set Variable
127
-
128
-
Set/update a variable in a project's vault. If a `variable_name` is already in the vault, it is updated with the new one; otherwise, it adds a new variable. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Check the list of [Global Flags](#global-flags) you can use.
147
-
148
-
---
149
-
150
-
#### Set Snippet
151
-
152
-
Set/update a snippet in a project's vault. If a `snippet_name` is already in the vault, it is updated with the new one; otherwise, it adds a new snippet. You can set a snippet's value by providing a path to a file defining the snippet or using "-" to read from the standard input stream (stdin). Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
153
-
154
-
```bash
155
-
saucectl apit vault set-snippet "variable_name" FILE_NAME [--project "project_name"] [flags] # from a file
Check the list of [Global Flags](#global-flags) you can use.
165
-
166
-
---
167
-
168
-
#### List Files
169
-
170
-
<p><spanclassName="sauceGreen">From version 0.147.0</span></p>
171
-
172
-
Get a list of files from a project's vault drive. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Check the list of [Global Flags](#global-flags) you can use.
179
-
180
-
---
181
-
182
-
#### Upload File
183
-
184
-
<p><spanclassName="sauceGreen">From version 0.147.0</span></p>
185
-
186
-
Upload a file in a project's vault drive. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Check the list of [Global Flags](#global-flags) you can use.
193
-
194
-
---
195
-
196
-
#### Download File
197
-
198
-
<p><spanclassName="sauceGreen">From version 0.147.0</span></p>
199
-
200
-
Download a file from a project's vault drive. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Check the list of [Global Flags](#global-flags) you can use.
207
-
208
-
---
209
-
210
-
#### Delete File
211
-
212
-
<p><spanclassName="sauceGreen">From version 0.147.0</span></p>
213
-
214
-
Delete a file in a project's vault drive. Use `--project` to specify the project by its name or run without `--project` to choose from a list of projects.
Use the `run` command to execute the tests. The console displays the executing tests, distinguishing which mode is running. The results are available immediately following test completion in your [Sauce Labs account](https://app.saucelabs.com/api-testing/).
@@ -240,3 +104,55 @@ saucectl run
240
104
```
241
105
242
106
You can refer to the [Command Reference](/dev/cli/saucectl/run/) for the complete list of options for the `run` command and [saucectl YAML Configuration](/api-testing/integrations/yaml) for more configuration options.
0 commit comments