The Load Generator Agent manages Load Generator sessions to stress a server. Starting a Load Generator Agent only is useful to make the best of the capacity of a machine dedicated to run Virtual Users.
Load Generator Agents are managed in the NeoLoad Controller. When on the same network, the NeoLoad Controller automatically detects the Load Generator Agents available. When automatic detection is impaired (firewalls, routers, and so on), the Agents must be specified in the Controller. For more information, see Zones and Load Generator hosts.
The Agent must be previously installed, within a Controller installation or as a a standalone installation. For more information, see Install the Controller and Install a Load Generator Agent respectively.
The Load Generator Agent can be launched:
NeoLoad 7.9\bin\LoadGeneratorAgent.exe
executable, orNeoLoad 7.9/bin/LoadGeneratorAgentService start
, orNeoLoad 7.9/bin/LoadGeneratorAgent
, orservice LoadGeneratorAgentService start
command using the root account.NeoLoad 7.9\bin\LoadGeneratorAgent.exe
, orNeoLoad 7.9/bin/LoadGeneratorAgent
, orNeoLoad 7.9/bin/LoadGeneratorAgentService start
, orservice LoadGeneratorAgentService start
with the root account.Additional Load Generator Agents can be started by specifying a port number at launch time.
To add a Load generator Agent, open a command prompt and enter the following line:
7.9/bin/LoadGeneratorAgent -port <
port number> start
Tip: To add an additional Load Generator Agent, you can also set the following environment variable:
export AGENT_PORT_SERVER=<port number>
set AGENT_PORT_SERVER=<port number>
If the NeoLoad Terminal Services feature cannot be used for any reason and a custom script is required, here is the command to start a Load Generator Agent in Terminal Services mode:
NeoLoad 7.9\bin\LoadGeneratorAgent.exe -terminalServices
The Load Generator then uses a unique working folder and picks an available port dynamically. Add the Load Generator to NeoLoad by using the Bind action from the Terminal Services feature. For more information, see Terminal Services.
According to the installation mode (standalone Agent or Controller), the Load Generator Agent can be stopped:
NeoLoad 6.6\bin\LoadGeneratorAgent.exe -stop
, orNeoLoad 6.6/bin/LoadGeneratorAgentService stop
when the Agent has been started with NeoLoad 6.6/bin/LoadGeneratorAgentService start
, orNeoLoad 6.6/bin/LoadGeneratorAgent -stop
, orservice LoadGeneratorAgentService stop
when the Agent has been started with service LoadGeneratorAgentService start
, orNeoLoad 6.6\bin\LoadGeneratorAgent.exe -stop
, orNeoLoad 6.6/bin/LoadGeneratorAgentService stop
when started with NeoLoad 6.6/bin/LoadGeneratorAgentService start
, orNeoLoad 6.6/bin/LoadGeneratorAgent -stop
, orservice LoadGeneratorAgentService stop
when started with service LoadGeneratorAgentService start
, or