Forum Discussion

kber's avatar
kber
Occasional Contributor
7 years ago
Solved

How to make SoapUi NG Pro - jUnit Error?

Hi   I'm having difficulties the API I'm working on and would like my entire test to abort with an error, if the API is down.   When using TestRunner I have only managed to receive a 'failure', w...
  • groovyguy's avatar
    groovyguy
    7 years ago

    You could try writing a groovy script that checks for the failure condition and if its met, use testRunner.fail(). 

     

    Here's an example.