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
Copy file name to clipboardExpand all lines: articles/load-testing/concept-load-testing-concepts.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ A test engine is computing infrastructure, managed by Microsoft that runs the Ap
96
96
97
97
The test engines are hosted in the same location as your Azure Load Testing resource. You can configure the Azure region when you create the Azure load testing resource.
98
98
99
-
While the test script runs, Azure Load Testing collects and aggregates the Apache JMeter worker logs from all test engine instances. You can [download the logs for analyzing errors during the load test](./how-to-find-download-logs.md).
99
+
While the test script runs, Azure Load Testing collects and aggregates the Apache JMeter worker logs from all test engine instances. You can [download the logs for analyzing errors during the load test](./how-to-troubleshoot-failing-test.md).
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-configure-user-properties.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,10 +124,10 @@ Alternately, you also specify properties in the JMeter user interface. The follo
124
124
125
125
:::image type="content" source="media/how-to-configure-user-properties/jmeter-user-properties.png" alt-text="Screenshot that shows how to reference user properties in the JMeter user interface.":::
126
126
127
-
You can [download the JMeter errors logs](./how-to-find-download-logs.md) to troubleshoot errors during the load test.
127
+
You can [download the JMeter errors logs](./how-to-troubleshoot-failing-test.md) to troubleshoot errors during the load test.
128
128
129
129
## Next steps
130
130
131
131
- Learn more about [JMeter properties that Azure Load Testing overrides](./resource-jmeter-property-overrides.md).
132
132
- Learn more about [parameterizing a load test by using environment variables and secrets](./how-to-parameterize-load-tests.md).
133
-
- Learn more about [troubleshooting load test execution errors](./how-to-find-download-logs.md).
133
+
- Learn more about [troubleshooting load test execution errors](./how-to-troubleshoot-failing-test.md).
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-export-test-results.md
+84-7Lines changed: 84 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,15 @@ services: load-testing
6
6
ms.service: load-testing
7
7
ms.author: nicktrog
8
8
author: ntrogh
9
-
ms.date: 03/31/2022
9
+
ms.date: 02/10/2023
10
10
ms.topic: how-to
11
11
12
12
---
13
13
# Export test results from Azure Load Testing for use in third-party tools
14
14
15
-
In this article, you'll learn how to download the test results from Azure Load Testing in the Azure portal. You might use these results for reporting in third-party tools.
15
+
In this article, you learn how to download the test results from Azure Load Testing in the Azure portal. You might use these results for reporting in third-party tools or for diagnosing test failures. Azure Load Testing generates the test results in comma-separated values (CSV) file format, and provides details of each application request for the load test.
16
16
17
-
The test results contain comma-separated values (CSV) file(s) with details of each application request. See [Apache JMeter CSV log format](https://jmeter.apache.org/usermanual/listeners.html#csvlogformat) and the [Apache JMeter Glossary](https://jmeter.apache.org/usermanual/glossary.html) for details about the different fields.
18
-
19
-
You can also use the test results to diagnose errors during a load test. The `responseCode` and `responseMessage` fields give you more information about failed requests. For more information about investigating errors, see [Troubleshoot test execution errors](./how-to-find-download-logs.md).
17
+
You can also use the test results to diagnose errors during a load test. The `responseCode` and `responseMessage` fields give you more information about failed requests. For more information about investigating errors, see [Troubleshoot test execution errors](./how-to-troubleshoot-failing-test.md).
20
18
21
19
You can generate the Apache JMeter dashboard from the CSV log file following the steps mentioned [here](https://jmeter.apache.org/usermanual/generating-dashboard.html#report).
22
20
@@ -25,9 +23,26 @@ You can generate the Apache JMeter dashboard from the CSV log file following the
25
23
- 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.
26
24
- 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
25
26
+
## Test results file
27
+
28
+
Azure Load Testing generates a test results CSV file for each [test engine instance](./concept-load-testing-concepts.md#test-engine). Learn how you can [scale out your load test](./how-to-high-scale-load.md).
29
+
30
+
Azure Load Testing uses the [Apache JMeter CSV log format](https://jmeter.apache.org/usermanual/listeners.html#csvlogformat). For more information about the different fields, see the [JMeter Glossary in the Apache JMeter documentation](https://jmeter.apache.org/usermanual/glossary.html).
31
+
32
+
You can find the details of each application request for the load test run in the test results file. The following snippet shows a sample test result:
1676040230680,104,Homepage,200,OK,172.18.33.7-Thread Group 1-5,text,true,,1607,133,5,5,https://www.example.com/,104,0,100
37
+
1676040230681,101,Homepage,200,OK,172.18.33.7-Thread Group 1-3,text,true,,1591,133,5,5,https://www.example.com/,101,0,93
38
+
1676040230680,101,Homepage,200,OK,172.18.33.7-Thread Group 1-1,text,true,,1591,133,5,5,https://www.example.com/,98,0,94
39
+
```
40
+
28
41
## Access and download load test results
29
42
30
-
In this section, you'll retrieve and download the Azure Load Testing results file from the Azure portal.
43
+
# [Azure portal](#tab/portal)
44
+
45
+
To download the test results for a test run in the Azure portal:
31
46
32
47
1. In the [Azure portal](https://portal.azure.com), go to your Azure Load Testing resource.
33
48
@@ -57,8 +72,70 @@ In this section, you'll retrieve and download the Azure Load Testing results fil
57
72
58
73
The folder contains a separate CSV file for every test engine and contains details of requests that the test engine executed during the load test.
59
74
75
+
# [GitHub Actions](#tab/github)
76
+
77
+
When you run a load test as part of your CI/CD pipeline, Azure Load Testing generates a test results file. Follow these steps to publish these test results and attach them to your CI/CD pipeline run:
78
+
79
+
1. Go to your GitHub repository, and select **Code**.
80
+
81
+
1. In the **Code** window, select your GitHub Actions workflow YAML file in the `.github/workflow` folder.
82
+
83
+
:::image type="content" source="./media/how-to-export-test-results/github-repository-workflow-definition-file.png" alt-text="Screenshot that shows the folder that contains the GitHub Actions workflow definition file." lightbox="./media/how-to-export-test-results/github-repository-workflow-definition-file.png":::
84
+
85
+
1. Edit the workflow file and add the `actions/upload-artifact` action after the `azure/load-testing` action in the workflow file.
86
+
87
+
Azure Load Testing places the test results in the `loadTest` folder of the GitHub Actions workspace.
1. After your GitHub Actions workflow completes, you can select the test results from the **Artifacts** section on the **Summary** page of the workflow run.
104
+
105
+
:::image type="content" source="./media/how-to-export-test-results/github-actions-run-summary.png" alt-text="Screenshot that shows the GitHub Actions workflow summary page, highlighting the test results in the Artifacts section." lightbox="./media/how-to-export-test-results/github-actions-run-summary.png":::
106
+
107
+
# [Azure Pipelines](#tab/pipelines)
108
+
109
+
When you run a load test as part of your CI/CD pipeline, Azure Load Testing generates a test results file. Follow these steps to publish these test results and attach them to your CI/CD pipeline run:
110
+
111
+
1. In your Azure DevOps project, select **Pipelines** in the left navigation, and select your pipeline from the list.
112
+
113
+
1. On the pipeline details page, select **Edit** to edit the workflow definition.
114
+
115
+
1. Edit the workflow file and add the `publish` task after the `AzureLoadTest` task in the workflow file.
116
+
117
+
Azure Load Testing places the test results in the `loadTest` folder of the Azure Pipelines default working directory.
1. After your Azure Pipelines workflow completes, you can select the test results from the **Stages** section on the **Summary** page of the workflow run.
131
+
132
+
You can find and download the test results in the **Results** folder.
133
+
134
+
:::image type="content" source="./media/how-to-export-test-results/azure-pipelines-run-summary.png" alt-text="Screenshot that shows the Azure Pipelines workflow summary page, highlighting the test results in the Stages section." lightbox="./media/how-to-export-test-results/azure-pipelines-run-summary.png":::
135
+
---
136
+
60
137
## Next steps
61
138
62
-
- Learn more about [Troubleshooting test execution errors](./how-to-find-download-logs.md).
139
+
- Learn more about [Troubleshooting test execution errors](./how-to-troubleshoot-failing-test.md).
63
140
- For information about comparing test results, see [Compare multiple test results](./how-to-compare-multiple-test-runs.md).
64
141
- To learn about performance test automation, see [Configure automated performance testing](./tutorial-identify-performance-regression-with-cicd.md).
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-high-scale-load.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ For example, if application latency is 20 milliseconds (0.02 second), and you're
34
34
To achieve a target number of requests per second, configure the total number of virtual users for your load test.
35
35
36
36
> [!NOTE]
37
-
> Apache JMeter only reports requests that made it to the server and back, either successful or not. If Apache JMeter is unable to connect to your application, the actual number of requests per second will be lower than the maximum value. Possible causes might be that the server is too busy to handle the request, or that an TLS/SSL certificate is missing. To diagnose connection problems, you can check the **Errors** chart in the load testing dashboard and [download the load test log files](./how-to-find-download-logs.md).
37
+
> Apache JMeter only reports requests that made it to the server and back, either successful or not. If Apache JMeter is unable to connect to your application, the actual number of requests per second will be lower than the maximum value. Possible causes might be that the server is too busy to handle the request, or that an TLS/SSL certificate is missing. To diagnose connection problems, you can check the **Errors** chart in the load testing dashboard and [download the load test log files](./how-to-troubleshoot-failing-test.md).
0 commit comments