[BUG] test execution errors with Run stopped Criteria not validated when waitForCompletion is set to false

Open
#142 0 comments 0 reactions 1 assignee View on GitHub

@mohitpavan is already working on this.

Since May 13, 2026.

Assessment

This issue has not been assessed yet.

Description

need-to-triage

Describe the bug
When setting waitForCompletion to false test execution is failing with Run stopped
Criteria not validated, there is no logs in azure load testing to indicate what criteria is not validated. If I manually click rerun in azure load testing for that test run, it fires off another test execution that runs as expected.

To Reproduce
set waitForCompletion is false in github action parameters

Run azure/load-testing@91cc816f79b6b2a96b73ee130ceadf42d764c4b3
with:
loadtestConfigFile: ./loadtesting/AzureConfig/****
loadtestResource: *****
resourceGroup: *****
waitForCompletion: false
Test '****' already exists
Deleting 1 existing test file(s) which is(are) not in the configuration yaml file.
Uploading the user properties file
Uploaded user properties file for the test successfully.
Uploading the test script file
Uploaded test script file for the test successfully.
Validation status of the test plan: VALIDATION_SUCCESS
Validated test plan for the test successfully.
Updated server metrics successfully
Creating and running a testRun for the test
Creating and running a testRun for the test

View the load test run in Azure portal by following the steps:

  1. Go to your Azure Load Testing resource '' in subscription ''
  2. On the Tests page, go to test '*****'
  3. Go to test run '*****'

Test run started. Not waiting for completion as per input.
Result: Test Run Started Successfully.

Test run is provisioned and stops immediately with message 'Run stopped
Criteria not validated'

Expected behavior
When waitForCompletion is to false it should kick off a test run that does not error out

Screenshots

Image

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: edge
  • Version: 147.0.3912.60
Dominant language
TypeScript
Stars
20
Forks
27
Avg merge
6d 16h
Merged PRs (30d)
8

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/load-testing

All issues in Azure/load-testing

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.