TestCase in testSuite take long time to open browser after 51th testCase

I have a test suite that contains 90 test case. from the 1st to 51 test case, there is no problem to open browser, it takes less than 4 secends.

from the 52nd test case, it takes more than 2 minutes to open browser

that’s mean i lose more than 76 minutes ( (90 - 52) * 2 = 75) for every execution of this test suite.

I’m using Katalon Version: 8.3.0 with docker

is there a solution for this problem?

need Help plz !

Please try to reduce the problem surface.

  1. Did you try making the 51st TC the first TC? What happens then?

  2. What happens when you run the suite inside Katalon Studio?

  3. What happens when you run the suite against a different browser?

The first part of getting help is to try to mitigate the issue yourself.

I have one that contains 215. Therefore, this is not a Katalon issue until you can prove categorically that it is.

Hi,
We are facing the same problem when running our test collection in Docker.
We changed the order of our test suite in the collection and the first test case goes faster. But after a certain number of case, the next one takes longer and longer. So it’s not related with the test case or test suite. Looks like there is a resource problem somewhere, it creates a bottle neck somehow.

Regards
Phung

You may try incresing Heap memory

for example, try -Xmx4096m and see

“Step execution log” may slow down you tests significantly.

Have a look at the following report and check if it applies to you.

Are you sure if you close browser window once done? Having a lot of browser windows left opened will significantly affect to test performance.