| || |
StopOnRound2.js, another \"stop on round count\" algorithm
This posting contains a 2nd version of a "stop on round count"
algorithm which I believe to be "thread-safe".
Currently WebLoad only provides a built-in mechanism to stop
a test based on runtime (which you set in the Template for
the test). The attached set of functions allow you to setup
an Agenda to self-terminate after all virtual clients have
run the script X times (i.e. X number of "rounds" in WebLoad
The first version of a "stop on round count" algorithm is posted
on the Radview website's Agenda Center, "Running a test to a
Specified Round", which I believe may be unreliable because it
allows multiple virtual clients to increment a shared global
counter (which I do not believe is thread-safe).
If you are uncertain about what I mean by "thread-safe" please
refer to my posting to this bulletin board on 8/27/99, titled
"Thread safe programming considerations".
And if cutting and pasting this Agenda script is problematic send
me an email and I will reply with the script as an email
The Carl Group
[This message has been edited by Terry Horwath (edited 08-27-1999).]
[This message has been edited by Terry Horwath (edited 08-28-1999).]