Can you make a script in a continuous loop?

Use and application of the eValid server loading (LoadTest) capability. And in the cloud computing context for monitoring and loading.

Can you make a script in a continuous loop?

Postby VPerrin » Mon Feb 22, 2016 4:31 pm

Afternoon.

Sorry if this is the wrong area to post this question, but here goes:.

How do I get eValid to run a script in an infinite loop?

Thanks
VPerrin
 
Posts: 1
Joined: Mon Feb 22, 2016 4:26 pm

Re: Can you make a script in a continuous loop?

Postby eValid » Tue Feb 23, 2016 9:27 am

VPerrin wrote:Afternoon.

Sorry if this is the wrong area to post this question, but here goes:.

How do I get eValid to run a script in an infinite loop?

Thanks


Thanks for asking VPerrin.

A script cannot call itself; that type of error is trapped.

So if you are in "myscript.evs" the command: GotoScript "myscript.evs will FAIL.

No recursion; eValid's script language is NOT a programming language.

But here is a little secret: eValid doesn't attempt to detect loops, so if you are in "myscript.evs" and you execute a command to go to "myotherscript.evs" you CAN have a command in the second script to go back to the first.

Gee, this looks an awful lot like an infinite loop, right?

Well, it is, but don't tell anyone.

This feature was an accident found by our own test people!

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Performance/Load Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons