WaitSemaphore Command

Description:

This command halts the Script until the specified semaphore is in its "Set" state.
If the semaphore is in its "Clear" state when the WAIT FOR SEMAPHORE command is issued, the virtual user will be suspended until another virtual user set the semaphore in is in its "Set" state.

Format:

WaitSemaphore semaphoreName;

Parameters:

semaphoreName

A string expression containing the name of the semaphore to wait for.

Example:

WaitSemaphore "mysemaphore";





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap