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-test-private-endpoint.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,14 +153,17 @@ You can specify the VNET configuration settings in the load test creation/update
153
153
154
154
:::image type="content" source="media/how-to-test-private-endpoint/edit-test.png" alt-text="Screenshot that shows the Tests page, highlighting the button for editing a test.":::
155
155
156
-
1. Review or fill the load test information. Follow these steps to [create or manage a test](./how-to-create-manage-test.md).
157
-
158
156
1. On the **Load** tab, select **Private** traffic mode, and then select your virtual network and subnet.
159
157
160
158
If you have multiple subnets in your virtual network, make sure to select the subnet that will host the injected test engine VMs.
161
159
162
160
:::image type="content" source="media/how-to-test-private-endpoint/create-new-test-load-vnet.png" alt-text="Screenshot that shows the Load tab for creating or updating a load test.":::
163
161
162
+
> [!IMPORTANT]
163
+
> Make sure you have sufficient permissions for managing virtual networks. You require the [Network Contributor](/azure/role-based-access-control/built-in-roles#network-contributor) role.
164
+
165
+
1. Review or fill the load test information. Follow these steps to [create or manage a test](./how-to-create-manage-test.md).
166
+
164
167
1. Select **Review + create** and then **Create** (or **Apply**, when updating an existing test).
165
168
166
169
When the load test starts, Azure Load Testing injects the test engine VMs in your virtual network and subnet. The test script can now access the privately hosted application endpoint in your VNET.
@@ -196,12 +199,19 @@ To configure the load test with your virtual network settings, update the [YAML
196
199
197
200
For more information about the YAML configuration, see [test configuration YAML reference](./reference-test-config-yaml.md).
198
201
202
+
> [!IMPORTANT]
203
+
> Make sure you have sufficient permissions for managing virtual networks. You require the [Network Contributor](/azure/role-based-access-control/built-in-roles#network-contributor) role.
204
+
199
205
1. Save the YAML configuration file, and commit your changes to the source code repository.
200
206
201
207
1. After the CI/CD workflow triggers, your load test starts, and can now access the privately hosted application endpoint in your VNET.
202
208
203
209
## Troubleshooting
204
210
211
+
### Creating or updating the load test fails with `Subnet ID passed is invalid`
212
+
213
+
To configure a load test in a virtual network, you must have sufficient permissions for managing virtual networks. You require the [Network Contributor](/azure/role-based-access-control/built-in-roles#network-contributor) role, or a parent of this role, on the virtual network. See [Check access for a user to Azure resources](/azure/role-based-access-control/check-access) to verify your permissions.
214
+
205
215
### Starting the load test fails with `Test cannot be started`
206
216
207
217
To start a load test, you must have sufficient permissions to deploy Azure Load Testing to the virtual network. You require the [Network Contributor](/azure/role-based-access-control/built-in-roles#network-contributor) role, or a parent of this role, on the virtual network. See [Check access for a user to Azure resources](/azure/role-based-access-control/check-access) to verify your permissions.
0 commit comments