Designing performance tests

You design your performance test in the Performance Test Designer.

How do I open the Performance Test Designer?

You open the test designer as follows:

  1.  In the banner, click the module name or arrow and select Test Management > Tests & Scripts.

  2. Select the test you created above, and click the Edit Test button on the toolbar. The Performance Test Designer opens.

Back to top

How do I design the performance test?

From the Groups and Workload view in the Performance Test Designer, you perform the basic test design steps. You design the test as follows:

  1. Assign a Controller to the test.

    1. Click the dropdown arrow adjacent to the Controller box (in the Summary pane). The Select Controller dialog box opens.

    2. Select Specific.

    3. Select from the list the host machine that has been assigned the Controller and Load Generator (C+LG) purpose.

  2. Add Vuser scripts.

    1. In the Groups pane, click the Add Group button Add button. The Add Group dialog box opens, displaying the Scripts tree with the script that you uploaded previously.

      Add Group dialog box

    2. Select the script and click Add to add it to the test. The script appears in the Groups pane.

    3. Script displayed in the Groups pane

  3. Add load generators.

    1. From the Groups pane toolbar, click Assign LGs.

      The Assign Groups to Load Generators dialog box opens.

    2. In the Groups column, select the Vuser groups to use in the test.

    3. In the Load Generators column, select the Specific tab, and from the list that appears, select the host machine that has been assigned the Controller and load generator (C+LG) purpose.

    4. Click Apply Assignment.

  4. Configure the schedule settings.

  5. A schedule defines the actions of the Vusers for the performance test run, for example the behavior of 10 Vusers emulating 10 users simultaneously logging on to the same Web site.

    Because typical users do not perform the same action simultaneously, the Scheduler allows you to schedule a performance test according to a more realistic portrayal of typical user behavior.

    Define the schedule as follows:

    In the Scheduler pane of the Groups and Workload tab, click in each of the schedule actions in the Actions grid and define them as follows:

    • Initialize.

    • Initialize action

    • Start Vusers.

    • Start Vusers action

    • Duration.

    • Duration action

    • Stop Vusers.

    • Stop Vusers action

      The schedule graph displays a graphical representation of the defined schedule. The lines in the graph correspond to the actions defined in the Actions grid.

      The defined schedule

Back to top

How do I add the monitor profile to the test?

You add the monitor profile to the test as follows:

  1.  In the banner, click the module name or arrow and select Test Management > Tests & Scripts.

  2. In the test management tree, select the test that you created in Creating performance tests and click Edit Test.

  3. In the Performance Test Designer window, click the Assets tab and select Monitors.

  4. Click the Assign Monitors button Assign Monitors button. From the Monitor tree, select the monitor profile and click Select & Close to add it to the test.

Back to top

Next steps: