Skip to content

Commit 61d9c6c

Browse files
committed
Restructured intro para for downloading logs
1 parent a65a61c commit 61d9c6c

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed
Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,33 @@
11
---
22
title: Troubleshoot load test errors
33
titleSuffix: Azure Load Testing
4-
description: Learn how you can troubleshoot errors during your load test by downloading and analyzing the Apache JMeter logs in the Azure portal.
4+
description: Learn how you can diagnose and troubleshoot errors in Azure Load Testing. Download and analyze the Apache JMeter worker logs in the Azure portal.
55
services: load-testing
66
ms.service: load-testing
77
ms.author: nicktrog
88
author: ntrogh
9-
ms.date: 01/14/2022
9+
ms.date: 03/23/2022
1010
ms.topic: how-to
1111

1212
---
13-
# Troubleshoot load test errors by downloading Apache JMeter logs in Azure Load Testing Preview
13+
# Troubleshoot load test errors by downloading Apache JMeter logs
1414

15-
In this article, you'll learn how to download the Apache JMeter logs for Azure Load Testing Preview in the Azure portal. You can use the logging information to troubleshoot problems while the Apache JMeter script runs.
15+
Learn how to diagnose and troubleshoot errors while running a load test with Azure Load Testing Preview. Download the Apache JMeter worker logs or load test results for detailed logging information.
1616

17-
The Apache JMeter log can help you identify problems in your JMX file, or run-time issues that occur while the test is running. For example, the application endpoint might be unavailable, or the JMX file might contain invalid credentials.
17+
When you start a load test, the Azure Load Testing test engines run your Apache JMeter script. Errors can occur at different levels. For example, during the execution of the JMeter script, while connecting to the application endpoint, or in the test engine instance.
1818

19-
When you run a load test, the Azure Load Testing test engines execute your Apache JMeter test script. While your load test is running, Apache JMeter stores detailed logging information in the worker node logs. You can download the JMeter worker node log for your load test run from the Azure portal to help you diagnose load test errors.
19+
There are several load test error indicators available:
20+
21+
- The test run **Status** information is **Failed**.
22+
- The test run statistics shows a non-zero **Error percentage** value.
23+
- The **Errors** graph in the client-side metrics shows errors.
24+
25+
You can use different sources of information to diagnose these errors:
26+
27+
- [Download the Apache JMeter worker logs](#download-apache-jmeter-worker-logs) to investigate issues with JMeter and the test script execution.
28+
- [Export the load test result](./how-to-export-test-results.md) and analyze the response code and message for each HTTP request.
29+
30+
There might also be problems with the application endpoint itself. If you host the application on Azure, you can [configure server-side monitoring](./how-to-monitor-server-side-metrics.md) to get detailed insights about the application components.
2031

2132
> [!IMPORTANT]
2233
> 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/).
@@ -26,9 +37,13 @@ When you run a load test, the Azure Load Testing test engines execute your Apach
2637
- An Azure account with an active subscription. If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
2738
- An Azure load testing resource that has a completed test run. If you need to create an Azure load testing resource, see [Create and run a load test](./quickstart-create-and-run-load-test.md).
2839

29-
## Access and download logs for your load test
40+
## Download Apache JMeter worker logs
3041

31-
In this section, you retrieve and download the Azure Load Testing logs from the Azure portal.
42+
When you run a load test, the Azure Load Testing test engines execute your Apache JMeter test script. During the load test, Apache JMeter stores detailed logging in the worker node logs. You can download these JMeter worker logs for each test run in the Azure portal.
43+
44+
For example, if there's a problem with your JMeter script, the load test status will be **Failed**. In the worker logs you might find additional information about the cause of the problem.
45+
46+
To download the worker logs for an Azure Load Testing test run, follow these steps:
3247

3348
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
3449

@@ -39,13 +54,13 @@ In this section, you retrieve and download the Azure Load Testing logs from the
3954
>[!TIP]
4055
> To limit the number of tests, use the search box and the **Time range** filter.
4156
42-
1. In the list of tests, select the test run you're working with to view its details.
57+
1. Select a test run from the list to view the test run dashboard.
4358

4459
:::image type="content" source="media/how-to-find-download-logs/test-run.png" alt-text="Screenshot that shows a list of test runs for the selected load test.":::
4560

46-
1. On the dashboard, select **Download**, and then select **Logs**.
61+
1. On the dashboard, select **Download**, and then select **Logs**.
4762

48-
:::image type="content" source="media/how-to-find-download-logs/logs.png" alt-text="Screenshot that shows how to download the load test logs from the test run details page.":::
63+
:::image type="content" source="media/how-to-find-download-logs/logs.png" alt-text="Screenshot that shows how to download the test log files from the test run details page.":::
4964

5065
The browser should now start downloading the JMeter worker node log file *worker.log*.
5166

@@ -57,8 +72,7 @@ In this section, you retrieve and download the Azure Load Testing logs from the
5772

5873
## Next steps
5974

75+
- Learn how to [Export the load test result](./how-to-export-test-results.md).
6076
- Learn how to [Monitor server-side application metrics](./how-to-monitor-server-side-metrics.md).
61-
6277
- Learn how to [Get detailed insights for Azure App Service based applications](./how-to-appservice-insights.md).
63-
6478
- Learn how to [Compare multiple load test runs](./how-to-compare-multiple-test-runs.md).

0 commit comments

Comments
 (0)