Run the same test simultaneously

Hi,

I want to run a test case a few times parallel.

So I want to click on “Run” and it should open Chrome browser e.g. 10 times.

I have test data. I don’t know what it is but it does what I want: I have a data file containing a few values for a special input field.

In every run, Katalon should use another code. This behaviour should be preserved also when I have multiple tabs opened.

So first Chrome instance should use the first value etc…

I hope you can help me :slight_smile:

Greetings

1 Like

if you want to run the test multiple time then you can use **for loop.
**

for (int i = 0; i < 10; i++)
{
//your code goes here
}

kishor sharma said:

if you want to run the test multiple time then you can use **for loop.
**

for (int i = 0; i < 10; i++)
{
//your code goes here
}

But the OP wants to run the tests in PARALLEL. That code runs the test in SERIES, i.e. the opposite of PARALLEL.

I have the same question and would like to know the optimum way to accomplish this.

The Test Suite Collection gives the option of running sequential / parallel, perhaps what you do is set up a couple test suites to run a few lines of data say 1-5 for each test suite, then add those test suites to a Test Suite Collection to run them in parallel.

I’m new to Katalon, but that seems to me how it’s intended to work…