'Dependent or Prerequisite test step in SoapUI

Test Suite structure

I have following test suite in SoapUI and I want to add Test_case_1-Step_2 as a prerequisite for test step Test_case_2-Step_2.

How may I achieved this in SoapUI GUI?

Also How may I add Test_case_2-Step_1 to run before and Test_case_2-Step_3 to run after Test_case_2-Step_2?



Solution 1:[1]

SoapUI has the Run TestCase TestStep, which you could use.

Add the step to the beginning of your "Test_case_2-Step_2", and point it at your "Test_case_1-Step_2".

More detailed information is available in the ReadyAPI documentation, which ports over to SoapUI.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 SiKing