Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 0e2f3b3

Browse files
CopilotLuizMacedo
andcommitted
Fix Lab 14 timing, step numbering, and add missing notes
Co-authored-by: LuizMacedo <45747223+LuizMacedo@users.noreply.github.com>
1 parent a7358f8 commit 0e2f3b3

1 file changed

Lines changed: 22 additions & 15 deletions

File tree

Instructions/Labs/AZ400_M08_L14_Monitor_Application_Performance_with_Azure_Load_Testing.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ After you complete this lab, you will be able to:
3434
- Investigate Azure web app performance by using Azure Load Testing.
3535
- Integrate Azure Load Testing into your CI/CD pipelines.
3636

37-
## Estimated timing: 60 minutes
37+
## Estimated timing: 90 minutes
3838

3939
## Instructions
4040

@@ -79,7 +79,7 @@ In this task, you will create an Azure web app by using the cloud shell in Azure
7979
1. In the Azure portal, in the toolbar, click the **Cloud Shell** icon located directly to the right of the search text box.
8080
1. If prompted to select either **Bash** or **PowerShell**, select **Bash**.
8181

82-
> **Note**: If this is the first time you are starting **Cloud Shell** and you are presented with the **You have no storage mounted** message, select the subscription you are using in this lab, and select **Create storage**.
82+
> **Note**: If this is the first time you are starting **Cloud Shell** and you are presented with the **You have no storage mounted** message, select the subscription you are using in this lab, and select **Apply**.
8383
8484
1. From the **Bash** prompt, in the **Cloud Shell** pane, run the following command to create a resource group (replace the `<region>` placeholder with the name of the Azure region closest to you such as 'eastus').
8585

@@ -97,6 +97,8 @@ In this task, you will create an Azure web app by using the cloud shell in Azure
9797
--name $SERVICEPLANNAME --sku B3
9898
```
9999

100+
> **Note**: If you encounter an error about Microsoft.Web not being registered, you may need to register the Microsoft.Web resource provider by running: `az provider register --namespace Microsoft.Web`
101+
100102
1. Create a web app with a unique name.
101103

102104
```bash
@@ -216,7 +218,7 @@ In this task, you will add a YAML build definition to the existing project.
216218

217219
> **Note**: The **packageForLinux** parameter is misleading in the context of this lab, but it is valid for Windows or Linux.
218220

219-
1. Before saving the updates to the yml-file, give it a more clear name. On top of the yaml-editor window, it shows **EShopOnweb/azure-pipelines-#.yml**. (where # is a number, typically 1 but could be different in your setup.) Select **that filename**, and rename it to **m08l14-pipeline.yml**
221+
1. Before saving the updates to the yml-file, give it a more clear name. On top of the yaml-editor window, it shows **EShopOnweb/azure-pipelines-#.yml**. (where # is a number, typically 1 but could be different in your setup.) Select **that filename**, **enable text typing if needed**, and rename it to **m08l14-pipeline.yml**
220222

221223
1. Click **Save**, on the **Save** pane, click **Save** again to commit the change directly into the main branch.
222224

@@ -289,6 +291,7 @@ In this task, you will create different Azure Load Testing tests, using differen
289291
1. Uncheck the **Enable advanced settings** checkbox, to display the advanced settings.
290292
1. Complete the following parameters and settings to create a load test:
291293

