LoadView tests can be executed via Azure DevOps Pipelines by using LoadView Test pipelines task extension.
Prerequisites
- Access to LoadView Account.
- Configured Load Test Scenario in LoadView.
- Access to Azure DevOps.
- The appropriate access rights to create and run an Azure Pipeline in your organization.
Integration Setup
In Azure DevOps, set up a pipeline job to run your LoadView test.
1. Find in the list and add the LoadView Test pipelines task.
2. Configure the task parameters.
Integration UID: LoadView Web API Unique Identifier. In LoadView, create an integration UID under Manage > Integrations > Add Integration > Load Testing Web API. Copy the UID from the Integration UIDs list.
Stress ID: LoadView Test Scenario ID. The Test Scenario ID can be found on the test settings page. Learn more here.
Email: Notification email address. Provide an email address to receive a notification email after the test run is finished.
3. Configure test limits.
Parameters set in the Limits For Stress section specify the test job status.
Max Percent Errors: The maximum failure rate (%) allowed in the task. If the percentage of failed test sessions exceeds the provided threshold, the test job will be finished as failed. If the Max Percent Errors limit is set to 0 and at least one test session returns an error during the test run, the job will be considered failed.
Max Average Duration: The maximum average response time (in milliseconds). If the test average transaction duration exceeds the provided limit, the test job will be finished as failed.