GetUserIP Function

Description:

This function returns the IP address the current virtual user uses when IP spoofing is activated.
Returns "0.0.0.0" if IP spoofing is not activated.

Format:

result = GetUserIP()

Example:

STRING szUserIP;

szUserIP = GetUserIP();
log "UserIP = " + szUserIP;

Output:

UserIP = 10.1.1.7





Go back to the Learning center:


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