cancel
Showing results for 
Search instead for 
Did you mean: 

SoapUI - Cannot wait on null future

Occasional Contributor

SoapUI - Cannot wait on null future

Hi,

 

When running a high thread count I am getting the following errors in SoapUI:

 

java.lang.RuntimeException: cannot wait on null future

 

It is very intermittent and only seems to happen with a high thread count (20+)

 

I have built my test suite so that it is thread safe. There is one call out to a Test Case to increment an ID, which I call with the property “Run primary TestCase (with for running to finish)”.

 

Other than that it is fairly simple script in calling a set of SOAP requests.

 

I have switched off all assertions but still the issue persists. I am using SoapUI 5.0.0 (as this is the currently installed version on the corporate network).

 

Many thanks.

3 REPLIES 3
Community Manager

Re: SoapUI - Cannot wait on null future

Hi @stores80,

 

Have you tried defining LoadTest assertions? They should help you validate both performance and functionality during the execution of the LoadTest:

https://www.soapui.org/load-testing/validating-performance.html

 

Also, it's worth following the steps listed in the following articles to decrease the memory consumption during the test execution:

https://www.soapui.org/load-testing/memory-management.html

https://www.soapui.org/getting-started/working-with-soapui/improving-memory-usage.html

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Occasional Contributor

Re: SoapUI - Cannot wait on null future

Thanks but it doesn't appear to be down to memory.

 

I have upgrade to SoapUI version 5.4.0 but still seeing the same issue.

 

Could anybody please help?

 

Thanks

Community Hero

Re: SoapUI - Cannot wait on null future

Would you like to share the use case please?

Are you using default feature of SoapUI to do the load testing?
Is the script which uses multiple threads?
Any soapUI project to simulate the issue for remote people to understand it?


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Top Kudoed Authors