The initial article I wrote (February 2022), while the service was in Preview. As of few days ago, the service is generally available across Microsoft Azure.
What are we talking about here?
If you are developing an app or a service that needs to handle high-scale load, you might want to test its performance, scalability, and capacity before deploying it to production. However, setting up and managing a load testing infrastructure can be complex and costly. That’s why Microsoft has introduced Azure Load Testing Service, a fully managed service that enables you to generate high-scale load without managing complex infrastructure.
The service simulates traffic for your applications, regardless of where they are hosted. You can use it to test apps hosted in Azure, on-premises, or in other clouds. You can also load test services that have no public endpoint by deploying it in a virtual network.
Supported Azure resource types is here: link.
IT integrates with Azure Monitor, including Application Insights and Container Insights. It aims to collect and display detailed resource metrics from the Azure services that your app depends on. These metrics help you identify performance bottlenecks and optimize your app’s performance, scalability, and capacity.
How does it work?
To use this service, you need to create a load test project in the Azure portal or in Visual Studio Code. Then, you need to define your load test scenario. The scenario specifies the number of virtual users, the duration, the URL of your app, and the HTTP requests to send. You can also customize your load test scenario by adding variables, headers, assertions, and scripts.
Once you have defined your load test scenario, you can run it and monitor the results in real time. You can see the client-side metrics, such as the number of virtual users, the request response time, or the number of requests per second. Besides that, server-side metrics is also available, such as the CPU utilization, the memory usage, or the network throughput of your Azure services.
Azure Load Testing is priced based on the number of virtual user hours (VUH) you consume during your load tests.
A Virtual User Hour = (# of virtual users simulated * the duration the simulation in minutes) / 60 minutes per hour. They count number of active virtual users every 10 seconds. Then, You are charged for the equivalent number of fractional Virtual User Hours used.Example: For instance, simulating 1,000 virtual users, for 30 minutes, the charge is 500 virtual user hours.
This service is a powerful and easy-to-use tool that can help you optimize your app’s performance, scalability, and capacity.
Introducing Azure Load Testing (Video)
What’s new in Azure Load Testing? with April Edwards, Nikita Nallamothu (The DevOps Labs)