TestOwl LogoTestOwlDocs

Test Data Generator

The Test Data Generator creates realistic, random data during test execution, allowing your tests to use fresh values every time they run. It's ideal for populating forms, creating unique records, and avoiding conflicts caused by reused test data.
Using dynamic test data helps avoid issues such as duplicate email addresses, reused usernames, and repeated order numbers. Each test run can use new values without changing your test steps.

Creating a Test Data Variable

To create a Test Data Variable:

  1. 1

    Open Data Config from the sidebar.

  2. 2

    Select the Variables tab.

  3. 3

    Click New Variable.

  4. 4

    Enter a unique name for the Variable.

  5. 5

    Select the Variable type:

    • Static — Enter a fixed value that will be stored and reused whenever the Variable is used.
    • Dynamic — Configure the data generator settings to generate a value dynamically during test execution.
  6. 6

    Choose whether the Variable should be available globally or only for specific Environments.

  7. 7

    Save the Variable.

The created Variable can now be used in supported test steps by selecting it as the input value.

Create Test Data Variable

Available data categories

TestOwl includes generators for many different types of data, including:

  • Person
  • Internet
  • Address
  • Company
  • Commerce
  • Finance
  • Date & Time
  • Numbers
  • Text
  • Phone Numbers
  • UUIDs
  • Colours
  • Images
  • Vehicle
  • Location
  • Lorem Ipsum
  • And many more.

The available generators continue to grow over time as new data types are added.

Dynamic values

Many generators create a new value every time your test runs.

For example, a generated email address or random number won't remain fixed after you save the Test Case. Instead, a fresh value is generated during each execution.

This allows the same Test Case to be executed repeatedly without manually changing the test data.

Generated values are different every run

Generators that produce random data create a new value during every test execution. This helps reduce conflicts caused by duplicate data and increases test coverage by introducing more varied inputs.

Common use cases

The Test Data Generator is useful for:

  • Creating unique email addresses during user registration.
  • Generating realistic customer names and addresses.
  • Creating random product names and descriptions.
  • Generating order numbers and reference IDs.
  • Populating forms with realistic test data.
  • Creating varied inputs to improve test coverage.

Test Data vs Variables vs Secrets

Each feature serves a different purpose.

FeatureBest used for
Test Data GeneratorRandom, realistic values generated during test execution.
VariablesReusable non-sensitive values shared across Test Cases.
SecretsSensitive values such as passwords, API keys, and access tokens.

Choose the feature that best matches the type of data your test requires.

Best practices

  • Generate dynamic data for values that must be unique.
  • Use Variables for values shared across multiple tests.
  • Store sensitive credentials in Secrets rather than generated data.
  • Keep generated data realistic to better simulate real user behaviour.

Next steps