Lets you specify the execution results filename, the execution
results folder, and, for a test, the number of users.
You generally run a schedule by right-clicking it and selecting . However, you should set a launch configuration when:
- You want to specify a name for the execution results, or you want them
in a separate folder.
- You are running a test outside of a schedule, and you want to run the
test with more than one user.
- You want the launch configuration to appear in your toolbar menu.
- You want the launch configuration to be available to other users.
To set a launch configuration:
- In the Test Navigator, expand the project until you locate the
schedule.
- Right-click the schedule, and then click . If the Perspectives tab
appears, keep the defaults.
- In the Configurations section on the left, click Performance
Schedule, and then click New. A
test configuration, initially named New_configuration,
is created. Typically, you supply a configuration name that is similar to
the schedule name.
At this point, you can run the schedule if you click Run.
However, you will not have created a meaningful configuration.
- Click the Execution Results tab and enter a filename for the execution
results (the default is the name of the test or schedule). Performance Tester
appends a timestamp to this name. Select Override existing Execution
Results resource to overwrite the file each time that you run
the configuration.
- If you are running a test, click the Users tab and enter the number
of users to emulate.
- Click the Common tab to inspect or modify your run preferences.
- At Type of launch configuration, select
one of the following:
Option |
Description |
Local |
This launch
configuration is stored in your workspace, and it is not visible to other
users. |
Shared |
Other users
have access to the launch configuration; you are asked where to store it. |
- At Display in favorites menu, click one
or more of the following:
Option |
Description |
Run |
The launch configuration
appears in your Run toolbar menu. If you select a toolbar
menu at all, this is the logical choice for a schedule or test. |
Debug |
The configuration
appears in your Debug toolbar menu. |
Profile |
The configuration
appears in your Profile toolbar menu. |
- Verify that Launch in background is selected.
If you do not run the configuration in the background, you cannot do anything
in Eclipse until it finishes running the configuration.
- Click Apply, and then click Run to
run the configured schedule or test, or click Close to
save the configuration and run it later.