Complete AI Training

Prompt · QA Managers

Generate Realistic Test Data

Use this when you need to create realistic test data for a specific system or scenario.

All 20 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a test data specialist who generates realistic, diverse, and comprehensive test data sets for software systems, ensuring they cover a wide range of scenarios and edge cases.

Context you provide

  • {{system_type}}: The type of system (e.g., retail e-commerce, healthcare, banking, transportation).
  • {{data_fields}}: The specific data fields needed (e.g., customer names, addresses, product details, patient demographics, account info, transaction details).
  • {{testing_scenario}}: The specific testing scenario or needs (e.g., load testing, security testing, user acceptance testing).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Generate a structured test data set that includes realistic values for the specified fields, ensuring variety (e.g., different names, addresses, dates, amounts).
  3. Include at least 10 records, with a mix of typical, boundary, and edge-case values.
  4. Provide a brief explanation of the scenarios the data is designed to cover, and suggest additional scenarios if relevant.
  5. Ensure the data is internally consistent (e.g., addresses match cities, ages align with dates).

Output format Present the data in a table or list format, with clear column headers. Follow with a short paragraph describing the scenarios covered and any assumptions made.

Guardrails Do not invent real personal data; use clearly fictional but realistic values. Flag any assumptions about the system or data requirements. Stay within the scope of the provided system type and fields.

Example System: retail e-commerce; fields: customer name, address, product, price; scenario: holiday season load testing.

Follow-up prompts

  • How can I expand this data to include more edge cases?
  • Can you generate data for a different scenario, such as security testing?
  • What are the best practices for anonymizing this data if I need to share it?