The Artillery extension for VS Code adds IntelliSense with autocomplete and validation for Artillery test scripts, inline documentation, and the ability to run a load test directly from VS Code.
Install the extension from Visual Studio Marketplace.
Write scripts faster and avoid mistakes with autocomplete for Artillery test scripts.
Press Control+Space to show all available autocomplete options.
Hover over configuration options in your script to get a short description and a link to extended documentation for it.
Click ▶ Run locally at the top of the file to run the test script. This opens a new terminal inside VS Code and executes artillery run
on the current script.
You can also open the Command Palette with Control+Shift+P (or Command+Shift+P
on MacOS) and choose Run load test locally command.
Note
This command executes artillery run
on the script with no other arguments. If you need to use additional command-line flags, you will need to run artillery
directly from a terminal.
- Default:
[]
A list of absolute file URIs or glob patterns to always treat as Artillery test scripts.
{
"artillery.include": ["file:///User/john/Projects/acme/load-tests/**/*.yml"]
}
- Default:
[]
A list of absolute file URIs or glob patterns to ignore. The extension will not activate for the ignored files.
{
"artillery.exclude": ["**/*.conf.yml"]
}