Skip to content

Commit 030289a

Browse files
authored
Merge pull request #185113 from ntrogh/alt-worker-log
Updated article for changes to JMeter worker logs
2 parents 413bfe5 + cf98c61 commit 030289a

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

articles/load-testing/how-to-find-download-logs.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
---
2-
title: Download Apache JMeter logs for troubleshooting
2+
title: Troubleshoot load test errors
33
titleSuffix: Azure Load Testing
4-
description: Learn how you can troubleshoot Apache JMeter script problems by downloading the Azure Load Testing logs in the Azure portal.
4+
description: Learn how you can troubleshoot errors during your load test by downloading and analyzing the Apache JMeter logs in the Azure portal.
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: 01/14/2022
1010
ms.topic: how-to
1111

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

15-
In this article, you'll learn how to download the Azure Load Testing Preview logs in the Azure portal to troubleshoot problems with the Apache JMeter script.
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.
1616

17-
When you run a load test, the Azure Load Testing test engines execute your Apache JMeter test script. The Apache JMeter log can help you identify both problems in the JMX file and issues that occur during the test execution. For example, the application endpoint might be unavailable, or the JMX file might contain invalid credentials.
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.
18+
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.
1820

1921
> [!IMPORTANT]
2022
> 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/).
2123
2224
## Prerequisites
2325

2426
- 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.
25-
- 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).
27+
- 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).
2628

2729
## Access and download logs for your load test
2830

@@ -43,16 +45,20 @@ In this section, you retrieve and download the Azure Load Testing logs from the
4345

4446
1. On the dashboard, select **Download**, and then select **Logs**.
4547

46-
:::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 result page.":::
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.":::
4749

48-
The browser should now start downloading the execution logs as a zipped folder.
50+
The browser should now start downloading the JMeter worker node log file *worker.log*.
4951

50-
1. You can use any extraction tool to extract the zipped folder and access the logging information.
52+
1. You can use a text editor to open the log file.
5153

5254
:::image type="content" source="media/how-to-find-download-logs/jmeter-log.png" alt-text="Screenshot that shows the JMeter log file content.":::
5355

56+
The *worker.log* file can help you diagnose the root cause of a failing load test. In the previous screenshot, you can see that the test failed because a file is missing.
57+
5458
## Next steps
5559

56-
- For more information about comparing test results, see [Compare multiple test results](./how-to-compare-multiple-test-runs.md).
60+
- Learn how to [Monitor server-side application metrics](./how-to-update-rerun-test.md).
61+
62+
- Learn how to [Get detailed insights for Azure App Service based applications](./how-to-appservice-insights.md).
5763

58-
- To learn about performance test automation, see [Configure automated performance testing](./tutorial-cicd-azure-pipelines.md).
64+
- Learn how to [Compare multiple load test runs](./how-to-compare-multiple-test-runs.md).
443 KB
Loading

0 commit comments

Comments
 (0)