Sidebar

Creating Distributed Cloud Tests

To create distributed cloud tests you need a LoadUI NG Pro license.

In this tutorial, we create a small distributed test that uses a cloud agents to run your test created in the Load Testing Getting Started Tutorial. We will use the public Amazon machine image provided by SmartBear. For instructions on creating a custom image, see Creating Custom Amazon Machine Images.

Requirements

To run LoadUI distributed cloud tests, you need to meet the following requirements:

  • LoadUI NG Pro license must be active. Feel free to request a trial on our web site.
  • You need the cloud service profile. Currently only Amazon is supported.
  • Open the port used for the connection on the local computer. By default, the agent uses port 1991 to communicate with LoadUI NG. If you use proxy or firewall, allow network connections using these ports.
  • Make sure that you have network access to the cloud that will simulate the test.

Add And Configure Cloud Agents

Switch to the Distribution page.

To add a Cloud Agent, click on the toolbar.

  • In the Add Cloud Agent dialog, make sure Amazon cloud provider is selected, and click .

  • In the Add Amazon Cloud Credentials dialog, specify the profile name and your access key and secret access key. Click OK in both dialogs.

  • Select the created Cloud Agent. The Cloud Agent Controller property editor will appear.

  • Specify the Region and Zone of the cloud instance you want to use.
    Select SmartBear LoadUI NG Agent or your custom image as the Image. Ready! API will launch the specified count of cloud instances from the provided image that LoadUI NG can interact with.

  • Input the number of agents and the type of instance these agents will be run on. In this example, we use 10 agents run on m3.medium instance. The type of the instance you need depends on how many virtual users you plan to simulate and how complex your underlying SoapUI NG test is.

  • Now drag the scenarios into the agents. If you add multiple scenarios, LoadUI NG will simulate all of them simultaneously.

Switch To The Distributed Mode

By default, LoadUI NG does not run tests on agents. You need to switch it to the Distributed Mode before running your load test. To do this, use the dropdown list next to the play button and select Run scenarios on agents. After this, the load test will run on cloud agents.

Run The Test

To start the load test, click . LoadUI NG will first display the Price Check dialog. This dialog displays the likely price of your test. Click OK. LoadUI NG will start the required cloud instances and run the tests on them.

Check The Test Results

Switch to the Statistics page. In this page, add a new statistics group. When selecting a statistic to display, you can choose the statistic from the cloud agent you need. To display the statistics for the cloud agent, choose the agent's name. To display overall test statistics, choose Summary for all agents. For more information about checking test results, see Statistics Page.

For details about load test results, see Viewing Test Results.

See Also

Help and Feedback

You did not find what you looked for?

© 2016 SmartBear Software


×
Didn't find an answer? Try searching here: