About Preparing Test Data

Applies to LoadComplete 4.97, last modified on May 20, 2019

Using LoadComplete, you can generate various test values and then store them to LoadComplete list variables. This approach allows you to avoid creating data storages that will contain test data and frees you from having to add data to these storages manually.

This topic describes the general procedure of preparing test data with LoadComplete.

To populate a list variable with test data, follow the steps below:

  1. Double-click the Variables item in Project Explorer to open the Variables editor.

  2. Click the New button on the Variables editor’s toolbar. The Variable wizard will open.

  3. Enter the variable name and click Next. On the next page, click Next to proceed with the variable creation.

  4. On the third page of the wizard, select the List variable type and click Next.

  5. The List Variable Contents page assists you in specifying the contents of the created variable. You can use it either to populate the variable manually (by clicking Add and specifying the desired values) or to generate the desired data with built-in LoadComplete data generators. Below, we will describe how to generate values automatically.

  6. Click Generate.

  7. Use the subsequent Generate Values dialog to populate the created variable with generated values.

    • Specify the desired number of list elements in the Number of rows field.

    • Select the desired generator in the Data generator list.

    • Specify the needed parameters on the right. For more information on the available parameters, see the description of the selected generator.

    • Click OK to close the dialog and populate the variable with the generated data.

  8. Click Next.

  9. Specify the order in which virtual users will take values from the variable. For more information on the settings available on this page, see Value Access Types.

  10. Click Finish to complete the variable creation.

Now you can use the created variable to parameterize load tests, so that each virtual user uses different test data. This allows you to simulate the behavior of real users. For more information, see About Parameterizing Requests.

See Also

Preparing Test Data
Using Data Generators
Creating, Modifying and Deleting Variables
Parameterizing Requests

Highlight search results