Freigeben über


Azure Load Testing task

Use this task to run an Apache JMeter script by using Azure Load Testing Preview. Azure Load Testing is a fully managed load testing service that enables you to generate high-scale load.

Important

Azure Load Testing is currently in preview. For legal terms that apply to Azure features that are in beta, in preview, or otherwise not yet released into general availability, see the Supplemental Terms of Use for Microsoft Azure Previews.

Demands

The agent must have the following capability:

  • Azure PowerShell

Important

This task is part of the Azure Load Testing marketplace extension. For more information on installing and using this task, see Identify performance regressions with Azure Load Testing Preview and Azure Pipelines.

Arguments

Parameter Comments
Azure subscription Required. Azure subscription or Azure Resource Manager service connection.
Load test file Required. Path to the load test YAML configuration file, relative from the repo root.
See Test configuration YAML reference.
Load test resource group Required. The resource group that contains the Azure Load Testing resource.
Load test resource name Required. Name of an existing Azure Load Testing resource.
Secrets Optional. Array of JSON objects that consist of the name and value for each secret. The name should match the secret name used in the Apache JMeter test script.
Env Optional. Array of JSON objects that consist of the name and value for each environment variable. The name should match the variable name used in the Apache JMeter test script.

Succeeds if the load test finishes successfully and all test pass/fail criteria pass.

Next steps

For more information about using this task, see the Azure Load Testing documentation article Continuous regression testing with Azure Pipelines.