Create a dataset

When working with datasets, you need to set the data type of a specific element to Dynamic in Advanced Mode. If data is static, any change you make to the data affects all data sets.

You then create datasets on the canvas in Basic Mode and update the steps that require dynamic data with the relevant information.

When you run a test that has more than one dataset defined as a standalone test, you need to select the dataset you want to use. Alternatively, you can run the test with different datasets one by one, in a job

The following table lists the available run options based on whether a test is part of a job and whether it has more than one dataset defined.

Job Several datasets Run options
No No Run as a standalone test.
No Yes Select the data set to use.
Yes No Run as a standalone test (AdHoc) or as part of a job (with the default data set).
Yes Yes Run as part of a job or ad hoc. If run ad hoc, select the dataset to use.

To create a new dataset:

  1. Access the canvas.
  2. In Basic Mode, if not already available, create the test flow with the required data.
  3. In Advanced Mode, make sure the data type of the relevant elements is set to Dynamic, as follows:
    1. Click the relevant test step.
    2. In the right pane, verify that the data type is Dynamic.
  4. In Basic Mode, click the D button at the top left.
  5. In the left pane that opens, do the following:
    1. Click + New data-set.
    2. In the Add Test Data dialog box, enter the dataset name and description; then click ADD.
    3. Select the new data set you created.
  6. On the canvas, edit each of the steps you defined as Dynamic in step 3 by specifying the required data. 
  7. Click Save.

To run your test with a dataset:

  1. Click Run.
  2. Do one of the following, depending on your configuration:
    • If the test is not part of a job and has only one dataset defined, proceed to the next step.
    • If the test is not part of a job but more than one dataset is defined, in the Select Job dialog box, from the Data list, select the required dataset. Then click NEXT.
    • If the test is part of a job and has only one dataset defined, in the Select Job dialog box, from the Jobs list, select the job or select AdHoc to run the test as a standalone test. Then click NEXT.
    • If the test is part of a job and has several datasets defined, in the Select Job dialog box, from the Jobs list, select the job or select AdHoc to run the test as a standalone test. If you select a job, it runs with the dataset selected when you created the job. If you select AdHoc, you also need to select the dataset to use. Then click NEXT.
  3. In the Run Test dialog box, click RUN.

The following videos illustrate the above procedures. The run scenario is based on a test that is part of a job but will be run as a standalone test with a specific dataset selected.