You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Troubleshoot load test errors by downloading Apache JMeter logs in Azure Load Testing Preview
14
14
15
-
In this article, you'll learn how to download the Azure Load Testing Preview logs in the Azure portalto 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.
16
16
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.
18
20
19
21
> [!IMPORTANT]
20
22
> 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/).
21
23
22
24
## Prerequisites
23
25
24
26
- 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).
26
28
27
29
## Access and download logs for your load test
28
30
@@ -43,16 +45,20 @@ In this section, you retrieve and download the Azure Load Testing logs from the
43
45
44
46
1. On the dashboard, select **Download**, and then select **Logs**.
45
47
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.":::
47
49
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*.
49
51
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.
51
53
52
54
:::image type="content" source="media/how-to-find-download-logs/jmeter-log.png" alt-text="Screenshot that shows the JMeter log file content.":::
53
55
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
+
54
58
## Next steps
55
59
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).
57
63
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).
0 commit comments