Performance Tester consists of a workbench and one or more agents. In the workbench, you develop your performance tests. Like in the furniture maker's workbench, you put the parts together in the Performance Tester.
Here, you develop your performance tests and schedules. Also, the workbench processes and presents the performance measurements.
When you start the schedule on the workbench, the agent gathers information from the application under test and passes the information to the workbench. Then, the workbench processes the information to make the reports and the test log.
Agents do the work
A Performance Tester agent runs the performance tests. You can deploy an agent in the following ways:
Licensed to test For the agent, you don't need a special license. Ensure that you have the following licenses:
See Licensing Performance Tester for details about licensing.
How many agents: the more the merrier?
It is difficult to say how many agents you need to run a certain schedule. You can run schedules readily with 1,000 virtual users on an agent. Whereas other schedules support only 100 virtual users. The number of agents that you need depends on the workload of the agents. The workload depends on the following factors.
So, much depends on the application under test and the test that you develop.
To determine how many agents, you need, you must run a few representative workloads and monitor the resource consumption.
If you want to run extensive tests with many users, you must configure many agents and consider the following factors:
Configuring an agent and running a test
Before you begin
• You must have the Agent Controller installed on all computers that you want to involve in your performance testing.
• Install You must have installed all of the necessary licenses.
On the agent computer
1. Locate majordomo.config in <installation folder>\Majordomo.
2. Change <hostname> with the workbench name or IP address.
3. Restart the MajordomoService service.
On the workbench computer
1. Disable the integrated agent controller on the workbench. Click Window > Preferences > Agent Controller > Integrated Agent Controller.
2. Click the Agent Status icon. This icon is the fourth left icon on the workbench toolbar.
3. Verify that Load Generation Service reads Ready
Running a test from the agent
1. Create a schedule and implement a test.
2. Open the schedule. Then, highlight the User Group.
3. Select Run this group on the following locations in the User Group Details.
4. Right-click anywhere in the table.
5. Click Add New …
6. Complete the fields and choose the operating system that the agent runs.
7. Start the schedule.
Adding a new location
Follow me on Twitter @gunangwaney
Gunang Waney works as a product specialist of the Rational Testing tools. He is passionate about communicating technical knowledge and making things work for customers. Gunang graduated from Utrecht University, The Netherlands with an MSc degree and works in Amsterdam, The Netherlands. When he can escape from his computer, he spends time with his family.