LoadGenerator Class

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

Synopsis

 public class LoadGenerator {
  // Public Fields
  public int id ;
  public String name ;
  // Public Methods
  public String getZoneName();
}

id

public int id ;

The id of the Load Generator (e.g. 3). This is a unique id of this Load Generator.

name

public String name ;

The Load Generator name (e.g. "myLGHost2"). This name is the Load Generator host name defined in the NeoLoad configuration.

getZoneName()

public String getZoneName();

Parameters

Returns the name of the Zone containing this Load Generator.