Monitor server-side application metrics with Azure Load Testing Preview
In this article, you'll learn how to configure your load test to monitor server-side application metrics with Azure Load Testing Preview.
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.
Important
Azure Load Testing is currently in preview. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
Prerequisites
- An Azure account with an active subscription. If you don't have an Azure subscription, create a free account before you begin.
- An Azure Load Testing resource with at least one completed test run. If you need to create an Azure Load Testing resource, see Tutorial: Run a load test to identify performance bottlenecks.
Configure server-side monitoring for a load test
In this section, you'll update an existing load test to configure the Azure application components to capture server-side resource metrics for.
Navigate to your Azure Load Testing resource in the Azure portal.
Select Tests from the left navigation, and then select your load test from the list.
On the test runs page, select Configure, and then select App Components to add or remove Azure resources to monitor during the load test.
You can add or remove Azure resources by checking the boxes, and then selecting Apply.
The Azure Load Testing service will capture resource metrics for the selected Azure components and display them in the test result dashboard.
Select Configure, and then select Metrics to select the specific resource metrics to capture during the load test.
Update the list of metrics you want to capture, and then select Apply to save your changes.
Alternatively, you can also update the app components and metrics from the test result details page.
Select Run to run the load test with the new configuration settings.
If you've updated the load test from the test results page, you can select Rerun to run the load test with the new configuration settings.
Notice that the test result dashboard now shows the updated server-side metrics.
Next steps
For information about high-scale load tests, see Set up a high-scale load test.
To learn about performance test automation, see Configure automated performance testing