Skip to content

Commit b558605

Browse files
committed
Update for Azure CLI compliance
1 parent 2fd888c commit b558605

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

articles/load-testing/tutorial-identify-bottlenecks-azure-portal.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,20 @@ In this tutorial, you learn how to:
2828
## Prerequisites
2929

3030
* 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.
31+
* The [Azure CLI](/cli/azure/install-azure-cli) installed on your local computer.
3132
* Azure CLI version 2.2.0 or later. Run `az --version` to find the version that is installed on your computer. If you need to install or upgrade the Azure CLI, see [How to install the Azure CLI](/cli/azure/install-azure-cli).
3233
* Visual Studio Code. If you don't have it, [download and install it](https://code.visualstudio.com/Download).
3334
* Git. If you don't have it, [download and install it](https://git-scm.com/download).
3435

36+
### Prerequisites check
37+
38+
Before you start, validate your environment:
39+
40+
* Sign in to the Azure portal and check that your subscription is active.
41+
42+
* Check your version of the Azure CLI in a terminal or command window by running `az --version`. For the latest version, see the [latest release notes](/cli/azure/release-notes-azure-cli?tabs=azure-cli).
43+
44+
If you don't have the latest version, update your installation by following the [installation guide for your operating system or platform](/cli/azure/install-azure-cli).
3545

3646
## Deploy the sample application
3747

@@ -74,17 +84,20 @@ Follow these steps to create an Azure load testing resource and a load test by u
7484
az group create --name $resourceGroup --location $location
7585
```
7686
77-
1. Create an Azure load testing resource.
87+
1. Create an Azure load testing resource with the [`az load create`](/cli/azure/load) command.
7888
7989
Replace the `<load-testing-resource-name>` text placeholder with the name of the load testing resource.
8090
8191
```azurecli
92+
# This script requires the following Azure CLI extensions:
93+
# - load
94+
8295
loadTestResource="<load-testing-resource-name>"
8396
8497
az load create --name $loadTestResource --resource-group $resourceGroup --location $location
8598
```
8699
87-
1. Create a load test for simulating load against your sample application.
100+
1. Create a load test for simulating load against your sample application with the [`az load test create`](/cli/azure/load/test) command.
88101
89102
Replace the `<web-app-hostname>` text placeholder with the App Service hostname of the sample application. This value is of the form `myapp.azurewebsites.net`. Don't include the `https://` part of the URL.
90103

0 commit comments

Comments
 (0)