Creating a simple test and VU Schedule

You must create a simple performance test and VU Schedule. By creating and playing back a test and a VU 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.
  5. Expand Test Assets, select New 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 Protocols and Features window, select the HTTP Protocol check box.
  9. In the HTTP Extension window, in the Number of HTTP pages to generate field, type 0 (zero).
  10. Specify the connection details and click Finish.
  11. Right-click testproj and select New >Performance Schedule.
  12. Type a name for the schedule, for example, Schtest, and then click Finish.
  13. Select User Group 1, and then click Add > Test.
  14. Select subtest, click OK, and then click File > Save.
  15. Right-click Schtest, and then select Run as > Performance Schedule.