Azure App Load Testing PREVIEW

Microsoft heeft een nieuwe load testing service geïntroduceerd waarmee je high-scale loads kan genereren. We gaan verder in het Engels. Let's dive in! 

Gepubliceerd: 09 december 2021

How to use Azure Load Testing

Currently, the service is in preview and allows you to simulate traffic for your apps, regardless of where they are hosted. Developers and testers can use it to optimize their applications regarding performance, scalability, and capacity. Load test can be created using Apache JMeter, a well-known open-source load and performance tool.

While Azure Load Testing supports applications hosted in other clouds, additional and detailed resource metrics in Azure will help identify performance bottlenecks. You can use CI/CD workflows to automate regression testing.

Limited availability

Starting with Azure Load Testing is relatively easy, as you would expect from Azure native resources. Create a new resource, select Azure Load Testing, and you are good to go. As the service is still in preview, only 5 Azure regions are currently supported (North Europe, East US, and East US2, South Central US, and Australia East). But since it's Azure, you still get worldwide coverage.

Azure App Load Testing 

Three new self-explanatory roles will be added to Access control (IAM) after deploying the first Load Tester resource:

Three Roles Added 

After assigning the correct role, sign in to your tenant again, and you will see the following interface: 

App testing Interface 

The way Azure Load Testing works is as mentioned using JMeter scripts. These will run in the Test engine, and you will be able to target a wide range of platforms such as App Services, AKS, Databases, Storage accounts, and VM's. the result will be processed by Azure Monitor and displayed in a dashboard.

Dashboard app testing

When creating a new test, you will be presented with a setup wizard as shown below:

Setup Wizard 

You are able to set up Environment variables and Secrets. Configure the number of threads and configure test criteria: 

Test criteria load testing 

Azure Load Testing integrates with Azure Monitor to capture server-side resource metrics for Azure-hosted applications. You can specify which Azure components and resource metrics to monitor for your load test run. To create a test, upload a JMeter file (JMX) to your Test plan:

 create new test plan Load

An easy way to design JMeter files is by using the online editor available here.


The cool thing about Azure Load Testing is that after the test plan has been created, it will start provisioning automatically and run the specified tests:

test run 

After just a few minutes, the first results will automatically appear. Azure Load Testing then also allows you to compare results, rerun the test, view the app components, or download the result file:

Testrun result file

It will even show you the client-side metrics and if you are running Azure workloads, the server-side metrics also.

Azure Workload 

Load tests can also be created using YAML, allowing for full integration in your CI/CD workflow. 

Usage and pricing

While still in preview, Azure Load Balancing is already a powerful solution. With a base price of €8,95 per month, including 50 virtual user hours, it is also very cost-efficient. Additional hours are priced at €0,134 (~€100,00/month).

Get started now.

Questions? Don't hesitate to ask us via