Creating a simple test and schedule

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.

Procedure

  1. Create a performance test project (File > New > Performance Test Project).
  2. Type a project name, for example, testproj, and then click Finish.
  3. When the Create New Test From Recording prompt opens, click Cancel.
  4. Right-click testproj and select New > Test Element.
  5. Expand Test Assets, select New HTTP Test, and then click Next.
  6. Name the test, for example, subtest, and then click Next.
  7. In the Test Attributes window, click Next.
  8. In the HTTP Extension window, in the Number of HTTP pages to generate field, type 0 (zero), and then click Finish.
  9. Right-click testproj and select New >Performance Schedule.
  10. Type a name for the schedule, for example, Schtest, and then click Finish.
  11. Select User Group 1, and then click Add > Test.
  12. Select subtest, click OK, and then click File > Save.
  13. Right-click Schtest, and then select Run as > Performance Schedule.

Feedback