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/tutorial-identify-bottlenecks-azure-portal.md
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,10 +28,20 @@ In this tutorial, you learn how to:
28
28
## Prerequisites
29
29
30
30
* 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.
31
32
* 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).
32
33
* Visual Studio Code. If you don't have it, [download and install it](https://code.visualstudio.com/Download).
33
34
* Git. If you don't have it, [download and install it](https://git-scm.com/download).
34
35
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).
35
45
36
46
## Deploy the sample application
37
47
@@ -74,17 +84,20 @@ Follow these steps to create an Azure load testing resource and a load test by u
74
84
az group create --name $resourceGroup --location $location
75
85
```
76
86
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.
78
88
79
89
Replace the `<load-testing-resource-name>` text placeholder with the name of the load testing resource.
80
90
81
91
```azurecli
92
+
# This script requires the following Azure CLI extensions:
93
+
# - load
94
+
82
95
loadTestResource="<load-testing-resource-name>"
83
96
84
97
az load create --name $loadTestResource --resource-group $resourceGroup --location $location
85
98
```
86
99
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.
88
101
89
102
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.
0 commit comments