Overview
You will find that it is often necessary to edit a schedule in order to represent a workload properly. Although it is
possible to run a schedule with only one user group or one test to run, in the majority of cases you will want to edit
the schedule to reflect your workload requirements.
There are many ways to edit a schedule. You can, for example, add a user group, a test, loops, delays, or a random
selector. In this tool mentor, the focus will be on two of the more frequently encountered types of editing a schedule,
namely adding a user group and adding a test.
Tool Steps
-
Editing a Schedule by Adding a User Group
-
Editing a Schedule by Adding a Test
1. Adding a User Group
To edit a schedule by adding a user group, perform the following steps:
-
In the Test Navigator, expand the project until you locate the schedule.
-
Right-click the schedule, and then click Open.
-
In the Schedule Editor, right-click the schedule, and then click Add > User Group.
-
In the Group Name field, enter a descriptive name for the user group.
-
In the Group Size section, select Absolute or Percentage (where Absolute indicates a static number
of users and Percentage indicates a dynamic number of users), and then enter the number or percentage of users in
the group.
-
Decide whether the user group will run on your computer or on another computer.
To declare a remote location:
-
Click Add New.
-
In the Add Location Wizard, select the project to store the location.
-
In the File Name field, type the name of the file that will contain information about this
computer, and then click Next.
-
In the Name field, enter a descriptive name for the remote computer.
-
In the Hostname field, enter the IP address or the fully qualified host name of the remote
computer.
-
In the Deployment Directory field, enter the directory on the remote computer that will store
the test assets. The directory, which is created if it does not exist, stores the temporary files that are
needed during a schedule run.
-
In the Operating System field, select the operating system of the remote computer, and then
click Finish
To add an already declared location:
-
-
Click Add Existing
-
In the Select Location dialog box, select the computer on which the user group will run, and then click
OK.
2. Adding a Test
A test lets you emulate the action of an individual user.
To edit a schedule by adding a test, perform the following steps:
-
In the Test Navigator, expand the project until you locate the schedule.
-
Right-click the schedule, and then click Open.
-
Right-click the user group that will contain the test, and then click Add > Test.
-
In the Select Performance Tests dialog box, expand the project name to display the test that you want to add.
-
Click the name of the test, and then click OK. The test appears in the schedule.
For more information on editing a schedule in
IBM® Rational® Performance Tester, see the topic Representing workloads in the Rational Performance Tester online
Help.
|