A step-by-step guide to generating synthetic test data with Katalon AI Assistant and binding it to data-driven tests in Katalon Studio.
In the 21st century, data has become an invaluable asset that drives innovation, decision-making, and progress across various domains. Its importance stems from the fact that we are living in a digital age where almost every aspect of our lives generates, consumes, and relies on data.
When it comes to software testing, data plays a crucial role to replicate positive/negative cases and identify corner or edge cases that might remain untested without conducting testing on various data values. Data-driven testing was built so you can run the same test against many data values.
What is data-driven testing (DDT)?
For those of you who are new to the concept of DDT, Data-driven testing (DDT) is a software testing method that stores test data in table or spreadsheet format. Data-driven testing allows testers to input a single test script that can execute tests for all test data from a table and expect the test output in the same table.
There are 2 major aspects to DDT:
1. Generating synthetic data
2. Using the generated data to drive test cases.
What is synthetic test data?
Synthetic test data is artificially generated data that follows the formats and rules of real data but doesn't come from real users or production systems. Teams use it to cover positive, negative, and edge cases, and to test without exposing personal data. It is one part of a wider test data management practice.
Katalon for synthetic data generation
In Katalon Studio, data-driven tests can read data from Excel files, CSV files, database queries (with built-in JDBC drivers for SQL Server, Oracle, and PostgreSQL), or internal data typed into a table in Studio. Data binding then maps each test case variable to a column, so 1 script runs against many rows.
For the data itself, Katalon AI Assistant, the built-in AI assistant in Katalon Studio that replaced the StudioAssist name, can help in 2 ways. It can generate a script from a plain-English prompt that writes synthetic rows to a CSV or Excel file. In Katalon Studio 11.6.0 and later, its Agent mode can also use the built-in Studio MCP tools to create internal test data, add a test case to a test suite, and bind the data to it. You review the data and the binding before you run.
Katalon AI Assistant and data-driven test runs have license and plan requirements, covered in Step 1 and Step 9 below.
Read more: Katalon AI-powered testing platform
How to generate synthetic test data with Katalon AI Assistant
Step 1: Open Katalon Studio and check that Katalon AI Assistant is set up. You need a Katalon Studio Enterprise license for the built-in Katalon AI Service, or your own API key from a supported provider (OpenAI, Azure OpenAI, Google Gemini, AWS Bedrock, or an OpenAI-compatible service).
Step 2: Open any test case and write a prompt, as a comment, that describes the mock or synthetic data you need. Keep it clear and specific about formats and rules, as covered in prompt engineering for Katalon AI Assistant.
Refer to the example prompt below. 
Step 3: Select the prompt, right-click, and select Katalon AI Assistant > Generate Code. Older screenshots in this guide show the previous StudioAssist name for the same menu.

Step 4: Katalon AI Assistant generates code based on your prompt. Review it before you run it, since generated code can differ between runs.
In this example, we provided a prompt for generating email IDs and phone numbers. To show an example of customization, we asked Katalon AI Assistant to generate email IDs with the katalon.com domain and phone numbers that are in the format of Indian phone numbers (Indian numbers start with +91).
Note: The generated code handles the customization, as the image below shows. It ends with a call to a custom keyword from an earlier version of this guide. You don't need that keyword: Steps 7 and 8 use the documented test data and data binding flow instead.

Step 5: Make any necessary adjustments. In this case, I prompted Katalon AI Assistant to use the Apache POI library to store the results in an Excel file. The code also uses an Apache Commons library, so I need to import the necessary libraries in the library management section.
More information on Library Management: Here
Step 6: Let's look at the output after running the code from Step 4. As expected, 2 fields with the name Email ID and Phone Number have been created and generated data has been pushed in the Excel sheet.

By now you have a file of synthetic test data built from a single prompt. Next, connect it to your tests.
Step 7: Register the file as test data. In Katalon Studio, go to File > New > Test Data, choose the Excel file or CSV file type, and select the file you generated in Step 6. See manage test data in the Katalon docs.
Step 8: Bind the data to your test. Add the test case to a test suite, open its data binding, and map each test case variable to a column by name or index. Map All binds every variable whose name matches a column. You can run all rows, a range, or specific rows (for example 1-5,9). With several data files, One pairs rows by position and Many runs every combination. See manage data binding.
Step 9: Run the test suite. From Katalon Studio 11.7.0, running data-driven tests requires a paid plan. The Free plan can't run them, including Test Suite Collections where any suite uses data binding.
Let Agent mode create and bind the data
In Katalon Studio 11.6.0 and later, you can let Katalon AI Assistant handle the data creation and binding steps. In Agent mode, describe the test data you need for a test case. It uses the built-in Studio MCP tools to create internal test data, add the test case to a test suite, and bind the data to it. Review the data and the binding before you run the suite.
Other sources of synthetic test data
Katalon TrueTest can fill in test data for the test cases it generates. Its Synthetic mode creates AI-generated, non-PII values that follow captured patterns, for example PROD-X-745 becomes ITEM-Z-221. Other modes are Raw and Raw with PII mocked values. The mode is set per data tracking environment, Disabled is the default, and you contact the TrueTest team to switch it on. Fields that may contain PII are not populated. TrueTest is an add-on with custom pricing through sales.
For a wider view of how Katalon fits into your data strategy, read test data management with Katalon.
Conclusion
Data-driven testing helps make your tests broader without writing a new script for every input. Katalon AI Assistant can turn a prompt into a script that writes synthetic test data to a file, and Katalon Studio test data and data binding feed that data into your tests. Start with the steps above, then build out your test data management practice as your suite grows.
We hope this guide helps you bring synthetic test data into your current testing projects.

Frequently asked questions
Synthetic test data is artificially generated data that follows the formats and rules of real data but doesn't come from real users or production systems. It helps teams cover positive, negative, and edge cases without exposing personal data.
Katalon AI Assistant, the built-in AI assistant in Katalon Studio, can help. It can generate a script from a prompt that writes synthetic rows to a CSV or Excel file, which you then register as test data and bind. In Studio 11.6.0 and later, Agent mode can create internal test data and bind it to a test case in a test suite. You review the data and binding before you run.
You need a Katalon Studio Enterprise license for the built-in Katalon AI Service, or your own API key from a supported provider: OpenAI, Azure OpenAI, Google Gemini, AWS Bedrock, or an OpenAI-compatible service. Katalon AI Assistant replaced the StudioAssist name.
Data-driven tests can use Excel files, CSV files, database queries (with built-in JDBC drivers for SQL Server, Oracle, and PostgreSQL, and others by class name), or internal data typed into a table under File > New > Test Data.
Add the test case to a test suite and open its data binding. Map each variable to a column by name or index, or use Map All to bind every variable whose name matches a column. You can run all rows, a range, or specific rows. With several data files, One pairs rows by position and Many runs every combination.
Yes, from Katalon Studio 11.7.0. The Free plan can't run data-driven tests, including Test Suite Collections where any suite uses data binding. The pricing page lists data-driven testing and test data binding under Katalon Studio Professional.
TrueTest can fill in test data for the test cases it generates. Its Synthetic mode creates AI-generated, non-PII values that follow captured patterns. Disabled is the default, and you contact the TrueTest team to switch modes. TrueTest is an add-on with custom pricing through sales.

Test everything. Ship with confidence.
From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.

