How To Configure Azure Load Testing Utilizing Azure CLI


Azure Load Testing is a service provided by Microsoft Azure that permits builders to check the scalability and efficiency of their internet purposes. The service simulates a excessive variety of consumer requests to an internet utility. It collects efficiency knowledge, equivalent to response time and useful resource utilization, to assist builders determine congestion and optimize the efficiency of their purposes. Azure Load Testing can be utilized with internet purposes hosted on Azure or exterior internet purposes accessible from the web.

Configure Azure Load Testing utilizing Azure CLI

Step 1

Register to your azure portal.

Step 2

Set up the Azure CLI

Be aware: In case you do not have already got it put in, comply with the directions to put in the Azure CLI in your native machine.

Step 3

Connect with your Azure account, Run the next command to log in to your Azure account.

az login

Step 4 

Create a useful resource group, If it’s essential to create a useful resource group to handle the assets on your load check. You should use the next cmdlet to create a useful resource group.

az group create --name <resource_group_name> --location <location>

Step 5

Create a storage account

Load check outcomes will likely be saved in an Azure storage account. You should use the next cmdlet to create a storage account.

az storage account create --name <storage_account_name> --resource-group <resource_group_name> --location <location> --sku Standard_LRS --kind StorageV2

Step 6

Create an azure load check, Use the next cmdlet to create a load check.

az efficiency check create --name <load_test_name> --location <location> --resource-group <resource_group_name> --storage-account <storage_account_name>

Step 7

Configure the load check,  You should use the next cmdlet to set the check length, the variety of customers, and as per the check situation.

az efficiency check configure --name <load_test_name> --location <location> --resource-group <resource_group_name> --duration <duration_in_minutes> --users <number_of_users> --scenario <test_scenario>

Step 8

Run the load check, Following the cmdlet to start out the load check.

az efficiency check run --name <load_test_name> --location <location> --resource-group <resource_group_name>

Step 9

If you wish to test the analyzed metrics, you need to use the next cmdlet to get it.

az efficiency check outcomes present --name <load_test_name> --location <location> --resource-group <resource_group_name>


This text taught us learn how to configure the Azure load check through the use of Azure CLI. When you have any questions, please contact me.


Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button