Easily create Locust test scripts with GitHub Copilot, iterate locally, then scale in Azure.
There's a better way than writing load test scripts by hand. The new Azure Load Testing extension for Visual Studio Code (Preview), now integrated with GitHub Copilot, automatically generates realistic, Locust-based load tests. It seamlessly handles authentication, API request sequencing, response validation, and test data—helping you save time and ensure realistic performance testing.
With this AI-driven tool, you can:
- Instantly generate Locust test scripts from Postman collections, Insomnia collections, or .http files.
- Easily enhance tests with GitHub Copilot, like adding random data or dynamic user flows.
- Quickly iterate by running tests locally before scaling up.
- Easily execute large-scale tests in Azure Load Testing to uncover performance bottlenecks.
Spend less time wrestling with test scripts and more time optimizing your app's scalability.
Instantly generate Locust test scripts from Postman collections, Insomnia collections. or .http filesKey Features
🔹 AI-Generated Locust Scripts in Seconds
Skip manual script creation. In just a few clicks, provide a Postman collection, Insomnia collection, or .http file to generate a complete load test script. Copilot then:
- Sequences API requests, passing values from one request to the next to simulate real workflows
- Integrates authentication and headers without hardcoding credentials
- Validates requests and handles errors gracefully with validations and logs
- Aggregates response metrics for detailed success and failure rates.
- Cleans up test data when the test finishes
- Produces reusable scripts you can refine locally and scale to Azure Load Testing
🔹 Refine with AI-Powered Customization
Need to adjust your test script? Jusk ask:
💬 "Randomize request payloads"
💬 "Use data from a CSV file for username/password"
💬 "Retry requests for HTTP errors"
💬 "Define a custom load test shape for simulating spikes"
Copilot suggest the changes, and you can apply them with a single click—no need to manually edit the script.
Use GitHub Copilot to customize the generated script🔹 Run Tests Locally for Fast Iteration
Quickly validate your Locust script in VS Code before scaling:
- Run Locust locally right from within VS Code
- Monitor performance and errors in real time in the Locust web UI
- Fine-tune and troubleshoot quickly
By iterating locally, you ensure your tests work correctly before moving to large-scale testing.
Run your Locust script within VS Code to quickly validate your Locust script in VS Code🔹 Scale with One Click in Azure Load Testing
Ready for bigger tests? Move your scripts to Azure Load Testing with simple YAML-based configuration:
- Set virtual users and load parameters in VS Code
- Choose regions to simulate distributed traffic
- Track client and server performance metrics in real time to pinpoint bottlenecks
Azure Load Testing can handle many thousands of concurrent users, so you can find issues before they hit production.
Run high-scale, multi-region load tests in Azure Load Testing🔹 Secure Test Secrets with Azure Key Vault
Performance tests often require API keys or tokens. The Azure Load Testing extension integrates with Azure Key Vault for secure secret management during test runs.
🚀 Get Started
Stop struggling with manual load testing scripts. Let GitHub Copilot and Azure Load Testing do the heavy lifting, so you can focus on building scalable, high-performing apps.
🔹 Install the Azure Load Testing extension for VS Code (Preview) and start testing smarter today!