Forum Discussion

gargantouas's avatar
gargantouas
Occasional Contributor
8 years ago

SoapUi Groovy Stack Overflow Error

Hello all,

   it is a really nice community that has been built here. It has been two weeks since I started testing Rest APIs with SoapUI and groovy and it feels wonderful. I only get one small problem, which I tried to search but wasn't able to find an answer.

   I have a project that requires for ALL test cases and API calls to get an authorization token. I manage to get that, however when I try to iterate through every test case and call, to set this authorization token, I get a Stack Overflow Error.

   I tried the solution from this and this post, but to no avail. I know I could actualy set a project variable and use this token as a variable, but why does this happens? My PC is very new with 8GB of memory and I bet this should not happen????

  Thank you all.

2 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    You may want to show your groovy script if that is causing error?
    • gargantouas's avatar
      gargantouas
      Occasional Contributor

      Thanks for the reply. I finally found the solution. I was installing external libraries that weren't needed on the lib folder as well as on the bin/ext folder. When I removed those external libraries from the lib folder, it worked like a charm.