LoadGenerator represents a Load Generator running the test.
Usually, for debugging purpose, you can get the name (host name) of the current Load Generator (e.g. "myLGHost2") with context.currentLG.name
public class LoadGenerator {
// Public Fieldspublic int id ;
public String name ;
// Public Methodspublic String getZoneName();
}
public int id ;
The id of the Load Generator (e.g. 3). This is a unique id of this Load Generator.
public String name ;
The Load Generator name (e.g. "myLGHost2"). This name is the Load Generator host name defined in the NeoLoad configuration.
public String getZoneName();
Parameters
return
Returns the name of the Zone containing this Load Generator.