UI test cases are not executing on headless mode

At which stage your test suite with 200+ test cases got stuck?

Did it stuck at the 1st test case? 2nd test case? … at 100th test case? I guess, all your test cases ran ok but after the test case finished, your test suite stuck when it started compiling an execution report.

Please check the CPU usage and Memory usage using the Performance Monitor tool.


I guess your test suite gets stuck due to insufficient memory is allocated.

Compiling a execution report of 200+ test case would require very large memory of JVM. Possibly you want to allocate more memory to Katalon Studio.

The default size of recent versions of Katalon Studio is set

-Xmx2048m

You may want to enlarge it, for example,

-Xmx8192m

or

-Xmx2g

I think that you are too optimistic to execute 200+ test cases as one batch. I think that Katalon Studio is not designed with such large scale projects in mind, therefore it requires much memory for compiling execution reports. You should divide and conquer your targets for less troubles.