294+
- **Test Name**: `Get_eshoponweb########` (replace ######## with a unique identifier)
292295
- **Test URL**: Enter the URL from the Azure App Service you deployed in the previous exercise (az400eshoponweb...azurewebsites.net), **including https://**
293296
- **Specify Load**: Virtual Users
294297
- **Number of Virtual Users**: 50
@@ -317,7 +320,7 @@ In this task, you will validate the outcome of an Azure Load Testing TestRun.
317320

318321
With both quick tests complete, let's make a few changes to them, and validate the results.
319322

320-
1. From **Azure Load Testing**, navigate to **Tests**. Select either of the test definitions, to open a more detailed view, by **clicking** on one of the tests. This redirects you to the more detailed test page. From here, you can validate the details of the actual runs, by selecting the **TestRun_mm/dd/yy-hh:hh** from the resulting list.
323+
1. From **Azure Load Testing**, navigate to **Tests**. Select either of the test definitions, to open a more detailed view, by **clicking** on one of the tests. This redirects you to the more detailed test page. From here, you can validate the details of the actual runs, by selecting the **TestRun mm/dd/yy-hh:mm** from the resulting list.
321324
1. From the detailed **TestRun** page, identify the actual outcome of the Azure Load Testing simulation. Some of the values are:
322325

323326
- Load / Total Requests
@@ -371,13 +374,15 @@ Perform the following steps to download the input files for an existing load tes
371374
- _config.yaml_: the load test YAML configuration file. You reference this file in the CI/CD workflow definition.
372375
- _quick_test.jmx_: the JMeter test script
373376

374-
1. Commit all extracted input files to your source control repository. To do this, navigate to the **Azure DevOps Portal**(<https://aex.dev.azure.com/>), and navigate to the **eShopOnWeb** DevOps Project.
377+
#### Task 3a: Commit all extracted input files to your source control repository
378+
379+
1. Navigate to the **Azure DevOps Portal**(<https://aex.dev.azure.com/>), and navigate to the **eShopOnWeb** DevOps Project.
375380
1. Select **Repos**. In the source code folder structure, notice the **tests** subfolder. Notice the ellipsis (...), and select **New > Folder**.
376381
1. specify **jmeter** as folder name, and **placeholder.txt** for the file name (Note: a Folder cannot be created as empty)
377-
1. Click **Commit** to confirm the creation of the placeholder file and jmeter folder.
382+
1. Click **Create** to create the folder and file, then click **Commit** to commit the changes to the repository.
378383
1. From the **Folder structure**, navigate to the new created **jmeter** subfolder. Click the **ellipsis(...)** and select **Upload File(s)**.
379384
1. Using the **Browse** option, navigate to the location of the extracted zip-file, and select both **config.yaml** and **quick_test.jmx**.
380-
1. Click **Commit** to confirm the file upload into source control.
385+
1. Click **Commit** to confirm the file upload into source control. If prompted, click **Commit** again to finalize the upload.
381386
1. Within Repos, browse to the **/tests/jmeter** subfolder just created.
382387
1. Open the Load Testing **config.yaml** file. Click **Edit** to allow editing of the file.
383388
1. Replace the **displayName** and **testId** attributes with the value **ado_load_test**
@@ -389,16 +394,18 @@ Perform the following steps to download the input files for an existing load tes
389394
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**.
390395
1. Select your Azure DevOps organization, and then select **Install** to install the extension.
391396
1. From within the Azure DevOps Portal and Project, navigate to **Pipelines** and select the pipeline created at the start of this exercise. Click **Edit**.
392-
1. In the YAML script, navigate to **line 56** and press ENTER/RETURN, to add a new empty line. (this is right before the Deploy Stage of the YAML file).
393-
1. At line 57, select the Tasks Assistant to the right-hand side, and search for **Azure Load Testing**.
397+
1. In the YAML script, navigate to **line 43** and press ENTER/RETURN, to add a new empty line. (this is right before the Deploy Stage of the YAML file).
398+
1. At line 44, select the Tasks Assistant to the right-hand side, and search for **Azure Load Testing**.
394399
1. Complete the graphical pane with the correct settings of your scenario:
395400

396-
- Azure Subscription: Select the subscription which runs your Azure Resources
397-
- Load Test File: '$(Build.SourcesDirectory)/tests/jmeter/config.yaml'
398-
- Load Test Resource Group: The Resource Group which holds your Azure Load Testing Resources
399-
- Load Test Resource Name: `eShopOnWebLoadTesting`
400-
- Load Test Run Name: ado_run
401-
- Load Test Run Description: load testing from ADO
401+
- **Azure Subscription**: Select the subscription which runs your Azure Resources (enter subscription details manually if needed)
402+
- **Load Test File**: '$(Build.SourcesDirectory)/tests/jmeter/config.yaml'
403+
- **Load Test Resource Group**: The Resource Group which holds your Azure Load Testing Resources
404+
- **Load Test Resource Name**: `eShopOnWebLoadTesting`
405+
- **Load Test Run Name**: ado_run
406+
- **Load Test Run Description**: load testing from ADO
407+
408+
> **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.
402409

403410
1. Confirm the injection of the parameters as a snippet of YAML by clicking **Add**
404411
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.

0 commit comments

Comments
 (0)