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
Describe the documentation you'd like to see
Using Azure Load Testing service to execute performance tests on your API.
Additional context
How to set up Azure Load Testing service
How to create a test plan
How to set up a load test in Azure
How to run a load test
How to validate the results
How to set up Azure Load Testing service
Step 1: register resource provider within your subscription
Step 2: use bicep to create the service
// This requires the 'Microsoft.LoadTestService'-provider to be registered on the subscriptionresourceloadTesting'Microsoft.LoadTestService/loadTests@2021-12-01-preview' = {
name: naming.loadTestinglocation: global.secondaryLocationidentity: {
type: 'SystemAssigned'
}
}
Step 3: Create the required Role Assignments on the Load Test Service for the AD Group requiring access
varloadTestContributorRoleId = '${subscription().id}/providers/Microsoft.Authorization/roleDefinitions/749a398d-560b-491b-bb21-08924219302e'// Create Role Assignment on the Load Test Service for AD Group.resourceadGroup_LoadTest_roleAssignment_Contributor'Microsoft.Authorization/roleAssignments@2020-08-01-preview' = {
name: guid(global.developerGroupId)
scope: loadTestingproperties: {
principalId: global.developerGroupIdroleDefinitionId: loadTestContributorRoleId
}
}
resourcesp_LoadTest_roleAssignment_Contributor'Microsoft.Authorization/roleAssignments@2020-08-01-preview' = {
name: guid(global.azureServicePrincipalObjectId)
scope: loadTestingproperties: {
principalId: global.azureServicePrincipalObjectIdroleDefinitionId: loadTestContributorRoleId
}
}
Step 4: Create an Access Policy in KeyVault for any potential secrets you will need in the test plans.
In order to be able to create a new test plan, you will have to download Apache JMeter, which can be found here.
This open-source application allows you to create test plans to validate the functional behavior but also measure performance.
How to set up a load test in Azure
Currently not possible yet by using Bicep, so below are the manual steps:
....
The text was updated successfully, but these errors were encountered:
Describe the documentation you'd like to see
Using Azure Load Testing service to execute performance tests on your API.
Additional context
How to set up Azure Load Testing service
How to create a test plan
How to set up a load test in Azure
How to run a load test
How to validate the results
How to set up Azure Load Testing service
Step 1: register resource provider within your subscription
Step 2: use bicep to create the service
Step 3: Create the required Role Assignments on the Load Test Service for the AD Group requiring access
Step 4: Create an Access Policy in KeyVault for any potential secrets you will need in the test plans.
How to create a test plan
In order to be able to create a new test plan, you will have to download Apache JMeter, which can be found here.
This open-source application allows you to create test plans to validate the functional behavior but also measure performance.
How to set up a load test in Azure
Currently not possible yet by using Bicep, so below are the manual steps:
....
The text was updated successfully, but these errors were encountered: