Blog

Thoughts, guides and updates from us over at Artillery

announcement
Friday, October 13, 2023

Introducing the Artillery VS Code Extension

Today, we're announcing the launch of a VS Code extension for Artillery designed to make it easier to write test scripts with features like context-aware autocomplete and inline documentation.

You can install the extension from the VS Code Marketplace, or directly from VS Code by searching for "Artillery" in the Extensions tab.

Autocomplete

Press Control+Space to see context-aware autocomplete suggestions, providing you with all available options at any point in your test script. This speeds up the process of writing new tests and reduces the chances of errors.

Test script IntelliSense

Inline documentation

Hover over any part or property of an Artillery test script to get short descriptions, examples, and links to the documentation to learn more.

Inline tooltips for existing properties

Run tests

The extension also supports executing your tests locally with artillery run. This feature is designed for debugging simple test runs, removing the need to toggle between your terminal and editor.

Not a VS Code user?

Artillery for VS Code is powered by a JSON schema definition under the hood. Many editors and IDEs support using a JSON schema definition to provide autocomplete for YAML files, for example:

You can find the JSON schema at https://www.artillery.io/schema.json.

Feedback

We hope this extension makes your life easier. We'd love to hear your feedback on how we can improve it. Please open an issue on GitHub at https://github.com/artilleryio/vscode-artillery/issues