Turbocharge Your Test Automation With Katalon and GenRocket

katalon genrocket data driven testing

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.

Key takeaways
The 30-second version of this article
Manual test data files limit data-driven testing to small, mostly positive datasets.
GenRocket generates large volumes of synthetic data, including negative scenarios, on demand for each test run.
Combined with Katalon recorded test cases, the whole registration flow test can be fully automated and run from Azure DevOps.
Results, reports, and video recordings land in Katalon TestOps for review.
test-automation-with-katalon-and-genrocket

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 and GenRocket logo

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:

  1. 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.
  2. Customer cannot generate thousands of records manually
  3. The data being generated at present only has positive scenarios and is limited to individuals who are creating the files
  4. 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:

  1. 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.
Katalon record and play function with GenRocket configuration

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.

Katalon Studio Library Management
GenRocket Drivers

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

Attributes example in GenRocket
GenRocket domain creation
GenRocket Data Preview
  1. 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

GenRocket test suite using Azure DevOps pipeline
  1. 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.
GenRocket Data Test Suite results in Katalon 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.

Test Run with GenRocket integration in Katalon TestOps

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

Son Huynh
Son HuynhSupport Engineer

Son Huynh is a Support Engineer at Katalon, based in Ho Chi Minh City, where he helps customers solve technical issues across the Katalon platform. Before joining Katalon in 2025, he spent three years as a Professional Services Engineer at ELCA Vietnam. He studied at California State Polytechnic University, Pomona.

Connect on LinkedIn →
Get started

Test everything. Ship with confidence.

From generating test cases to spotting failures, Katalon's AI works across your entire pipeline, automatically.

Live webinar

The Next Evolution of Manual Testing: Introducing Katalon AI Test Runner

Learn how to grow your QA team's capacity in the age of AI, then watch Katalon AI Test Runner turn manual test cases into automated runs, live.

2:00 to 3:00 PM IST
Almas AhmedSenior Account Manager
Sumit WankhedeSolutions Engineer Manager
Register now