Test Suite: Execution stop after 23 Passed requests

Hi @Gabor.Probst,
I have send an email to you. Please check your forum mailbox.
Regards.

I tried to run the execution with Test Data.xlsx (not from .csv file), but the result was the same!
The running process stopped without any error message at the 24th request.

I imported a new SOAP request, which is different from the first one.
I created a Test Case, the input variables are also filled from .csv file.
I also created a new Test Suite, and when I ran that, at this SOAP request the first 19 passes correctly, but the 20th request stops without any error message at the Console.
As a reminder in the first Test Suite which is includes the first SOAP request, the execution stopped at the 24th test data.
So I think the source of the problem will be the SOAP request, but I do not know where.
Meanwhile I built up a database connection also, so I tried this branch, but the result was the same.

Does anyone have any ideas?

Thank You!

@hpulsford @Ibus

@Gabor.Probst keep an eye on the task manager when you run the tests, on the katalon processes.
it may reach mem-allocation limits so the process may crash or get stuck (note that, for each iteration, it will create new objects in memory and i am afraid the previous ones are not depleted).
you can try to edit your katalon.ini file and increase the values for Xms and XmX (take care when tuning them to not exhaust all available physical resources) to give more ‘playground’ in memory for the JVM and watch if anything changed.

@ThanhTo @devalex88 i think somebody should take a deeper look into this behaviour.
my bet up to now is on memory leakages.

3 Likes

Sorry for this issue. I just want to let you know that we are still working on it.

Please send us KS logs and other information (OS version, KS version, machine hardware specs).

I do not know what is meaning KS logs, I attached logs from the Reports map. It contains today’s run.
The execution always stops when the 24th request is sent.
The other SOAP Test Suite the result is the same, but here not the 24th request the problem.
At this case the execution always stops when the 20th request is sent.

My OS version:
Windows 10 Enterprise 64-bit 10.0.15063 build 15063
Hardware spec:
Intel® Core™ i5-6200U CPU @ 2.30GHz, 2400 Mhz
8 Gb RAM

Katalon Version:
7.08 but I know that it came out the 7.1.0. I tried the new version also, but the result was the same.

Regards,

Reports.zip (3.6 MB)

1 Like

Dear Ibus,

I tested the memory status on task manager while the execution running, but there was no outstanding memory usage.
I have 8 GB RAM and Intel® Core™ i5-6200U CPU @ 2.30GHz, 2400 Mhz processor
I attached the katalon.ini file, my question is what can I modify in this file?

Thank You!
Regards,katalon.zip (347 Bytes)

1 Like

@Gabor.Probst

increase -Xms1024m to -Xms2048m (or even to 4096) and re-run. that is the setting for minimum (initial allocated) heapsize for JVM (java virtual machine)
re-run the test and see if any change, if is going further than previous steps, it may confirm this behaviour is caused by a certain memory-leakage in the katalon code (or wrong implementation of the garbage collector)

keep -Xmx4096m as it is (this is the max heap-size) to prevent your machine to get stuck.

of-course, restart katalon after you change this file …

@Ibus

I made the modification in the katalon.ini file, that you wrote, and also updated the Katalon 7.1.1 version.
The Test suite execution running is the same, the 20th request stops without any error message at the Console.

Unfortunately this did not solve the problem.

@Gabor.Probst so … let’s wait for the fix then from katalon dev team.
fingers crossed!

@Gabor.Probst Sorry for the issue. I just want to let you know that we are still trying to troubleshooting the project you sent us.

@devalex88
Thank You,
I’m waiting patiently
:slight_smile:

Regards,

Hi @Gabor.Probst,
Can you send us your error log file? You can find it under Help > Error Log.
Regards.

Hi @huynguyen,
I attached the error log.txt file to You, but i have not get any error under the execution running.

Regards,

error.log (23.8 KB)

I updated to the 7.1.2 version, a ran the Test suite again, the problem is the same!
I attached the error.log.

Thank You!
Regards,error.log (11.6 KB)

Hi @Gabor.Probst,

In the katalon.ini file you sent, you should change from:

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-data
@noDefault-vmargs
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms1024m
-Dfile.encoding=utf-8
-Xmx4096m

to

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-data
@noDefault
-vmargs
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms1024m
-Dfile.encoding=utf-8
-Xmx4096m

The different is adding a line break between: @noDefault and -vmargs.

Thanks

Hi @duyluong,

I made the modification in the katalon.ini file, at now it looks like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-data
@noDefault
-vmargs
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms1024m
-Dfile.encoding=utf-8
-Xmx4096m

I ran the Test suite again, the problem is the same!
The execution stopped the 24th request, without any error message.

Regards,

Hi @huynguyen,

I made the modification, what You send me private:

Please add the following properties to your above katalon.ini file:
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=<path_to_your_heap_dump_file>

At now the ini file looks like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-data
@noDefault
-vmargs
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Xms1024m
-Dfile.encoding=utf-8
-Xmx4096m
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\Users\inf_probst_g\Documents\Katalon Studio\Katalon_Studio_Windows_64-7.0.7

I ran the Test Suite, the execution stopped the 24th request, but I can not find the dump file in the path.