Describe the bug
AzureLoadTest@1 - Azure Load Testing v1 task fails pipeline with error code: 'InvalidPassFailCriteria' when failureCriteria contains more than 5 items.
To Reproduce
Steps to reproduce the behavior:
pipeline.yml:
# variables are set before this, other details removed for brevity
stages:
- stage: LoadTest
displayName: Load test
jobs:
- job: Run
displayName: Runs a fixed load test in azure
steps:
- task: AzureLoadTest@1
displayName: Azure load test
inputs:
azureSubscription: $(serviceConnection)
loadTestResource: $(loadTestResource)
resourceGroup: $(loadTestResourceGroup)
loadTestConfigFile: src/HomePage/HomePage.yml
Describe the bug AzureLoadTest@1 - Azure Load Testing v1 task fails pipeline with error code: 'InvalidPassFailCriteria' when failureCriteria contains more than 5 items.
To Reproduce Steps to reproduce the behavior:
pipeline.yml:
src/HomePage/HomePage.yml:
result from DevOps pipelines
Expected behavior
Azure load testing task should allow create/update test with the same amount of test criteria as the tests created by portal.
Screenshots
Error from pipeline:
Additional context Add any other context about the problem here.
AB#1642808