You must create a simple performance test and schedule. By creating and playing back a test and a schedule, code is generated for both. Later, you will modify the generated test code so that the test contains a special action that uses the sample subsystem.
Create a simple test and schedule
To create a simple test and schedule...
- Create a performance test project...
File | New | Performance Test Project
- Type a project name, for example, testproj, and then click Finish.
- When the Create New Test From Recording prompt opens, click Cancel.
- Right-click testproj and select...
New | Test Element | Test Assets | New HTTP Test | Next
- Name the test, for example, subtest, ...
- In the Test Attributes window, click Next.
- In the HTTP Extension window, in the Number of HTTP pages to generate field, type 0 (zero), and then click Finish.
- Right-click testproj and select...
New |Performance Schedule
- Type a name for the schedule, for example, Schtest, and then click Finish.
- Select User Group 1, and then click Add > Test.
- Select subtest, click OK, and then click File > Save.
- Right-click Schtest, and then select...
Run as | Performance Schedule
Run Configurations
To set Run Configuration
- Click...
Run | Run Configurations
This brings up...
- Right-click Performance Schedule and click New.