Skip to end of metadata
Go to start of metadata

It is desirable to maintain cloud load agents only during the test execution to minimize their usage cost.

It means that load agents have to be automatically created before a test starts and terminated after the test ends. 

This option is implemented using Azure Cloud Templates that store parameters of load agents created on-demand dynamically.

Microsoft Azure Template Wizard

Temporary Microsoft Azure agents are created via Azure cloud templates. Inside the Load Agents section, click the Create AWS Load Agent Template button to bring up the Create AWS Template wizard.


 Note: StresStimulus creates On-Demand Windows instances. These instances are provided by Microsoft Azure at pricing described here. While StresStimulus attempts to terminate instances that are no longer needed, users are responsible for confirming that the instance was terminated by Azure. StresStimulus is not liable for any Azure charges.

Azure Credentials

To create Microsoft Azure Load Agents, you will need to have an active Azure account with a configured service principal user. Then enter your Client ID, Secret, Tenant, and subscription id in the text boxes and click Next. For more on finding your credentials, key click here.

Region Selection

Next, select the region in which to create your instance. A list of available regions is located here


Instance Type

Next, select the type of instance you wish to create. The instance type determines the performance of the instance, which includes the number of CPUs and memory size. For a list of available instance types, click here.


Agent Name

If you wish to create an agent from this instance for your current test, add an agent name in this step. Otherwise, skip it.


Click Finish on the confirmation screen to add the agent template to your test.



The newly added template can be treated as a regular agent. Set the mix weight to distribute VUs as described here.

Note

After the test is over, the agent machine will be terminated, and all data stored on the agent will be lost. Do not use templates if you wish to retrieve request/response data from VUs that executed on the agent.

Note

In the unlikely event that StresStimulus crashes, then the temporary agents will be terminated when StresStimulus is restarted.

  • No labels