Skip to content

Latest commit

 

History

History
58 lines (34 loc) · 1.87 KB

README.md

File metadata and controls

58 lines (34 loc) · 1.87 KB

Artillery for VS Code

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.

Installation

Install the extension from Visual Studio Marketplace.

Features

Autocomplete

Write scripts faster and avoid mistakes with autocomplete for Artillery test scripts.

Press Control+Space to show all available autocomplete options.

Test script IntelliSense

Inline documentation

Hover over configuration options in your script to get a short description and a link to extended documentation for it.

Inline tooltips for existing properties

Run test from VS Code

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.

Configuration

include: Array<string>

  • 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"]
}

exclude: Array<string>

  • 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"]
}