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/how-to-create-load-test-app-service.md
+16-32Lines changed: 16 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,36 +28,35 @@ With the integrated load testing experience in Azure App Service, you can:
28
28
29
29
## Create a load test for a web app
30
30
31
-
You can create a URL-based load test directly from your Azure App Service web app in the Azure portal.
31
+
You can create load test directly from your Azure App Service web app in the Azure portal. You can either create by entering your HTTP requests directly in portal or by uploading a JMeter or Locust test script.
32
32
33
33
To create a load test for a web app:
34
34
35
35
1. In the [Azure portal](https://portal.azure.com), go to your Azure App Service web app.
36
36
37
-
1. On the left pane, select **Load Testing (Preview)** under the **Performance** section.
37
+
1. On the left pane, select **Load Testing** under the **Performance** section.
38
38
39
39
On this page, you can see the list of tests and the load test runs for this web app.
40
40
41
-
:::image type="content" source="./media/how-to-create-load-test-app-service/app-service-load-testing.png" lightbox="./media/how-to-create-load-test-app-service/app-service-load-testing.png" alt-text="Screenshot that shows Load Testing page in App Service.":::
41
+
:::image type="content" source="./media/how-to-create-load-test-app-service/app-service-load-testing.png" lightbox="./media/how-to-create-load-test-app-service/app-service-load-testing.png" alt-text="Screenshot that shows Load Testing page in App Service.":::
42
42
43
-
1.Optionally, select **Create load testing resource**if you don't have a load testing resource yet.
43
+
1.Select **Create test** to start load test for the web app. Select **Create a URL-based test**if you don't have a test script. Select **Upload a script** if you have a JMeter or Locust test script.
44
44
45
-
1. Select **Create test** to start creating a URL-based load test for the web app.
46
45
47
-
1. On the **Create test** page, first enter the test details:
46
+
1. On the **Create test** page, first enter the test details:
48
47
49
-
|Field |Description |
50
-
|-|-|
51
-
|**Load Testing Resource**| Select your load testing resource. |
52
-
|**Test name**| Enter a unique test name. |
53
-
|**Test description**| (Optional) Enter a load test description. |
54
-
|**Run test after creation**| When selected, the load test starts automatically after creating the test. |
48
+
|Field |Description |
49
+
|-|-|
50
+
|**Load Testing Resource**| Select your load testing resource. Create new if you don't have one in the Azure subscription. |
51
+
|**Test name**| Enter a unique test name. |
52
+
|**Test description**| (Optional) Enter a load test description. |
53
+
|**Run test after creation**| When selected, the load test starts automatically after creating the test. |
55
54
56
-
1. If you have multiple deployment slots for the web app, select the **Slot** against which to run the load test.
55
+
1. If you have multiple deployment slots for the web app, select the **Slot** against which to run the load test.
57
56
58
-
:::image type="content" source="./media/how-to-create-load-test-app-service/app-service-create-test-resource-configuration.png" lightbox="./media/how-to-create-load-test-app-service/app-service-create-test-resource-configuration.png" alt-text="Screenshot that shows the resource configuration page for creating a test in App Service.":::
57
+
:::image type="content" source="./media/how-to-create-load-test-app-service/app-service-create-test-resource-configuration.png" lightbox="./media/how-to-create-load-test-app-service/app-service-create-test-resource-configuration.png" alt-text="Screenshot that shows the resource configuration page for creating a test in App Service.":::
59
58
60
-
1.Select**Add request** to add HTTP requests to the load test:
59
+
1.For a URL-based test, select**Add request** to add HTTP requests to the load test:
61
60
62
61
On the **Add request** page, enter the details for the request:
63
62
@@ -73,25 +72,10 @@ To create a load test for a web app:
73
72
74
73
Learn more about [adding HTTP requests to a load test](./how-to-add-requests-to-url-based-test.md).
75
74
76
-
1. Select the **Load configuration** tab to configure the load parameters for the load test.
77
-
78
-
79
-
|Field |Description |
80
-
|-|-|
81
-
|**Engine instances**| Enter the number of load test engine instances. The load test runs in parallel across all the engine instances. |
82
-
|**Load pattern**| Select the load pattern (linear, step, spike) for ramping up to the target number of virtual users. |
83
-
|**Concurrent users per engine**| Enter the number of *virtual users* to simulate on each of the test engines. The total number of virtual users for the load test is: #test engines * #users per engine. |
84
-
|**Test duration (minutes)**| Enter the duration of the load test in minutes. |
85
-
|**Ramp-up time (minutes)**| Enter the ramp-up time of the load test in minutes. The ramp-up time is the time it takes to reach the target number of virtual users. |
86
-
87
-
1. Optionally, configure the network settings if the web app is not publicly accessible.
88
-
89
-
Learn more about [load testing privately hosted endpoints](./how-to-test-private-endpoint.md).
90
-
91
-
:::image type="content" source="./media/how-to-create-load-test-app-service/app-service-create-test-load-configuration.png" lightbox="./media/how-to-create-load-test-app-service/app-service-create-test-load-configuration.png" alt-text="Screenshot that shows the load configuration page for creating a test in App Service.":::
75
+
1. For a script-based test, upload your test script in the **Test plan** tab. Learn more about [creating a test by uploading a test script](./how-to-create-manage-test.md#create-a-test-by-using-a-test-script).
92
76
93
77
94
-
1.Select**Review + create** to review the test configuration, and then select **Create** to create the load test.
78
+
1.After entering all the required details, select**Review + create** to review the test configuration, and then select **Create** to create the load test.
95
79
96
80
Azure Load Testing now creates the load test. If you selected **Run test after creation** previously, the load test starts automatically.
Copy file name to clipboardExpand all lines: articles/load-testing/how-to-create-load-test-function-app.md
+15-35Lines changed: 15 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ With the integrated load testing experience in Azure Functions, you can:
28
28
29
29
## Create a load test for a function app
30
30
31
-
You can create a URL-based load test directly from your Azure Function App in the Azure portal.
31
+
You can create a URL-based load test directly from your Azure Function App in the Azure portal. You can either create by entering your HTTP requests directly in portal or by uploading a JMeter or Locust test script.
32
32
33
33
To create a load test for a function app:
34
34
@@ -40,62 +40,42 @@ To create a load test for a function app:
40
40
41
41
:::image type="content" source="./media/how-to-create-load-test-azure-functions/azure-functions-load-test.png" lightbox="./media/how-to-create-load-test-azure-functions/azure-functions-load-test.png" alt-text="Screenshot that shows Load Testing page in an app in Azure Functions.":::
42
42
43
-
1.Optionally, select **Create load testing resource**if you don't have a load testing resource yet.
43
+
1.Select **Create test** to start load test for the function app. Select **Create a URL-based test**if you don't have a test script. Select **Upload a script** if you have a JMeter or Locust test script.
44
44
45
-
1. Select **Create test** to start creating a URL-based load test for the function app.
46
45
47
-
1. On the **Create test** page, first enter the test details:
48
-
49
-
|Field |Description |
50
-
|-|-|
51
-
|**Load Testing Resource**| Select your load testing resource. |
52
-
|**Test name**| Enter a unique test name. |
53
-
|**Test description**| (Optional) Enter a load test description. |
54
-
|**Run test after creation**| When selected, the load test starts automatically after creating the test. |
46
+
1. On the **Create test** page, first enter the test details:
55
47
48
+
|Field |Description |
49
+
|-|-|
50
+
|**Load Testing Resource**| Select your load testing resource. Create new if you don't have one in the Azure subscription. |
51
+
|**Test name**| Enter a unique test name. |
52
+
|**Test description**| (Optional) Enter a load test description. |
53
+
|**Run test after creation**| When selected, the load test starts automatically after creating the test. |
56
54
57
-
1. Select **Add request** to add HTTP requests to the load test:
55
+
56
+
1. For a URL-based test, select **Add request** to add HTTP requests to the load test:
58
57
59
58
On the **Add request** page, enter the details for the request:
60
59
61
60
|Field |Description |
62
61
|-|-|
63
62
|**Request name**| Unique name within the load test to identify the request. You can use this request name when [defining test criteria](./how-to-define-test-criteria.md). |
64
-
|**Function name**| Select the function that you want to test|
65
-
|**Key**|Select the key required for accessing the function|
63
+
|**URL**| Select the base URL for the HTTP endpoint|
64
+
|**Path**|(Optional) Enter a URL path name within the HTTP endpoint. The path is appended to the URL to form the endpoint that is load tested. |
66
65
|**HTTP method**| Select an HTTP method from the list. Azure Load Testing supports GET, POST, PUT, DELETE, PATCH, HEAD, and OPTIONS. |
67
66
|**Query parameters**| (Optional) Enter query string parameters to append to the URL. |
68
67
|**Headers**| (Optional) Enter HTTP headers to include in the HTTP request. |
69
68
|**Body**| (Optional) Depending on the HTTP method, you can specify the HTTP body content. Azure Load Testing supports the following formats: raw data, JSON view, JavaScript, HTML, and XML. |
70
69
71
-
:::image type="content" source="./media/how-to-create-load-test-azure-functions/azure-functions-create-test-add-requests.png" lightbox="./media/how-to-create-load-test-azure-functions/azure-functions-create-test-add-requests.png" alt-text="Screenshot that shows adding requests to a load test in an app in Azure Functions.":::
72
-
73
70
Learn more about [adding HTTP requests to a load test](./how-to-add-requests-to-url-based-test.md).
74
71
75
-
1. Select the **Load configuration** tab to configure the load parameters for the load test.
76
-
77
-
78
-
|Field |Description |
79
-
|-|-|
80
-
|**Engine instances**| Enter the number of load test engine instances. The load test runs in parallel across all the engine instances. |
81
-
|**Load pattern**| Select the load pattern (linear, step, spike) for ramping up to the target number of virtual users. |
82
-
|**Concurrent users per engine**| Enter the number of *virtual users* to simulate on each of the test engines. The total number of virtual users for the load test is: #test engines * #users per engine. |
83
-
|**Test duration (minutes)**| Enter the duration of the load test in minutes. |
84
-
|**Ramp-up time (minutes)**| Enter the ramp-up time of the load test in minutes. The ramp-up time is the time it takes to reach the target number of virtual users. |
85
-
86
-
1. Optionally, configure the network settings if the function app isn't publicly accessible.
87
-
88
-
Learn more about [load testing privately hosted endpoints](./how-to-test-private-endpoint.md).
89
-
90
-
:::image type="content" source="./media/how-to-create-load-test-azure-functions/azure-functions-create-test-load-configuration.png" lightbox="./media/how-to-create-load-test-azure-functions/azure-functions-create-test-load-configuration.png" alt-text="Screenshot that shows the load configuration page for creating a test for an app in Azure Functions.":::
72
+
1. For a script-based test, upload your test script in the **Test plan** tab. Learn more about [creating a test by uploading a test script](./how-to-create-manage-test.md#create-a-test-by-using-a-test-script).
91
73
92
74
93
-
1.Select**Review + create** to review the test configuration, and then select **Create** to create the load test.
75
+
1.After entering all the required details, select**Review + create** to review the test configuration, and then select **Create** to create the load test.
94
76
95
77
Azure Load Testing now creates the load test. If you selected **Run test after creation** previously, the load test starts automatically.
96
78
97
-
> [!NOTE]
98
-
> If the test was converted from a URL test to a JMX test directly from the Load Testing resource, the test cannot be modified from the function app.
0 commit comments