Share via


Cloud-based Web Performance Test task

TFS 2017 | TFS 2015

Note

While Azure DevOps cloud-based load testing service is deprecated, Azure Load Testing Preview is available. Azure Load Testing Preview is a fully managed load testing service that enables you to use existing Apache JMeter scripts to generate high-scale load. To learn more, see What is Azure Load Testing Preview?. To learn more about the deprecation of Azure DevOps load testing and other, alternative services see Changes to load test functionality in Visual Studio and cloud load testing in Azure DevOps.

Use this task to run the Quick Web Performance Test to easily verify your web application exists and is responsive. The task generates load against an application URL using the Azure Pipelines Cloud-based Load Test Service based in Microsoft Azure.

Note

In Microsoft Team Foundation Server (TFS) 2018 and previous versions, build and release pipelines are called definitions, runs are called builds, service connections are called service endpoints, stages are called environments, and jobs are called phases.

Demands

The agent must have the following capability:

  • Azure PowerShell

Arguments

Argument Description
Azure Pipelines connection The name of a Generic service connection that references the Azure DevOps organization you will be running the load test from and publishing the results to.
- Required for builds and releases on TFS and must specify a connection to the Azure DevOps organization where the load test will run.
- Optional for builds and releases on Azure Pipelines. In this case, if not provided, the current Azure Pipelines connection is used.
- See Generic service connection.
Website URL Required. The URL of the app to test.
Test Name Required. A name for this load test, used to identify it for reporting and for comparison with other test runs.
User Load Required. The number of concurrent users to simulate in this test. Select a value from the drop-down list.
Run Duration (sec) Required. The duration of this test in seconds. Select a value from the drop-down list.
Load Location The location from which the load will be generated. Select a global Azure location, or Default to generate the load from the location associated with your Azure DevOps organization.
Run load test using Select Automatically provisioned agents if you want the cloud-based load testing service to automatically provision agents for running the load tests. The application URL must be accessible from the Internet.
Select Self-provisioned agents if you want to test apps behind the firewall. You must provision agents and register them against your Azure DevOps organization when using this option. See Testing private/intranet applications using Cloud-based load testing.
Fail test if Avg. Response Time (ms) exceeds Specify a threshold for the average response time in milliseconds. If the observed response time during the load test exceeds this threshold, the task will fail.
Control options See Control options

More Information

Open source

This task is open source on GitHub. Feedback and contributions are welcome.

FAQ

I use TFS on-premises and I don't see some of these features. Why not?

Some of these features are available only on Azure Pipelines and not yet available on-premises. Some features are available on-premises if you have upgraded to the latest version of TFS.

Help and support