support group and knowledge-sharing community caring about easy load testing
Distributed testing allows spreading load generators across multiple machines running Load Agents, which operate under the management of a Controller. The benefit of distributed testing is the ability to emulate practically an unlimited number of VUs and mimic users disseminated across a network and geographically. Distributed testing is available in the Enterprise edition only.
Distributed testing step-by-step
Step 1. Installing Controller and Load Agents. A single StresStimulus software product performs three distinctive roles: Designer, Controller, and Load Agent. On the test design stage, the Designer is used for designing test scenarios (test script) and configuring test parameters. The Controller executes the test. It distributes the amount of load between Load Agents, coordinates their operation, collects and aggregates real-time performance metrics and generates final reports. The Load Agents operate concurrently under the orchestration of the Controller. Load Agent can be installed on a physical or virtual machine as well as on an Amazon EC2 instance. Controller should not be installed on Amazon EC2 instances.
StresStimulus Enterprise edition software, after installation, operates as a Designer and Controller. In order to launch a Load Agent, after installing StresStimulus, enable Agent mode. To do so (see Fig 1.),
The Controller communicates with the Agents on this port as a client. If the Controller displays a communication error, make sure that StresStimulus is running on the remote computer in agent mode, and that TCP port 49998 is opened on firewalls between the controller and agents.
With the Enterprise Edition license, you can install as many load agents as you need. To return back to the designer/controller,the Agent mode should be disabled.
Configuring a load agent on Amazon EC2 instance. Make sure that port 49998 is opened on Amazon virtual firewall. Fig 2 shows the example how it can be configured.
Step 2. Configuring Load Agent connections in the test. In the Test Configuration section -> Load Agents, the grid in the data pain displays Load Agent connections and settings. The first agent in the test is the controller by itself. The first agent name is Local. To add a new connection (see Fig 3).
Step 3. Configuring load distribution. The number of VUs emulated by a Load Agent is proportionate to its VU weight.
Step 4. Distributed test results. During the test run, the controller communicates with the agents and collects, aggregates and displays graphs with real-time performance metrics. When configuring the load test, make sure to add to the controller required performance counters
, because performance counters are not collected from the agents. Every agent displays its own local key performance indicator graphs locally. Agents also display local CPU and memory utilization graphs. Since the agents are most likely operated on unattended computers, agent graphs and progress monitors can be viewed via Remote Desktop sessions. After the test completion, the controller generates consolidated summary and detailed reports.
To navigate to other parts of the v2.0 notes, click the links below:
V2.0 beta is available for download here.