Skip to content

Commit 68f11ad

Browse files
authored
Merge pull request #215203 from ntrogh/alt-freshness
[Azure Load Testing] Freshness pass
2 parents 21ecf05 + ab37952 commit 68f11ad

23 files changed

+262
-147
lines changed

articles/load-testing/concept-load-testing-concepts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The configuration of a load test consists of:
4545
- [Environment variables](./how-to-parameterize-load-tests.md).
4646
- [Secret parameters](./how-to-parameterize-load-tests.md).
4747
- The number of [test engines](#test-engine) to run the test script on.
48-
- The [pass/fail criteria](./how-to-define-test-criteria.md) for the test.
48+
- The [fail criteria](./how-to-define-test-criteria.md) for the test.
4949
- The list of [app components and resource metrics to monitor](./how-to-monitor-server-side-metrics.md) during the test execution.
5050

5151
When you run a test, a [test run](#test-run) instance is created.
@@ -76,7 +76,7 @@ When you create or update a load test, you can configure the list of app compone
7676

7777
During a load test, Azure Load Testing collects metrics about the test execution. There are two types of metrics:
7878

79-
- *Client-side metrics* give you details reported by the test engine. These metrics include the number of virtual users, the request response time, the number of failed requests, or the number of requests per second. You can [define pass/fail criteria](./how-to-define-test-criteria.md) based on client-side metrics to specify when a test passes or fails.
79+
- *Client-side metrics* give you telemetry reported by the test engine. These metrics include the number of virtual users, the request response time, the number of failed requests, or the number of requests per second. You can [define test fail criteria](./how-to-define-test-criteria.md) based on these client-side metrics.
8080

8181
- *Server-side metrics* are available for Azure-hosted applications and provide information about your Azure [application components](#app-component). Azure Load Testing integrates with Azure Monitor, including Application Insights and Container insights, to capture details from the Azure services. Depending on the type of service, different metrics are available. For example, metrics can be for the number of database reads, the type of HTTP responses, or container resource consumption.
8282

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,21 @@
11
---
2-
title: Get more insights from App Service diagnostics
2+
title: Get load test insights from App Service diagnostics
33
titleSuffix: Azure Load Testing
4-
description: 'Learn how to get detailed insights from App Service diagnostics and Azure Load Testing for App Service workloads.'
4+
description: 'Learn how to get detailed application performance insights from App Service diagnostics and Azure Load Testing.'
55
services: load-testing
66
ms.service: load-testing
77
ms.author: nicktrog
88
author: ntrogh
9-
ms.date: 11/30/2021
9+
ms.date: 10/24/2022
1010
ms.topic: how-to
1111

1212
---
1313

14-
# Get detailed insights from App Service diagnostics and Azure Load Testing Preview for Azure App Service workloads
14+
# Get performance insights from App Service diagnostics and Azure Load Testing Preview
1515

16-
In this article, you'll learn how to gain more insights from Azure App Service workloads by using Azure Load Testing Preview and Azure App Service diagnostics.
16+
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.
1717

18-
[App Service diagnostics](../app-service/overview-diagnostics.md) 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.
19-
20-
You can take advantage of App Service diagnostics when you run load tests on applications that run on App Service.
18+
[App Service diagnostics](/azure/app-service/overview-diagnostics.md) 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.
2119

2220
> [!IMPORTANT]
2321
> 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](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
@@ -28,43 +26,47 @@ You can take advantage of App Service diagnostics when you run load tests on app
2826
- An Azure Load Testing resource. If you need to create an Azure Load Testing resource, see the quickstart [Create and run a load test](./quickstart-create-and-run-load-test.md).
2927
- 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.
3028

31-
## Get more insights when you test an App Service workload
32-
33-
In this section, you use [App Service diagnostics](../app-service/overview-diagnostics.md) to get more insights from load testing an Azure App Service workload.
29+
## Use App Service diagnostics for your load test
3430

35-
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
31+
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.
3632

37-
1. On the left pane, select **Tests** to view the list of tests, and then select your test.
33+
When the application you're load testing is hosted on Azure App Service, you can get extra insights by using [App Service diagnostics](/azure/app-service/overview-diagnostics.md).
3834

39-
1. On the test runs page, select **Configure**, and then select **App Components** to add or remove Azure resources to monitor during the load test.
35+
To view the App Service diagnostics information for your application under load test:
4036

41-
:::image type="content" source="media/how-to-appservice-insights/configure-app-components.png" alt-text="Screenshot that shows the 'Configure' and 'App Components' buttons for configuring the load test.":::
37+
1. Go to the [Azure portal](https://portal.azure.com).
4238

43-
1. Select the **Monitoring** tab, and then add your app service to the list of app components to monitor.
39+
1. Add your App Service resource to the load test app components. Follow the steps in [monitor server-side metrics](./how-to-monitor-server-side-metrics.md) to add your app service.
4440

45-
:::image type="content" source="media/how-to-appservice-insights/test-monitoring-app-service.png" alt-text="Screenshot of the 'Edit test' pane for selecting and app service resource to monitor.":::
41+
:::image type="content" source="media/how-to-appservice-insights/test-monitoring-app-service.png" alt-text="Screenshot of the Monitoring tab when editing a load test in the Azure portal, highlighting the App Service resource.":::
4642

47-
1. Select **Run** to execute the load test.
43+
1. Select **Run** to run the load test.
4844

4945
After the test finishes, you'll notice a section about App Service on the test result dashboard.
5046

51-
1. Select the **here** link in the App Service message.
47+
:::image type="content" source="media/how-to-appservice-insights/test-result-app-service-diagnostics.png" alt-text="Screenshot that shows the 'App Service' section on the load testing dashboard in the Azure portal.":::
48+
49+
1. Select the link in **Additional insights** to view the App Service diagnostics information.
5250

53-
:::image type="content" source="media/how-to-appservice-insights/test-result-app-service-diagnostics.png" alt-text="Screenshot that shows the 'App Service' section on the test result dashboard.":::
51+
App Service diagnostics enables you to view in-depth information and dashboard about the performance, resource usage, and stability of your app service.
5452

55-
Your Azure App Service **Availability and Performance** page opens, which displays your App Service diagnostics.
53+
In the screenshot, you notice that there are concerns about the CPU usage, app performance, and failed requests.
5654

5755
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-overview.png" alt-text="Screenshot that shows the App Service diagnostics overview page, with a list of interactive reports on the left pane.":::
5856

59-
1. On the left pane, select any of the various interactive reports that are available in App Service diagnostics.
57+
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.
6058

6159
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-high-cpu.png" alt-text="Screenshot that shows the App Service diagnostics CPU usage report.":::
6260

63-
> [!IMPORTANT]
61+
The following screenshot shows the **Web App Slow** report, which gives details and recommendations about application performance.
62+
63+
:::image type="content" source="media/how-to-appservice-insights/app-diagnostics-web-app-slow.png" alt-text="Screenshot that shows the App Service diagnostics slow application report.":::
64+
65+
> [!NOTE]
6466
> It can take up to 45 minutes for the insights data to be displayed on this page.
6567
6668
## Next steps
6769

68-
- Learn how to [parameterize a load test](./how-to-parameterize-load-tests.md) with secrets.
69-
70-
- Learn how to [configure automated performance testing](./tutorial-identify-performance-regression-with-cicd.md).
70+
- Learn how to [parameterize a load test with secrets and environment variables](./how-to-parameterize-load-tests.md).
71+
- Learn how to [identify performance bottlenecks](./tutorial-identify-bottlenecks-azure-portal.md) for Azure applications.
72+
- Learn how to [configure automated performance testing](./tutorial-identify-performance-regression-with-cicd.md).

0 commit comments

Comments
 (0)