Forum Discussion

jkrier's avatar
jkrier
Regular Contributor
10 years ago

How can I check how many times a test step has ran?

Does anyone know how to count how many times a step has ran?

I want to run a test step multiple times and check the response as it is asynchronous but I don't want to wait forever. I want to use a Groovy loop to run the request and check the response but if the step has ran so many times, say 5, I want to move on to another step.

I think if I could get the times the step has ran I could tell the runner to move on after the step was ran a certain amount of times.