Hi Katalon Dev Team,
I’m trying to implement parallel execution for web and API 6 automation tests, I can see rest API tests consistently working fine whereas web-ui automation tests throwing different errors for every execution.
Environment:
Execution Mode: Parallel Execution
Number of API tests: 3
Number of WebUI tests: 3
Katalon Studio V 7.7.2
OS : Win 10
RAM 16 GB
Per current Katalon documentation &/or Katalon Community responses, I tried below options:
-
Tweak JVM GC parameters
Open katalon.ini then add these JVM options:
-XX:+UseG1GC
-XX:+UseStringDeduplication
These options will help Java Garbage Collector manages the unused objects better and reduce JVM heap size. -
Limit the number of allowed threads for parallel executions, (2 threads), still no luck
3.Tweaking WebUI Settings
Customized page load timeout:
wait for 20 seconds
Delay between actions: 30 seconds
After above setting web-ui, Parallel execution for web-ui automation tests failing randomly.
Could you advice what could be causing this inconsistency?