Managing Load Generators
Both aURL/API Load Test and
Script Load Test require you to specify, from among the available load generators, which load generators to include in the test.
This section is about Organization level Load-Generators which controls which load-generators are available per organization and offers another level of abstraction (Locations), not to be confused with Globa Lab Load Generators that is a global service to manage all local load-generators accross all Consoles.
Adding Load Generators
To add a new load generator:
-
In the menu bar, select Profile > Load Generators. The Load Generators window appears.
-
Click +Add a new load generator.
An Add New Load Generator window appears.
-
In the Name field, specify the load generator’s IP address or host name.
-
In Generator Type, select whether the generator is a Local Machine or a Cloud Machine.
If you want to specify a Cloud Machine, first make sure it was specified as a Cloud Host in the WebLOAD Console. Refer toSpecifying a Cloud Host as a Load Generator
-
In Location, enter a human-readable field. This value does not have to be unique per load generator machine, and has an important role, as described inSetting Load Generators’ Location Tag
Note that if you leave the Location field empty, the system will automatically give this field the value entered in the Name field.
Setting Load Generators’ Location Tag
Load Generators are defined by Name and Location. However, in the test-creation pages, the load generators are listed by Location only (and not by Name).
This is helpful when defining a load test, because of the relationship between Name and Location, as follows:
- Multiple separate machines can have the same Location (by defining multiple load generators whose Locations are identical but whose Names are not). For example:
If:
- You want all load generators in Test Lab 1 to participate in certain tests.
Then:
- Give the same "Test Lab 1" Location to all the load generator machines located in Test Lab 1.
Finally:
- You need only to select "Test Lab 1" in the Load Generators section of the Create Load Test page, and all the load generators whose Location is "Test Lab 1" will be included.
- Likewise, any one machine can be given multiple different Locations (by defining multiple load generators whose Names are identical but whose Locations are not). For example:
If:
- You sometimes want to choose load generators based on their operating system, and other times based on their geographical location.
Then:
- Define each load generator twice, once with Location describing its OS (Windows or Linux), and once with Location describing its geographical location (New York or London).
Finally:
- You need only to select "Windows", "Linux", "New York" or "London" in the Load Generator section of the Create Load Test page, and only the load generators fitting that description will be included.
Specifying a Cloud Host as a Load Generator
If you want to specify a cloud machine as a load generator, you need to first define the cloud host machine in the WebLOAD Console.
To define a cloud host in WebLOAD Console:
- In WebLOAD Console, set up a WebLOAD Dashboard Account as follows:
- Create an Amazon EC2 account.
- Click Cloud Options in the Tools tab of the ribbon to create a WebLOAD Dashboard account in which you specify your Amazon security credentials, the specific Amazon region where the machines should be located, and the WebLOAD image to install on the Amazon machines.
For a full description , refer to Setting Up Cloud Computers in the WebLOAD Console User Guide.
- In WebLOAD Console, define cloud host computers as follows:
- Click Add in the Host Selection window of the WebLOAD wizard.
- In the Add Host Computer window that appears, select Add Cloud host .
For a full description , refer to Adding Host Computers in the WebLOAD Console User Guide.
`