Running load tests often involves simulating requests from thousands of virtual users. Simulating these users requires a lot of resources from the computer running the test. In some situations, one computer cannot generate enough load to properly test the server.
To avoid this, you can create distributed tests. These tests use multiple computers to simulate the load on the target server. At the same time, each individual computer can handle the load generation.
If the computers creating the load are in different regions, you can measure how well your server works with clients from these regions. This also creates a more realistic test. All users are unlikely to access your server from one computer, so running distributed tests makes the simulation closer to actual user behavior.
In LoadUI NG, load tests are created in the Distribution page.
You can run these tests on any number of Agents (an Agent is a computer running the LoadUI Agent application).
You can also run load test from cloud, for example, by using the Amazon EC2 service. In this way you do not need to support the hardware for your load tests.
Agents run load tests in the same way as the tests are run on the local computer. You can modify the settings of the agent by copying the soapui-settings.xml file to the user folder on the agent computer. This file is stored in the user folder on any computer that has Ready! API installed.
To modify the maximum number of threads on the computer, change the
<con:setting id="UISettings@maxThreads">1000</con:setting> value.
For details on how to create distributed tests in LoadUI NG, see Creating Distributed LoadTests.
If your distributed test fail, check that you created it correctly. To do this, follow the instructions in the Creating Distributed LoadTests topic.
If you cannot fix the issues with your test, contact our Support Team. We will be glad to help you.