Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Stack overflow during grovy assertion

$
0
0

I am doing message response assertion using a simple groovy script (since I have to massage the pattern against which I compare before I can do the actual comparison). I then always had non-matching responses. After adding a try-catch around the assert I was finally able to figure out that there is a stack-overflow in the assertion - see below.

 

Now, our messages are indeed somewhat complex but they matche (as I found out using RegExpBuddy) and it should be possible to match them using regular expressions.

 

I tried to enlargestack the stackspace by editing the coresponding java options in soapui.bat but unfortunately that didn't change anything. How/where can I enlarge the stack space given to the embedded groovy assertions?

 

Michael

 

...

try {
   assert response =~ pattern


Viewing all articles
Browse latest Browse all 20755

Trending Articles