Example: lr.get_vuser_ip

In the following example, the lr.get_vuser_ip function checks the IP address of the current Vuser and sends it to the Output window.

    Dim ip as String
    ip = lr.get_vuser_ip()
    if Len(ip) > 0 Then
         lr.output_message "The IP address is " + ip
    else
         lr.output_message "IP spoofing disabled"
    end if