Monitor server-side application metrics by using Azure Load Testing Preview

In this article, you'll learn how to configure your load test to monitor server-side application metrics by using 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. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews.

Prerequisites

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.

  1. In the Azure portal, go to your Azure Load Testing resource.

  2. On the left pane, select Tests, and then select your load test from the list.

    Screenshot that shows a list of load tests to select from.

  3. On the test runs page, select Configure, and then select App Components to add or remove Azure resources to monitor during the load test.

    Screenshot that shows the 'App Components' button for displaying app components to configure for a load test.

  4. Select or clear the checkboxes next to the Azure resources you want to add or remove, and then select Apply.

    Screenshot that shows how to add or remove app components from a load test configuration.

    The Azure Load Testing service captures resource metrics for the selected Azure components and displays them on the test result dashboard.

  5. Select Configure, and then select Metrics to select the specific resource metrics to capture during the load test.

    Screenshot that shows the 'Metrics' button to select configure metrics for a load test.

  6. Update the list of metrics you want to capture, and then select Apply.

    Screenshot that shows a list of resource metrics to configure for a load test.

    Alternatively, you can update the app components and metrics from the page that shows test result details.

  7. Select Run to run the load test with the new configuration settings.

    Screenshot that shows the 'Run' button for running the load test from the test runs page.

    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.

    Screenshot that shows the 'Rerun' button for rerunning the load test from the test result dashboard.

    Notice that the test result dashboard now shows the updated server-side metrics.

    Screenshot that shows the updated server-side metrics on the test result dashboard.

Next steps