GetUserId Function

Description:

This function returns the virtual user ID. This ID is between 1 and number of user in the current taskgroup.
Always return 1 when the script is run from Script Editor.

Format:

result = GetUserId()

Example:

INTEGER iUserId;

iUserId = GetUserId();
log "UserId = " + ToString(iUserId);

Output:

UserId = 8





Go back to the Learning center:


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