Example: lr.get_vuser_ip

The following example retrieves the IP address of the current Vuser.

string vuserip=lr.get_vuser_ip();

if(vuserip==null)

lr.output_message("Failed to get the Vuser IP address");

else

lr.output_message("Vuser IP = " + vuserip);