Data-driven testing breaks down when teams have to build large datasets by hand. See how Persistent combined GenRocket synthetic data generation with Katalon recorded tests to fully automate a complex registration flow.

Benefits of Data-driven testing for test automation
In test automation, being able to perform data-driven testing is essential. Data-driven testing (DDT) at the test case level allows you to add one or more data files and manage data binding at the test case level. The most common approach is to provide an Excel or CSV file as input to the test case. The file is modeled per test case structure and then populated with different datasets. It can then be given to business analysts to apply positive and negative data to perform comprehensive testing of the application. This approach helps scale up test automation and allows for input from business owners and stakeholders to test the application the way they want it to function.
Data-driven testing becomes a challenge when there’s a need to test the application with large datasets which can result in many negative scenarios. You need to depend on team members to populate the file manually which can add overhead to business users who are already busy with their primary jobs. Plus, creating a new data set every time you test an application during sprints can also be a challenge.
Having a solution to generate synthetic test data in large volumes and feed the data into the test case in a fully automated way can be very useful.
Introducing Katalon and GenRocket

Katalon is a modern and comprehensive quality management platform that allows you to perform testing of web, mobile, desktop applications and APIs.
The GenRocket platform automates the design and generation of synthetic data, with enterprise-class scalability, dynamic data generation, and integration with any test environment. It's a well-recognized platform for test data management that can generate millions of records in minutes, in whatever formats customers need.
GenRocket SaaS platform creates a project for each use case and uses a scenario-based approach to generate the required datasets. Counter variables can be used to generate any number of records as required for every test run. This provides complete functionality to generate test data based on the development needs.
GenRocket and Katalon are strategic partners for Persistent and work closely together to provide key differentiation and value to our shared customers in the field of test automation.
A Real Challenge With Data-driven Testing
One of our U.S.-based customers integrated with GenRocket and Katalon to overcome the following challenges:
- The product team has to generate data across up to 5 sets of files, maintain relationships, and upload these files into the database. This process is cumbersome, and it takes a long time to generate these files and upload them. Furthermore, this process needs to be repeated for different environments which are created as per business needs.
- Customer cannot generate thousands of records manually
- The data being generated at present only has positive scenarios and is limited to individuals who are creating the files
- The process is manual and takes time
Use Katalon and GenRocket To Level Up Data-Driven Testing
Consider a web application which has a complex registration flow which involves feeding a lot of information like first name, last name, organization type, company name, title, username, etc. Many of the fields have corresponding dropdowns that offer a long list of values. The customer wants to be able to test the registration flow with different combinations of each field to ensure the application works properly. The testing needs to be done every time a change is made to the registration screen or any other screen which can impact registration flow.
By combining GenRocket's test data generation with Katalon recorded test cases, you can build this flow and fully automate the testing.
Katalon test suite collections let you run test cases in parallel, so you can check how the application behaves when multiple users are registering at the same time.
The following is a summary of the process flow:
- Record a test case for the registration flow using Katalon's record and playback functionality, and add GenRocket configuration details to the Katalon test cases.

2. Import the jars in Katalon Studio. This is an important step. Without the required jars, integration will not work. These jars are also added to the source code repository.


3. Create domain, receiver, and scenario in GenRocket for the test case.



- Use G-Repository in GenRocket. This feature automatically manages the download, update, and removal of GenRocket components, so there's no manual work:
// Sync and update the contents of the G-Repository client with the G-Repository server
'Set the GenRocket client repo'
engine_api.clientRepoSet(genrocketClientRepoName)
'Load the GenRocket scenario'
engine_api.clientRepoScenarioLoad(genrocketscenario)
'Load the GenRocket test suite and GCase'
engine_api.clientRepoCaseLoad(genrocketTestSuite, testdatacategoryname, testdatacasename)
'Auto-sync the GenRocket client with the server'
engine_api.clientRepoRun()5. Trigger test suite using Azure DevOps pipeline

- See the test results in Katalon TestOps with complete details, along with report output in PDF or HTML format. A video recording of the test run is also created and saved in TestOps.

Below is a view of the Katalon TestOps platform which shows a test run for a use case where GenRocket was used to generate data and integrate with the Katalon platform.

Together, GenRocket and Katalon remove the manual work from test data creation and make data-driven test automation much faster to scale.
To learn more, please contact us at Persistent or connect with your Alliance lead at Katalon to see how we can help to address your test automation needs.
Frequently asked questions
GenRocket generates synthetic test data at scale, so you don't have to build Excel or CSV files by hand. Katalon test cases then consume that data on every run.
You need the GenRocket JAR files added to Katalon Studio via Library Management, plus a domain, receiver, and scenario configured in GenRocket for each test case.
Yes. In this example, the test suite is triggered from an Azure DevOps pipeline and results are reported in Katalon TestOps.

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

