web.concurrentStart

Marks the beginning of a concurrent group.

Syntax

web.concurrentStart( [concurrentGroupName] );

 

Property Name
Description
concurrentGroupNameThe name of the concurrent group.

Return Values

Not applicable

Parameterization

All string arguments (char type) can be parameterized using standard parameterization.

General Information

The web.concurrentStart function marks the beginning of a concurrent group. All functions within the group are executed concurrently. The end of the group is marked by the web.concurrentEnd function. Click Concurrent Functions for a list of functions that can 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.

Example

	web.concurrentStart("GetImages");

	web.customRequest(
		{
			name : 'logo.gif', 
			url : 'http://kalimanjaro/Images/logo.gif', 
			method : 'GET', 
			resource : 1, 
			recContentType : 'image/gif', 
			referer : 'http://kalimanjaro/', 
			snapshot : 't2.inf'
		}
	);

	web.customRequest(
		{
			name : 'ganim5b.gif', 
			url : 'http://kalimanjaro/Images/ganim5b.gif', 
			method : 'GET', 
			resource : 1, 
			recContentType : 'image/gif', 
			referer : 'http://kalimanjaro/', 
			snapshot : 't3.inf'
		}
	);

	web.concurrentEnd("0");