# Data Driven Parallel Script Execution

**URL:** <https://forum.katalon.com/t/data-driven-parallel-script-execution/40446>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [February 28, 2020, 3:18am UTC](https://forum.katalon.com/t/data-driven-parallel-script-execution/40446 "2020-02-28T03:18:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sivasooryansa](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@sivasooryansa](https://forum.katalon.com/u/sivasooryansa)\
**Post date:** [February 28, 2020, 3:18am UTC](https://forum.katalon.com/t/data-driven-parallel-script-execution/40446/1 "2020-02-28T03:18:04Z")

</div>

Hi,

I want to use a script that references a data file to create clients in the front end of a system. The data file is quite large with almost a million rows.

I want to know if there is a method to execute the script in parallel and reference different sections of data automatically so that each instance of the script doesn’t enter the same data on the parallel runs?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Andrej\_Podhajsky](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/andrej_podhajsky/32/1055_2.png) [@Andrej\_Podhajsky](https://forum.katalon.com/u/Andrej_Podhajsky)\
**Post date:** [February 28, 2020, 8:42am UTC](https://forum.katalon.com/t/data-driven-parallel-script-execution/40446/2 "2020-02-28T08:42:15Z")

</div>

there is nothing directly out of box. However, you can use parallel programming in groovy to execute TC at same time.

> [@Watchdog for UI elements](http://forum.katalon.com/t/watchdog-for-ui-elements/38954):
>
> Hello, i’ll try to describe how to write asynchronous “watch dog” to check if some element appears Situation: our application is quite an asynchronous that means, that from time to time an Error can be shown on UI that actually does not directly belong to Test case i’m executing. However it will be good to catch such error and present it in reports. prereq.: I have TC that is responsible for Opening browser from this TC i will store actual driver into Global variable (type null) I have my o…

> [@Multiple threads in Test Case](http://forum.katalon.com/t/multiple-threads-in-test-case/12860):
>
> in one of my test Cases, i need to check for 2 situations at once and i don’t know which one will manifest first. Solution - create 2 threads to check in parallel and wait for their finish on the end. Warning: quick and dirty solution, think before apply. def t1 = new Thread({ for(i=0; i\<10; i++) println 'Hello 1-'+i } as Runnable) def t2 = new Thread({ for(i=0; i\<10; i++) println 'Hello 2-'+i } as Runnable) t1.start() t2.start() while (t1.alive || t2.alive) { Thread.sleep(500) // looks…
