A Text Data Generator creates a random word or string. There are three types:

  • AI-synthetic – Uses AI-based models to generate contextually relevant text, enabling the simulation of realistic user input, chat interactions, or business-specific content.
  • Random String (Text) – Produces a sequence of alphanumeric characters without predefined meaning.
  • Constant – Returns a fixed, predefined word or phrase for consistent parameterization.

By leveraging data generators, performance tests can simulate dynamic and realistic user behavior, improving test accuracy and efficiency.

AI-synthetic-data

Generates a word(s) using an AI-based model to generate contextually relevant text.

  1. In the Create Data Generator dialog, select AI-synthetic data.
  2. Click the Create AI data generator button to open the AI Data Generator Picker dialog.
  3. Enter the AI data generator name.
  4. To select the appropriate AI generator from the grid, use the available filtering options:
    1. Category Dropdown: Choose a category to narrow down the list of AI generators.
      • Address - Mailing address data
      • Commerce - Product/department info
      • Company - Business details
      • Database - DB details
      • Finance - Financial data
      • Hacker - Computing terms
      • Image - Image URLs
      • Internet - Internet protocol info
      • Lorem - Lorem words, phrases, paragraphs
      • Name - Person's name details
      • Phone - Phone number details
      • Rant - A random review
      • System - Computing system data
      • Vehicle - Car details
    2. Data-Type Filter Textbox: Enter a keyword to filter AI generators based on data type.
  5. The grid includes an Example column, which displays a sample output for each AI generator. 
  6. Click OK to create the AI generator.

Text

Generates a random sequence of characters

  1. In the Create Data Generator dialog, select Text.
  2. Set the Min length property to the minimum number of characters the random sequence will contain.
  3. Set the Max length property to the maximum number of characters the random sequence will contain.
  4. Select the output casing:
    • Lowercase - all characters will be lower case.
    • Uppowercase - all characters will be upper case.
    • Titlecase - the first character is upper case, and the rest are lower.

Constant

Returns a constant text that is typically used with other source variables. For example, to add a constant prefix or suffix to dynamic data.

  1. In the Create Data Generator dialog, select Constant.
  2. Set the Constant text property to define the text to return

  • No labels