Web Vuser Functions (WEB) > Alphabetical List of Web Vuser Functions > web_concurrent_end

web_concurrent_end

Marks the end of a concurrent group.

C Language

int web_concurrent_end( reserved );
        

Java Language

int object.concurrent_end( reserved );        
Argument
Description
object
An expression evaluating to an object of type WebApi. Usually web for Java. See also Function and Constant Prefixes.
reserved
A parameter reserved for future use. Pass a NULL argument.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

Parameterization is not applicable to this function.

General Information

The web_concurrent_end function marks the end of a concurrent group and initiates the concurrent execution of all the functions that were registered as concurrent—those between the web_concurrent_start and web_concurrent_end functions. Click Concurrent Functions for a list of functions that may be included within a concurrent group.

Note that the functions included within the concurrent group are not executed immediately. Instead they are registered for concurrent execution. When the concurrent group is closed, all of the functions registered as concurrent are executed together. The number of items submitted in parallel depends on the browser being emulated.

This function is supported for all Web scripts.