Continue after failed assertion

后端 未结 4 1472
轮回少年
轮回少年 2021-01-04 00:01

Once an assertion fails( typically API response ), the remaining test steps in a test case do not get executed. How do I get SoapUI to continue on and complete the rest of t

相关标签:
4条回答
  • 2021-01-04 00:32

    In SOAPUI free version you can go to the test case and click on the gear or settings icon which opens up a pop up and uncheck the option "Abort test if error occurs"

    0 讨论(0)
  • 2021-01-04 00:39

    1- Double click on the test case (not test step)

    look at the provided picture and find the one shown below:

    enter image description here

    0 讨论(0)
  • 2021-01-04 00:44

    To continue tests executing after failed test step you need disable "Fail on error" option in TestCase options.

    To control test execution flow you can use "Conditional Goto" test step (the easiest way) or "Groovy script" test step if you need more complex logic.

    Detailed instructions here: http://www.soapui.org/Functional-Testing/controlling-flow.html

    0 讨论(0)
  • 2021-01-04 00:44

    In Ready Api (Soapui pro) right click on Test Case and click on Option.

    Abort test if an error occurs (Disable)

    0 讨论(0)
提交回复
热议问题