microsoft / azure-load-testing

MIT License
22 stars 2 forks source link

[BUG] Can't configure private test traffic mode in the portal #106

Closed jometzg closed 1 year ago

jometzg commented 1 year ago

Describe the bug Private test traffic mode (AKA VNet integration) will not configure correctly in the portal.

To Reproduce Steps to reproduce the behavior:

  1. Using load test in East US and the target application VNet also in East US
  2. After configuring a VNet subnet's NSG with the correct inbound and outbound rules
  3. Choose "Private" for Configure test traffic mode under load
  4. Select the VNet and Subnet
  5. Press Apply

Expected behavior The test should save correctly once the VNet and subnet are chosen.

Screenshots image

Desktop (please complete the following information): Windows 11

Additional context I have tried this on a Microsoft AIRs subscription several times and also in an MSDN subscription I have performed the tests as defined here https://learn.microsoft.com/en-us/azure/load-testing/how-to-test-private-endpoint#configure-your-load-test by enabling network watcher, creating a VM and running the 3 tests to (2 to BatchNodeManagement 29876 and 29877) and one to AzureLoadTestingInstanceManagement to 8080. All three of these pass correctly.

AB#1636042

jometzg commented 1 year ago

Having talked to John Stallo, it seems I need to explicitly add myself as "network contributor" to the subscription - it seems even if I am the global administrator.

ninallam commented 1 year ago

@jometzg We have mentioned this in the prerequisites. Please let us know if you are facing any issue. Closing this issue for now. image