I have a script assertion to assert whenether a response is null:
assert messageExchange.hasResponse() == false
When I run the assertion or request individually, it passes.
However when I run the entire testsuite, the suite fails (while response is still empty). The step doesn't turn red but stays grey.
How can I resolve this? I'm at ReadyAPI version 2.6.0.
Thanks for your suggestion! I put a delay in the testcase before the step, and tried a delay in the script assertion but the problems persists.
Troubleshooting I now noticed that this error is also thrown when there is no assertion. So the actual problem is that this step is never completed when ran in a testcase, but runs properly when fired as an individual request.
The test is to see whenether a request without a certificate gets a null response on an secure port. This apparantly throws an javax.net.ssl.SSLHandshakeException.
My http log shows:
The error log shows:
Which is not unexpected given the testsituation, but how to make soapui run past this Exception?
Thanks for your suggestion! I've tried a delay but the problem persists.
Troubleshooting I realized it had nothing to do with the script assertion but with the request. Without an assertion the step is also never completed, and stays 'grey.
The teststep fires a request without a keystore on a secure port to check that whenether the response is null. This runs a single request, but does not in a testcase.
Apparantly this is because this attempt throws an exception; (@error log)
And this causes ReadyAPI to stop the testplan. When ran as a single request, the exception is also thrown, but doesn't halt execution, and the scipt assertion is tested normally.
My two cents, I suggest that you download and install the latest maintenance build. Perhaps, it will handle the exception a bit differently. You can download the installation file here: