The process of creating a new load generator in a cloud account is known as provisioning the load generator.
Controller installs a default system configuration, or image, on the cloud. Alternatively you can apply a custom image. For more information, see Create custom image for load generators on the cloud.
-
Prerequisite: Set up your cloud account and Controller for provisioning load generators on the cloud. For details, see Load generators on the cloud.
-
Click Add From Cloud > Provision New LG. The Create Cloud Load Generator dialog box opens.
-
From the list of available cloud accounts, select the cloud account which will host the new load generator.
-
Specify the number of load generators to provision.
Tip: Increasing the number of load generators allows you to provision more than one machine with the same parameters.
-
To automatically terminate the machines after the scenario run and after all the data has been collated, select Terminate the load generator when load test is finished.
-
Click More to specify provider-specific parameters and images. Initially, default parameters are selected. These parameters are unique for each cloud provider. For details, see Create Cloud Load Generator dialog box.
Tip: In subsequent provisioning, LoadRunner Professional uses the connection settings that you last applied to a load generator, not necessarily a cloud-based machine.
- In the Machine Settings section, select the relevant settings. These settings differ for each of the supported cloud providers. The default values are the most popular and commonly used settings.
- In the Connections section, select the network profile created for the cloud connection from the drop-down list.
Click the
button to open the Network Profile Manager to create a new profile. For details, see Network Profile Manager dialog box. All of the connection settings will be applied to the new load generators that will be provisioned. For example, if you specify Port 6080, the load generator will be created on port 6080 and listen on the same port.
-
Verify the provisioning parameters (amount, termination policy, and machine parameters), and click Provision to provision the specified load generators
During provisioning, the load generator status is In Progress. This status indicates provisioning of the test machine on the cloud and launching the OS and load generator on this machine. This process can take a few minutes.
Once the load generator status changes to Down, it can be used for running a scenario. You can verify its availability by clicking the Connect button.
Caution: If you want to delete a cloud load generator from the scenario, make sure you select the correct deletion option. For details, see Manage load generators on the cloud.