How to run test cases sequentially?


There is an annoying situation. I wrote my test cases sequentially. (e.g. case 001, case 002 etc.) But when i run the script test cases don’t run sequentially as the image below.

Are these all separate requests, or are you using pre-req scripts with the sendRequest() function?

SendRequest is asynchronous in nature, so you can’t guarantee the order if that’s the issue.

1 Like

They’re all same requests with different parameters. I’m using only “Tests”. I understood that the cases are sorted according to the response time of requests. But i’m finding a way to sort properly.

But when i make the SendRequest functions nested, cases are sorting properly.