Assigning sequential numbers to users
To assign unique sequential numbers to all the virtual users in a test, you can create a sequential number data source in the workbench. This data source will generate unique integers or floating point numbers for the users.
Before you begin
About this task
You can also assign a full sequence of numbers of one virtual user. The sequence number increments in the request for each time the request in the multi-request generator is executed.
Procedure
- In the Test Contents area of the test, click an element in the test where data correlation substitution is permitted, such as a transaction name or delays.
- In the Test Element Details area, right-click the name of the element and click .
- In Built-in Datasource Selection Wizard, click Sequential Number and click Next.
- Assign a name for the data source.
- In Initial Value, type a number to be assigned to the first virtual user.
- In Step Value, type a number.
- In Formatting Options, you can format the number in the manner you want to use.
- Optional: To assign a full sequence of numbers to one virtual user, select the Execute for individual user check box.
- Optional: To substitute the built-in data source every time with a new value for the requests, select the Get new value each time used check box.
- Click Finish.
- Save and run the test.