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.
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.
Hover over any part or property of an Artillery test script to get short descriptions, examples, and links to the documentation to learn more.
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.
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.
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