Ask a Question

java.util.EmptyStackException when running SoapUI test

TGeppert
Occasional Contributor

java.util.EmptyStackException when running SoapUI test

Hi Team,

When I'm running a project I'm getting java.util.EmptyStackException. I'm using SoapUI 5.1.2 Pro
In my project I have many TestSteps in TestCase and TestSuites.
To validate the content of response I use Contains, Not Contains, Not SOAP Fault, SOAP Response and mostly XPath Match assertions.
I also have a groovy script as TestStep (contained in a TestSuite), to execute the tests on 3 different servers with 14 different properties each. So each test is executed 42 times. During each execution of failing TestCases the result message of a failed TestStep is written to a file.

My memory settings are -Xms128m -Xmx6134m. I get the mentioned error (not at a certain TestStep).

I would like to know why I get this error in the soapui-error.log. And this is an exception that i see in the log files: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space

 

The test are run through testrunner script and run in sequence.

5 REPLIES 5
simonjdonnelly
Contributor

Re: java.util.EmptyStackException when running SoapUI test

I'd be interested in seeing the Groovy code to validate that it isn't coding that is causing this error.

TGeppert
Occasional Contributor

Re: java.util.EmptyStackException when running SoapUI test

This is the groovy script

nmrao
Community Hero

Re: java.util.EmptyStackException when running SoapUI test

Can you post the error log or full stacktrace?


Regards,
Rao.
nmrao
Community Hero

Re: java.util.EmptyStackException when running SoapUI test

By the way are you having soapui pro license, then you must be posting your queries in SOAPUI NG forum.


Regards,
Rao.
TGeppert
Occasional Contributor

Re: java.util.EmptyStackException when running SoapUI test

I have opened a new topic in SoapUI NG forum, but received no response to my query

http://community.smartbear.com/t5/SoapUI-NG/java-util-EmptyStackException-when-running-SoapUI-test/m...

In the error.log file I have found the java.lang.OutOfMemoryError: Java heap space. In the soapui.log are execution steps of my groovy script.

Could you write me how I should configure SoapUI to get more information in the full stacktrace?

 

Best regards,

A.

 

 

 

cancel
Showing results for 
Search instead for 
Did you mean: