Skip to content

Data generation

OctoPerf Data generation engine allows you to create fake datasets to use for your tests.

You can access it from inside CSV variables or the files menu using the Generate button.

Info

When generating from a CSV variable, at the end of the process, the CSV variable file will be overridden and settings changed to match the newly generated file.

Data columns

The first step is to select the type of fake data you want to generate:

data-columns

Name Description
Locale Select your local language for dates, phone numbers and others. Default is your browser value.
Data type Select which type of data you want to include inside the CSV file. Each data type can only be selected once per file.
Column name This is the column/variable name that will be used. Default names are made to be unique, if you change it make sure to not reuse an existing name.
Value example An example of what you can expect in this column. Changing the locale updates the value.

Each data type will create a column inside the CSV file that will be generated. You can add or remove columns using the plus or minus buttons on the right.

Warning

Columns names need to be unique in order to proceed to the next screen, otherwise you will see an error message on the column name.

CSV File

The second screen gives you an overview of the generated file:

file

Aside from moving forward, you can also decide how many lines you want to generate, up to 100 000. To avoid performance issues, only the first 100 lines are displayed on this screen.

Warning

To avoid confusing behaviors, it is only allowed to generate CSV under a new name (that doesn't exists in the project). You can close the wizard and remove the other file from the files menu if you still wish to proceed. The columns configuration is saved in your browser, so nothing will be lost when you come back.