Forum Discussion
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)
- Mon May 27 10:35:19 CEST 2019: ERROR: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
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.
A test step will execute but remain 'grey' if there are either no assertions on the step or if the step wasnt executed within the test case.
Im a bit unsure what youre after, but if you're trying to ensure all the test steps within the test case executes despite if a failure occurs you can alter this behaviour by opening up thr test case options form. By default there is a checkbox, something like "stop execution of test if any step fails" that can be unchecked. (Sorry its 2am in the morning and im typing this on my phone so i cant give you the exact checkbox name)
Once unchecked, this will enable the test case to execute all the way through, despite any steps in the test failing.
Does that help?
Ta
Richie
- Olga_T6 years agoSmartBear Alumni (Retired)
- TanyaYatskovska6 years agoSmartBear Alumni (Retired)
Hi casp8,
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:
https://support.smartbear.com/downloads/readyapi/maintenance
Related Content
- 3 years ago
- 7 years ago
- 8 years ago
Recent Discussions
- 18 hours ago
- 17 days ago