ReadyApi 2.8.2 - First test case results keeps hanging for arbitrary amount of time on FIRST start
Hi,
When I open my readyApi in the morning and want to execute a project run (of any project) the run stalls. The UI is still responsive, I can still switch tabs, navigate through test cases, look at the logs etc. but the execution does not pass the first test case. I can see it executes the project setup script up until the first testcase teardown script (included) but then it stalls. I assume ReadyAPI has problems concluding the results of the first test case/test suite (even though it might be for a test without any assertions) . The progress bar keeps displaying as "busy" (see below screen).
Stopping the run is not an option. Doing other impactfull action result in a full freeze of the UI (e.g. clicking on "add as testcase" in the project tab for any given request).
"Some" time later (can be 20 or 40 minutes) I notice that finally the execution jumps to the next test suite. The logs do not indicate anything. Memory seems to be not an issue, since there is no visual indication of any heap space shortage or anything similar and task manager shows I'm near to 70% memory use. I tweaked with all given memory optimization tricks (https://support.smartbear.com/readyapi/docs/testing/best-practices/memory-usage.html#test-case-options), to no avail. I do see "The test run data of the X project will not be stored, since no appropriate database table was found.", but I believe that is part of my memory tweakings and has no connection to my issue (?).
The project itself is not big or extra-ordinary special in any way, there is nothing in the first test case that require a lot of resources or anything like that. Again, it's the same for any project I run and the logs do not indicate any real problem.
The strange thing is: For the rest of the day I can run the projects fine without that initial delay time! It really is only the first run only. I can switch to anohter project and run it without problems. That same project will stall on a fresh start of readyAPI.
I wonder if anyone came across the same issue and might have a clue what's the reason. I came across this post that also describes the problem fairly accurate (https://community.smartbear.com/t5/SoapUI-Pro/ReadyAPI-2-5-0-2-6-0-SoapUI-tests-hanging/td-p/180246) which seems to indicate it's an existing issue in previous versions also. The recommendations there provided (memory optimization) I already tried...
Hi Fabours ,
I might have found a solution... I was fed up because today it still wasn't properly running after 50 minutes... I deleted the .db files in the db folder at C:\Users\yourname\.readyapi\db. (Well, I moved them to a backup folder, just in case). The readyapi.h2.db file for instance, was 176.060 KB.
Now the project runs fine. Do not know whether this is just temporary or I got lucky, but perhaps you can give it a try.