This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.
Azure Load Testing is a fully managed load testing service that enables you to easily generate large scale load. I am excited to share that you can now run the tests using (Command-Line Interface).
Azure CLI is a powerful tool for managing Azure resources from the command line. It is cross-platform (Windows, macOS, and Linux), offers flexible output options (JSON, YAML, tables, etc.), and enables integration with automation systems (like CI/CD workflows) via scripting.
Azure Load Testing already supports tools like SDKs, Azure DevOps and GitHub extensions. We are launching the support for Azure CLI since it can be easily integrated CI/CD tools and The newly available az load extension for Azure enables end-to-end load testing. With this extension you can use commands for:
- az load to create and manage Azure Load Testing resources
- az load test to create and manage load tests
- az load test-run to create and manage test runs
Note that the extension will automatically install the first time you run the az load command.
Run a load test using Azure CLI
Now let’s see how you can run a load . Ensure that you have an Azure subscription (create one for free) and have installed Azure CLI (you can follow these ). The load extension is for Azure CLI version 2.41.0 or higher.
You can run the commands below to get started.
Download the sample script for creating and running a test from this .
So, what are you waiting for? Run az load and get started with running tests from Azure CLI. If you have any feedback, let us know through our feedback forum. You can refer to our previous blog posts here and can find more samples for using Azure CLI for Azure Load Testing here.
Happy Load Testing...!