lr.get_master_host_name

Returns the name of the Controller host.

JavaScript

function lr.get_master_host_name( )

VBScript

Function lr.get_master_host_name( )
Informational Functions

The lr.get_master_host_name function returns the name of the machine running the Controller .

Not applicable for products that do not run Vusers.

Return Values

On success, returns the name of the Controller machine. On failure, returns NULL.

Parameterization

Standard parameterization is not available for this function.

VBScript Example

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

Copy code
Dim controller_host as String    
controller_host = lr.get_master_host_name( )