Load Testing On Cloud Computers

Applies to ReadyAPI 3.57, last modified on December 20, 2024

You may want to run your load tests on cloud computers to accomplish the following tasks without buying more hardware:

  • Significantly increasing the number of load agents and increasing the number of virtual users simulating the traffic.

  • Executing load tests on cloud instances.

Available Cloud Providers

You can use ReadyAPI to run your test on the Amazon EC2 cloud service.

Running Tests on Cloud Agents

To run your tests on cloud agents, add a cloud agent to your distributed test and configure it. You can use the public SmartBear ReadyAPI Performance Agent image available in all regions to start testing without additional settings, or create your own custom image.

For a brief tutorial on adding and configuring cloud agents in ReadyAPI, see the Creating Distributed Cloud Tests tutorial.

When you start the test, ReadyAPI automatically launches the specified number of cloud agents and simulates the traffic from them. All the data transmitted between ReadyAPI and cloud agents is encoded. You do not need to prepare the agent before the load test as long as your cloud machine image is configured correctly.

After the test finishes, the cloud agent instances are terminated. They are also terminated automatically, if they lost the connection to the ReadyAPI computer (the computer where you run your distributed test) and cannot restore the connection to this computer for a few minutes.

We strongly recommend that you check that all the created instances are terminated after the test is over, especially if the load test stopped unexpectedly or the connection to the cloud service was lost.

Available Instance Types

Instance types available for your cloud test depend on the test region and selected image.

The best instance choice for your load tests depends on testing tasks you need to accomplish and on the environment in which you want to simulate virtual users:

  • The more virtual users you need to simulate on each cloud agent, the higher the CPU capacity of the instance should be.

  • The more complex the scenarios are, the higher the CPU capacity of cloud computers should be.

  • The higher the request size in your test is, the higher the RAM capacity should be on cloud computers.

To check whether the performance of the selected instance type is enough for your load test, connect to the instance and monitor its CPU, memory, and network usage during the load test run.

See Also

Creating Distributed Cloud Tests

Highlight search results