Get performance insights from App Service diagnostics and Azure Load Testing Preview
Azure Load Testing Preview collects detailed resource metrics across your Azure app components to help identify performance bottlenecks. In this article, you learn how to use App Service Diagnostics to get additional insights when load testing Azure App Service workloads.
App Service diagnostics is an intelligent and interactive way to help troubleshoot your app, with no configuration required. When you run into issues with your app, App Service diagnostics can help you resolve the issue easily and quickly.
- 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. If you need to create an Azure Load Testing resource, see the quickstart Create and run a load test.
- An Azure App Service workload that you're running a load test against and that you've added to the app components to monitor during the load test.
Use App Service diagnostics for your load test
Azure Load Testing lets you monitor server-side metrics for your Azure app components for a load test. You can then visualize and analyze these metrics in the Azure Load Testing dashboard.
When the application you're load testing is hosted on Azure App Service, you can get extra insights by using App Service diagnostics.
To view the App Service diagnostics information for your application under load test:
Go to the Azure portal.
Add your App Service resource to the load test app components. Follow the steps in monitor server-side metrics to add your app service.
Select Run to run the load test.
After the test finishes, you'll notice a section about App Service on the test result dashboard.
Select the link in Additional insights to view the App Service diagnostics information.
App Service diagnostics enables you to view in-depth information and dashboard about the performance, resource usage, and stability of your app service.
In the screenshot, you notice that there are concerns about the CPU usage, app performance, and failed requests.
On the left pane, you can drill deeper into specific issues by selecting one the diagnostics reports. For example, the following screenshot shows the High CPU Analysis report.
The following screenshot shows the Web App Slow report, which gives details and recommendations about application performance.
It can take up to 45 minutes for the insights data to be displayed on this page.
- Learn how to parameterize a load test with secrets and environment variables.
- Learn how to identify performance bottlenecks for Azure applications.
- Learn how to configure automated performance testing.