lr.rendezvous

Creates a rendezvous point in the Vuser script.

int lr.rendezvous( String rendezvous_name ); 
Runtime FunctionsJava Syntax

Arguments

NameComments
rendezvous_name The name of the rendezvous.

The lr.rendezvous function creates a rendezvous point in a Vuser script. When this statement is executed, the Vuser program stops and waits for permission to continue.

This function can only be used in an action section, and not in vuser_init or vuser_end.

The difference between lr.rendezvous and lr.rendezvous_ex is that lr.rendezvous always returns zero.

Return Values

This function always returns zero.

Parameterization

You cannot use standard parameterization for any arguments in this function.

Example

In the following example, lr.rendezvous sets the QueryRendz rendezvous point. When all users belonging to this rendezvous arrive at the rendezvous point, they perform the next instructions simultaneously.

lr.rendezvous("QueryRendz");
matches = orSearchEngine.search( lr.eval_string("<QUERY_STRING>") , 50 );
for (int i = 0; i < matches.length; i++ ) { 
    // ...
}