Setting Up Agents
To use an Agent, you need to prepare it for load testing:
Install the LoadUI agent application on the Agent.
Open a port used for the connection on the Agent and on your local computer. The LoadUI agent application uses this port to communicate with ReadyAPI and tested web servers. If you use a firewall, make sure it allows traffic through these ports.
Configuring Agent Port
To change the agent port:
If you use the .exe file, add the following line in the
<LoadUIAgent>\bin\LoadUIAgent-3.30.0.vmoptionsfile. You can do this in any text editor:# This line configures connection port
If you use the .bat file, add the
set JAVA_OPTSline to it:set JAVA_OPTS=Xms128m -Xmx1000m -Dsoapui.properties=soapui.properties -Dgroovy.source.encoding=iso-8859-1 "-Dsoapui.home=%LOADUI_AGENT_HOME%" -Dloadui.control.port=1991
Specify the port you will use to connect to the Agent from ReadyAPI.
Setting Up Agent Outside of Local Network
To simulate virtual users on an Agent that belongs to a private network outside of your local network and resides behind a router providing NAT services:
Configure port forwarding for a port used for the connection on the Agent.
Make sure that the traffic from your local computer and from the Agent is allowed through this port.