Share this page

# Set an assignment method

This task describes how to set an assignment method. The assignment method indicates which of the value sets to use and how to use them. For example, you can instruct Vusers to use a new value set for each iteration and use the value sets sequentially or at random. For more information, see Data assignment and update methods.

To define an assignment method

1. Open the Parameter Properties and select a parameter.

2. Define a data assignment method.

In the Select next value list, select a data assignment method to instruct the Vuser how to select the file data during Vuser script execution. The options are: Sequential, Random, or Unique. For more information, see Data assignment methods.

3. Select an update option for the parameter.

In the Update value on list, select an update option. The choices are Each Iteration, Each Occurrence, and Once. For more information, see Data assignment methods.

4. If you chose Unique as the data assignment method, the When out of values and Allocate Vuser values in the Controller options become enabled.

- When out of values. Specify what to do when there is no more unique data: Abort Vuser, Continue in a cyclic manner, or Continue with last value.

- Allocate Vuser values in the Controller. (for OpenText Professional Performance Engineering users only) Indicate how to allocate data blocks of parameter values to the Vusers. You can allow Controller to automatically allocate a block size or you can specify the block size for each Vuser.

  - Automatically allocate block size. The block size is calculated by dividing the number of parameter values by the number of Vusers.
  - Allocate `x` values for each Vuser. Specify the number of values to allocate to each Vuser.

To track this occurrence, enable the Extended Log > Parameter Substitution option in the Log Runtime Settings. When there are not enough parameter values, VuGen writes a warning message to the Vuser log: No more unique values for this parameter in table <table_name>.

5. In the Parameter Properties dialog box, click Close.

The list of input arguments is replaced by the parameter name, and ABC button is replaced by the Table button . Click on this button to edit the parameter properties or undo the parameter.

Back to top

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 26.1 All View Local Help Center View Online Help Center Version: