Skip to content

Commit 10debd3

Browse files
committed
Add grant permission to CI/CD
1 parent e40e98b commit 10debd3

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Loading
42.4 KB
Loading

articles/load-testing/quickstart-add-load-test-cicd.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,30 @@ You now have a CI/CD pipeline in Azure Pipelines that invokes your load test whe
7676

7777
:::image type="content" source="media/how-to-set-up-cicd-pipeline-from-portal/load-testing-generated-pipeline.png" alt-text="Screenshot that shows the Azure pipeline in Azure DevOps that was generated by Azure Load Testing." lightbox="media/how-to-set-up-cicd-pipeline-from-portal/load-testing-generated-pipeline.png":::
7878

79+
## Grant permission to service connection
80+
81+
When you run the CI/CD pipeline for the first time, you need to grant permission to the pipeline to access the service connection and start the load test.
82+
83+
1. Sign in to your Azure DevOps organization (`https://dev.azure.com/<your-organization>`), and select your project.
84+
85+
Replace the `<your-organization>` text placeholder with your project identifier.
86+
87+
1. Select **Pipelines** in the left navigation, and then select your pipeline.
88+
89+
Notice that the pipeline run status is *Pending*.
90+
91+
1. Select the pending pipeline run, and then select **View**.
92+
93+
An alert message is shown that the pipeline needs permission to access the load test resource.
94+
95+
:::image type="content" source="media/how-to-set-up-cicd-pipeline-from-portal/azure-pipelines-need-permission.png" alt-text="Screenshot that shows the alert message that the Azure pipeline run needs permission to access a resource." lightbox="media/how-to-set-up-cicd-pipeline-from-portal/azure-pipelines-need-permission.png":::
96+
97+
1. Select **Permit**, and then select **Permit** again in the confirmation window.
98+
99+
:::image type="content" source="media/how-to-set-up-cicd-pipeline-from-portal/azure-pipelines-grant-permission-service-connection.png" alt-text="Screenshot that shows the grant permission window in Azure Pipelines to grant access to the service connection for running a load test." lightbox="media/how-to-set-up-cicd-pipeline-from-portal/azure-pipelines-grant-permission-service-connection.png":::
100+
101+
The CI/CD pipeline run now starts and accesses the Azure load testing resource to run the test.
102+
79103
## View load test results in CI/CD
80104

81105
You can view the load test summary results directly in the CI/CD output log. If you published the test results as a pipeline artifact, you can also download a CSV file for further reporting.

0 commit comments

Comments
 (0)