Page 1 of 1

Simple way for eValid to repeat a test a number of times

PostPosted: Thu Jan 02, 2020 11:01 am
by CBlythe
Morning.

Is there some simple way to just repeat a test a fixed number of times.

Would be very useful during Load Testing projects

Thanks

Re: Simple way for eValid to repeat a test a number of times

PostPosted: Fri Jan 03, 2020 8:53 am
by eValid
CBlythe wrote:Morning.

Is there some simple way to just repeat a test a fixed number of times.

Would be very useful during Load Testing projects

Thanks


Thanks for posting you question CBlythe.

The very, very simplest way to do this is to use the CallScript command:

CallScript "[PATH]script-name" ["Data-Substitution-Pair [, Data-Substitution-Pair] "]

Suppose you have a test "TEST1" then if you want to run it three times you use this passage:

CallScript TEST1
CallScript TEST1
CallScript TEST1

Simple enough?

(There are lots of other ways to do this, including putting a script into an infinite loop, but they are a bit more complicated.)


-- eValid Support