Subscribe to SoftLogica
Newsletter to get 10% discount on newly
released products!
How to Add a New Load Agent Installed on a Remote Server
How to Add a New Load Agent Installed
on a Remote Server
If your Load Agent is located outside LAN and you cannot find it using the
Search LAN for available load agents button
(in the Load Agents view), you can add it manually using the Add button.
This button initiates the following dialog where you can specify agent settings:
Name: Enter a name for the new Load Agent. Server: Enter server name or IP address. Port:WAPT Pro Workplace will use the specified port to connect to this agent.
Version: Here you can see the version of Load Agent.
When you add a new agent, this field is empty. Version number is available when
you select some agent in the list of Load Agents and click the Edit button to view
agent settings.
Use IP spoofing:
You can set up multiple IP addresses on any server running Load Agent
and then use several IP addresses during tests to emulate page requests coming from multiple computers.
This feature is called IP spoofing.
Check the Use IP spoofing option to enable it for current agent.
Click the IP Address List... button and you will see the list of IP addresses
available on the server running Load Agent.
Select desired IP addresses and Load Agent will use them during test runs
to emulate page requests coming from multiple computers.
If you select several addresses, Load Agent will use them at random.
Select All: Checks all IP addresses in the list.
Select None: Removes all checkmarks in the list.
Note that you should set up several IP addresses on servers running Load Agents beforehand and
then you will see them in the dialog above.
Use proxy server while performing the test: If you check this option,
Load Agent will use the proxy server during test runs.
By default, Load Agents connect to the tested server using the direct connection
(without using the proxy server). However, you can check this option to use
the proxy server during tests.
Use Internet Explorer proxy
settings: If you choose this option, the Load Agent will use the
current Internet Explorer proxy settings for test runs.
Each time you run a new test, the Load Agent will define the
current proxy settings of Internet Explorer and use them for the test.
Use custom proxy settings:
If you choose this option,
you should specify the certain proxy configuration for test runs.
Type: Select proxy server type
(HTTP, HTTPS, SOCKS4, or SOCKS5). Server: Enter proxy server name. Port: Enter proxy server port number. Advanced..: Specify advanced proxy settings:
Use authentication: Check this option if the proxy server requires
authentication. Enter username and password for proxy authentication.
Load Agent will automatically define the type of
authentication (basic authentication or Integrated Windows Authentication (NTLM)).
Bypass proxy server for local addresses: Check this option to bypass the proxy server for local addresses during
test runs. Do not use proxy server for addresses beginning with: Load Agent will bypass the proxy
server during test runs for addresses that you specify here.
If you enter several addresses, separate them by semicolons.
Note that testing through the proxy server could lead to distortion
of test results. We recommend using proxy only in case it is really
necessary, for example, if the tested server is outside the firewall and there is no
direct channel to it, or if you wish to test the proxy server.
Authorization on the Agent
If you install the Load Agent on a remote server where you run
your tests, you may need to prevent unauthorized access to it. For this purpose
WAPT Pro provides you with the opportunity to make authorization on the agent.
When you install the agent, a special file accounts.xml is created in the folder
Config of WAPT Pro installation folder.
It is an XML file with the list of usernames and passwords for authorization on the agent.
This file looks as follows:
If variable AllowEveryone="TRUE", then everybody will be able to access the agent.
However, you can give permission to several testers to connect to the agent and prevent
other people from using it. Set variable AllowEveryone="FALSE"
in the accounts.xml file and
specify usernames and passwords for authorization on the agent, for example:
Note that if you set variable AllowEveryone="FALSE" but
do not specify the list of usernames/passwords,
then nobody will be able to connect to the agent.
If the agent requires authorized access, you should specify the username and password for authorization in
agent settings in WAPT Pro Workplace.
Then each time you connect to that agent, it will automatically check credentials specified in its settings.
If the Load Agent accepts credentials, you can use it to run your tests.
Authenticate: Turn this option on
if the Load Agent requires authorized access, and specify the username and password for authorization.