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
{{ message }}
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: Instructions/Labs/AZ400_M08_L14_Monitor_Application_Performance_with_Azure_Load_Testing.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -386,9 +386,12 @@ Perform the following steps to download the input files for an existing load tes
386
386
1. Within Repos, browse to the **/tests/jmeter** subfolder just created.
387
387
1. Open the Load Testing **config.yaml** file. Click **Edit** to allow editing of the file.
388
388
1. Replace the **displayName** and **testId** attributes with the value **ado_load_test**
389
+
1. Save the changes to the config.yaml file by clicking **Commit**.
389
390
390
391

391
392
393
+
1. Verify that the config.yaml and quick_test.jmx files are properly saved in the **/tests/jmeter** folder before proceeding to the next task.
394
+
392
395
#### Task 4: Update the CI/CD workflow YAML definition file
393
396
394
397
1. To create and run a load test, the Azure Pipelines workflow definition uses the **Azure Load Testing task extension** from the Azure DevOps Marketplace. Open the [Azure Load Testing task extension](https://marketplace.visualstudio.com/items?itemName=AzloadTest.AzloadTesting) in the Azure DevOps Marketplace, and select **Get it free**.
@@ -406,6 +409,8 @@ Perform the following steps to download the input files for an existing load tes
406
409
- **Load Test Run Description**: load testing from ADO
407
410
408
411
> **Note**: The pipeline may require permissions to be granted. If prompted, select **View**, then select **Permit**, and select **Permit** again to grant the necessary permissions.
412
+
413
+
> **Note**: If you encounter an "invalid file name error" during the Azure Load Test phase, ensure that the config.yaml file path is correct and that the file was properly uploaded to the repository. You may need to verify the file exists at the specified path in your repository.
409
414
410
415
1. Confirm the injection of the parameters as a snippet of YAML by clicking **Add**
411
416
1. If the indentation of the YAML snippet is giving errors (red squiggly lines), fix them by adding 2 spaces or tab to position the snippet correctly.
@@ -478,7 +483,7 @@ In this task, You'll use load test fail criteria to get alerted (have a failed p
478
483
479
484
1. From Azure DevOps, navigate to the eShopOnWeb Project, and open **Repos**.
480
485
1. Within Repos, browse to the **/tests/jmeter** subfolder created and used earlier.
481
-
1. Open the Load Testing \*config.yaml** file. Click **Edit\*\* to allow editing of the file.
486
+
1. Open the Load Testing **config.yaml** file. Click **Edit** to allow editing of the file.
482
487
1. Replace `failureCriteria: []` if present, otherwise append the following snippet of code:
483
488
484
489
```text
@@ -532,6 +537,18 @@ In this task, You'll use load test fail criteria to get alerted (have a failed p
532
537
> [!IMPORTANT]
533
538
> Remember to delete the resources created in the Azure portal to avoid unnecessary charges.
534
539
540
+
## Troubleshooting
541
+
542
+
If you encounter issues during the lab, try the following solutions:
543
+
544
+
- **Invalid file name error in Azure Load Test**: Ensure that the config.yaml and quick_test.jmx files are properly uploaded to the `/tests/jmeter` folder in your repository. Verify the file paths are correct in the Load Test File configuration.
545
+
546
+
- **Microsoft.Web provider not registered**: Run `az provider register --namespace Microsoft.Web` in the Cloud Shell if you encounter registration errors when creating the App Service Plan.
547
+
548
+
- **Pipeline permission issues**: When the pipeline requires permissions, select **View**, then **Permit**, and **Permit** again to grant access to Azure resources.
549
+
550
+
- **File upload issues**: When uploading files to Azure Repos, make sure to click **Create** first to create folders, then **Commit** to save changes. You may need to commit twice for file uploads.
551
+
535
552
## Review
536
553
537
554
In this exercise, you deployed a web app to Azure App Service by using Azure Pipelines, as well as deploying an Azure Load Testing Resource with TestRuns. Next, you integrated the JMeter load testing config.yaml file to Azure Repos source control, and extending your CI/CD pipeline with the Azure Load Testing. In the last exercise, you learned how to define the success criteria of the LoadTest.
0 commit comments