Skip to content
The debate around using AI to generate test data
AI Synthetic data generation

Is AI the best method to generate test data?

Bert Nienhuis
Bert Nienhuis
Is AI the Best Method to Generate Test Data? | DATPROF
4:38

At DATPROF, our development team keeps a close eye on new and emerging technologies—always looking for ways to make test data provisioning faster, more compact, and more secure. 

One of the most talked-about technologies right now is AI. It’s a powerful, all-encompassing technology that promises to reshape industries at an incredible pace. 

The question on everyone’s mind is:’ how exactly will it impact my field?’ 

Within the test data community, one of the questions that is surfacing is: is AI the best way to generate test data? 

In this article, I’ll attempt to contribute to the answer in the following paragraphs:

 

The most ambitious uses of AI in test data generation 

There are several ways AI is being applied in the world of test data. In my opinion, the two most ambitious approaches are: 

  1. Training an AI model on production data and using that model to generate test data.
     
  2. Using generative AI models—such as large language models—to directly generate synthetic test data. 

Current best practices in AI for test data 

In this article, I’ll focus on the first use case: training a model on production data and using it to generate test data. I’ve based this exploration on publicly available documentation from two prominent vendors offering this solution. 

Today, several companies provide tools that claim to train and generate “tabular data.” But are these solutions truly ready for enterprise-level use? Or even practical at all? 

Based on public benchmarks, we can start to understand how feasible and scalable these solutions really are. I’ve chosen not to name the companies directly so we can focus on the content of the examples: 

Case 1:
One provider allows you to train a model on production data.

In one test, training two tables—one with 5,000 rows and another linked tablewith 1,037,854 rows—took 15 hours using 64 CPUs and 256 GB of RAM.

When scaled down to 12 CPUs and 128 GB of RAM, the training time ballooned to 90 hours. 

Case 2:
Another vendor provides benchmarks for various AI models across datasets of different sizes. Under the “Large Datasets” category, they report: 

  • A 743MB file with 4.9 million rows and 42 columns took 6 hours to train. 
  • A 154MB file with 1.4 million rows and 15 columns required 3 hours. 
  • A 311MB file with 27,000 rows and 1,300 columns took 26 hours. 

These figures reflect only the training time. Data generation time would be additional—though likely faster, it still adds overhead. 

The verdict: there’s still a long way to go

So, will AI revolutionize test data management? Based on what I’ve seen so far, we’re not there yet. At this point, I wouldn’t say AI is the best way to generate test data. 

For now, AI’s role in test data management is more supportive than foundational.

For example, with DATPROF Privacy, synthetic test data can be generated directly in the database based on specific requirements and rules. In a recent benchmark on average hardware, we generated 100 million rows for an Oracle table with five columns in just 17 minutes… 

Keep in mind, most enterprise environments involve multiple production systems, large databases, and thousands of tables. While AI-generated data might offer value for smaller or niche datasets, it’s not yet scalable enough to replace established methods like data masking, subsetting, or rule-based generation. 

For now, AI’s role in test data management is more supportive than foundational. It can be useful for tackling specific challenges—like analyzing small, complex datasets or accelerating parts of test data workflows—but in my opinion I would not advise to replace the core techniques that enterprises rely on. 

Frequently Asked Questions

1. Is AI the best method to generate test data?

Not yet or maybe it will never happen? AI can help with specific test data tasks, but it is not currently the best standalone method for enterprise-scale test data generation. Large environments require scalability, consistency, repeatability and control across many systems, tables and dependencies. 

2. How can AI be used for test data generation?

AI can be used in two main ways: by training a model on production data and generating new synthetic data from that model, or by using generative AI models to directly create synthetic test data. Both approaches can be useful, but both need careful validation. 

3. What are the biggest limitations of AI-generated test data?

The biggest limitations are training time, infrastructure requirements, cost, scalability, transparency and consistency. These limitations become more visible when teams need to generate large volumes of data across complex enterprise systems. 

4. Why is AI-generated test data difficult to scale?

AI-generated test data can be difficult to scale because models may need to be trained on large datasets before they can generate useful output. Training can require significant CPU, memory and time, especially when datasets contain many rows, columns and relationships. 

5. Can AI replace data masking, subsetting or rule-based generation?

Not in most enterprise test data environments today. AI may support parts of the workflow, but masking, subsetting and rule-based generation remain more predictable, controllable and scalable for many production-like testing needs. 

6. When is AI useful in test data management?

AI can be useful for smaller or niche datasets, analyzing complex data patterns, helping with setup tasks, suggesting rules or accelerating specific workflow steps. It is best used as a supporting capability rather than the foundation of the entire test data strategy. 

7. How does DATPROF generate synthetic test data at scale?

DATPROF can generate synthetic test data directly in the database based on specific requirements and rules. The article gives an example where DATPROF Privacy generated 100 million rows for an Oracle table with five columns in 17 minutes on average hardware. 


Interesting sources

  1. Abhaya. (2024, 14 november). AI-Driven Test Automation: A Comprehensive Guide to Strategically Scaling for Large Applications. Medium. https://medium.com/%40abhaykhs/ai-driven-test-automation-a-comprehensive-guide-to-strategically-scaling-for-large-applications-50e727125f8b
 

Share this post