Retry just failed tests on Azure pipeline

I have configured my test suites to run on Azure pipelines.

In the command arguments, there is an option for retry

-browserType="Chrome" -retry=0 -statusDelay=15 -testSuitePath="Test SuitePath" -apiKey="apiKey" -config -webui.autoUpdateDrivers=true

But this would retry the whole test suite, no? I was wondering if there’s a way to just run the failed tests within the test suite?


You can add parameter: -retryStrategy=failedExecutions or -retryStrategy=immediately to retry failed tests only

Please refer to our doc: Command Syntax (Command-line/Console Mode Execution) | Katalon Docs


Awesome. Thank you so much, really appreciate this.

What if i had already updated that section through katalon studio and checked in the changes to azure repo. Should i still pass it in the command line. Asking because despite a failure it did not retry in the pipeline