Example: lr.get_master_host_name

In the following example, lr.get_master_host_name retrieves the name of the LoadRunner Controller.

String masterHost;
try { 
    masterHost = lr.get_master_host_name(); 
    lr.output_message ("The Master Host name is " + masterHost); 
}
catch (Exception e) {}