Stop the running test when certain condition is met

I have if-else condition to run a step only when one of API responses is “T”, the test should continue if the step has been skipped, and to stop the execution when the step passed without returning fail for the test

Hi @MR.Robot, and welcome to our community.
You can read more about if-else logic in TestProject here: