Groups and Workload tab (Performance Test Designer)

This topic describe how to define a workload for the test.

Open the Groups and Workload tab

Use the Groups and Workload tab to select a Controller for the test, scripts to run in the test, and load generators on which to run the Vusers. You also define a run schedule for the test.

To open the Groups and Workload tab in the Performance Test Designer:

  1. From the LoadRunner Enterprise navigation toolbar, click and select Test Management (under Testing).

  2. Select a performance test in the test management tree and click Edit Test.

  3. In the Performance Test Designer window, click Groups & Workload.

Back to top

Workload tab common area

User interface elements are described below:

UI Elements

Description

Workload type

Displays the workload type for the test. Click to open the Workload Types dialog box and select a type of workload for the test.

For details, see Vuser distribution methods.

Note: Not available for Goal-Oriented schedule.

Controller

Displays the Controller selected for the test. Click to open the Select Controller dialog box and select a Controller for the test.

For details, see Select a Controller.

Trending

Displays the trending settings for the test. Click to open the Trend Settings dialog box, which enables you to configure LoadRunner Enterprise to automatically publish trend results.

For details, see Trend Settings dialog box.


Options. Opens the Test Options dialog box, enabling you to set general scheduler and testing options. For details, see Configure test options.

Back to top

Groups pane

User interface elements are described below (unlabeled elements are shown in angle brackets):

UI Elements

Description

Select Scripts. Opens the Scripts Tree pane, enabling you to select scripts to run in your test. For details, see Scripts tree pane.

View Script. Opens the script selected in the Groups grid in a read-only window.

Versioning:

  • As long as a script is checked in, the same version is displayed for all users.

  • If you have checked out the script, the script displayed is your own private copy of the script. If you make changes to the script, other users will not be able to see your changes until you check the script back in. Similarly, if other users check in changes to this script, you will not be able to see them as long as you have the script checked out.

  • If another user checks out the script, you will still see the latest checked-in version.

Note: To view Service Test scripts, Service Test 11.00 must be installed on the client machine.

Edit Script Parameters. Opens the Parameters dialog box for the selected script, enabling you to modify any parameters that are in the script.

Note: If you edit a parameter, the change will affect every performance test in the current project that uses the script.

For more on script details, see Create and manage tests.

Delete Group. Deletes the selected Vuser group.

Edit Runtime Settings. Opens the Runtime Settings dialog box for the selected script, enabling you to configure its runtime settings.

To use the default settings, click Use Defaults. Vuser scripts have individual runtime setting defaults for VuGen and the Controller, to support the debugging environment of VuGen and the performance testing environment of the Controller.

For details, see Configure runtime settings.

Duplicate Runtime Settings. Opens the Duplicate Runtime Settings dialog box, enabling you to select a source script, and copy its runtime settings to one or more scripts of the same type.

Note: The source and destination scripts must be of the same script type.

Edit Command Line. Opens the Command Line dialog box, enabling you to pass arguments to instruct the Controller how to behave. By passing arguments in the command line, you configure test settings without the need to manually define them in the user interface.

  • Command line. Type the name and value of the parameter you want to send using the format, <Parameter_Name> <value>.

    Note: For information about the command line parsing functions, or for details about including arguments on a command line, see the LoadRunner Online Function Reference, provided with Virtual User Generator.

  • <Command line options>. Select whether to:

    • Apply the command line to the current script only

    • Apply the command line to all the scripts in the test

    • Add the command line to all the scripts in the test

Note: You cannot pass arguments to Service Test tests.

Relative Distribution. Opens the Relative Distribution dialog box, enabling you to provide a ratio by which LoadRunner Enterprise calculates the percentage of Vusers to distribute to each Vuser group.

  • Ratio. The part of total number of Vusers to distribute to the corresponding Vuser group.

    Example:

    To distribute 200 Vusers among the groups at a ratio of 1:1:3, type 1 for group1, 1 for group2, and 3 for group3.

    20% of the Vusers are assigned to group1, 20% to group2, and 60% to group3. That is, 40 Vusers are assigned to group1, 40 Vusers to group2, and 120 Vusers to group3.

  • Group Name. The name of the Vuser group.

Note: Enabled in percentage mode only.

View Rendezvous. Opens the Rendezvous dialog box, enabling you to enable or disable rendezvous points, and set policies for how to treat Vusers when they arrive at a rendezvous point. For details, see Rendezvous points.

Duplicate Scheduler Settings. Opens the Duplicate Scheduler Settings dialog box, enabling you to select a source Vuser group, and copy its schedule settings to one or more Vuser group in the test.

For details, see the instructions on how to copy group schedules in Define a schedule for the test.

Available for: Schedules by group only.

Assign LG. Opens the Assign Load Generators to Groups dialog box for the selected script, enabling you to assign load generators to the Vuser groups in the test. For details, see Assign Load Generators to Groups dialog box.

LG Management. Opens the Load Generator Management dialog box, enabling you to define properties for a load generator. Properties include a location, and other host attributes. You can also create and connect to a terminal session, which enables you to run multiple load generators simultaneously in your performance test. For details, see Load Generator Management dialog box.

Virtual Location Editor. Opens the Virtual Location Editor dialog box, enabling you to emulate probable Network Virtualization effects over your network, thereby creating a more realistic performance test.

For details, see Virtual Location Editor dialog box.

Advanced > Services Virtualization

Opens the Configure Service Virtualization dialog box, enabling you to integrate virtualized services into your performance test. For user interface details, see Service Virtualization dialog box.

For details on creating projects that contain virtualized services, see the Service Virtualization Help Center.

For task details on using virtualized services in performance tests, see Add virtualized services to performance tests.

Note: The integration with Service Virtualization is supported in LoadRunner Enterprise 2020 only.

Advanced > Open PAL Report

Opens the Select PAL Report dialog box, enabling you to select a PAL production report. For more details on PAL, see Performance Application Lifecycle (PAL).

Note: The PAL feature is not available in this release of LoadRunner Enterprise.

Advanced > Analysis Template Options

Opens the Analysis Template Options dialog box, enabling you to select a customized template for the analysis report of your performance test.

For task details on using customized analysis templates, see Customize Analysis templates.

Total Vusers

Displays the total number of Vusers distributed to all of the Vuser groups participating in the test. For details, see Distribute Vusers among Vuser groups.

<grid filters>

Located under each column name. Displays the filter that is currently applied to a column. If the filter box is empty, no filter is currently applied to the column.

Type directly into the box and press Enter to apply the filter.

Groups grid

Displays the Vuser groups participating in the test.

  • Vusers. (By Number mode, for Basic or Real-World Schedule) The number of Vusers distributed to the Vuser group. The default value is 1 Vuser.

  • % of Target. (For Goal-Oriented Schedule) The percentage of the overall target number of Vusers, hits per second, or transactions per second that is automatically distributed to each Vuser script.

  • Group Name. The name of the Vuser group.

  • Script Name. The name of the Vuser script associated with the Vuser group. When the group is selected, the script name turns into a link. To select a different script, click the script name and select a script.

  • Script Type. The Vuser script type.

  • Load Generators. The load generators assigned to the Vuser group.

  • Virtual Location. Enabled when setting Network Virtualization per load generator. For details, see Integrate Network Virtualization into a performance test.

  • NV Insights. Enables you to include an NV Insights report into your performance test.

    Note:

  • Tag. A tag for the Vuser group. Tagging enables categorization and easy identification of Vuser groups.

    Example: If you have finished configuring runtime and Scheduler settings for the group, you could tag the groupDone. For a group that is not yet done, you could tag TODO.

Back to top

Scripts tree pane

The Scripts tree pane, enables you to select scripts to run in your test. It lists all the VuGen scripts, Noise Generator scripts, JMeter scripts, UFT GUI tests, and UFT API tests, that have been uploaded to the project.

User interface elements are described below:

UI Elements

Description

Scripts tab
  • Drag and drop one or more scripts from the tree into the Groups pane or select the scripts and click .

    Tip: You can select whole folders of scripts, or select multiple scripts while holding down the Ctrl key on your keyboard.

  • To refresh the Scripts tree, click .

  • To filter the Scripts tree by script or script folder name, type the name of a script (or part of the name) in the search box. LoadRunner Enterprise displays all scripts and/or folders that contain the search string.

Noise tab
  • Drag and drop a script from the tree into the Groups pane or select the script and click .

  • To create a new script, click and type the URL to which you want to apply noise testing. You can provide a server name, IP address, or a full URL (supports http and https).
  • To edit a script, select a script and click .

  • To delete a script, select a script and click .
  • To refresh the Scripts tree, click .

For more details on Noise Generator scripts, see Noise generator scripts.

Dock. Keeps the Scripts Tree open.

Back to top

Global Scheduler / Goal Definition pane

The pane that is displayed depends on the workload type that is selected.

  • For a Basic or Real-World schedule: The Global Scheduler pane enables you to define a run schedule for your test. For details, see Global Scheduler pane below.
  • For a Goal-Oriented Schedule: The Goal Definition pane enables you to define the goals you want your test to achieve. For details, see Distribute Vusers by goal.

Global Scheduler pane

In the Performance Test Designer window, click Groups & Workload. The Global scheduler pane is displayed in the lower part of the page.

Note: If scripts in your test contain rendezvous points, the test will not run as scheduled because the rendezvous points interfere with the schedule. For details, see Rendezvous points.

User interface elements are described below:

UI Elements

Description

New scheduler action. Enables you to add an action to the test schedule. The new action is added after the action selected in the grid.

You can add Start Vuser, Duration, and Stop Vuser actions only. For details, see Scheduler actions.

Available from: Real-world schedule only

Delete selected action. Deletes the selected action.

Split selected action. Splits the selected action into two identical halves of the original action.

Apply change. Enables you to apply modifications made to the actions in the schedule graph.

Scheduled Vusers

Displays a total of the Vusers scheduled to run in the test.

Note:

  • When the test is in number mode and you are defining a basic schedule, the number of scheduled Vusers is updated when you modify the number of Vusers in the Vuser groups. You can change the number of Vusers in a selected group:

    • In the Groups grid: Select the group and change the number of Vusers

    • In the Global Scheduler grid: Select the group in the grid's title bar and change the number of Vusers in the Start Vusers action.

  • In real-world schedules, the total number of Vusers is the sum of all the Vusers defined in the Start Vusers actions.

<Global Scheduler grid>

Lists the scheduled actions. Initially the grid displays default actions that correspond to the schedule type you selected for your workload. For details, see Vuser distribution methods.

For all schedules, some of the actions can be modified.

In real-world schedules, you can also add and delete actions, enabling you to simulate a more true-to-life schedule by which to run your test.

<Schedule graph>

Provides a graphical representation of the actions listed in the Global Scheduler grid.

<Title bar>

Displays the type of schedule and the number of scheduled Vusers, depending in the type of workload is selected for the test:

  • Global Schedule. Displayed when the schedule is a schedule by test.

  • Group Schedule for <group>. Displayed for group schedules. Displays the name of the group whose schedule is displayed in the Global Scheduler grid.

Messages

Displays alert messages.

Back to top

See also: