Skip to content

Commit 00e038c

Browse files
Merge pull request #213354 from ntrogh/alt-vnet-troubleshoot
[Azure Load Testing] Added troubleshooting info for invalid subnet ID
2 parents 534a5eb + 76d6d2b commit 00e038c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

articles/load-testing/how-to-test-private-endpoint.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,17 @@ You can specify the VNET configuration settings in the load test creation/update
153153

154154
:::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.":::
155155

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-
158156
1. On the **Load** tab, select **Private** traffic mode, and then select your virtual network and subnet.
159157

160158
If you have multiple subnets in your virtual network, make sure to select the subnet that will host the injected test engine VMs.
161159

162160
:::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.":::
163161

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+
164167
1. Select **Review + create** and then **Create** (or **Apply**, when updating an existing test).
165168

166169
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
196199
197200
For more information about the YAML configuration, see [test configuration YAML reference](./reference-test-config-yaml.md).
198201
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+
199205
1. Save the YAML configuration file, and commit your changes to the source code repository.
200206
201207
1. After the CI/CD workflow triggers, your load test starts, and can now access the privately hosted application endpoint in your VNET.
202208
203209
## Troubleshooting
204210
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+
205215
### Starting the load test fails with `Test cannot be started`
206216
207217
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

Comments
 (0)