Forum Discussion

alibaba82's avatar
alibaba82
Super Contributor
15 years ago

testsuite dependencies

Hello,
I have some testsuite depencies which I am not sure how to solve. Since the testsuites run in a specific order I am running into some issues.

For example.
I have a testsuite A, B, C, D.

The sequence has be like this.
1. Start TestSuite A.
2. When TestSuite A finishes, Start TestSuite C.
3. When C finishes, start TestSuite B

How can I do this?


Thanks

Ali

4 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Ali,

    soapUI 3.0 allows you to reorder testsuites, until then I can come up with any good solution unfortunately.. i'll get back to you if we come up with something..

    regards!

    /Ole
    eviware.com
  • alibaba82's avatar
    alibaba82
    Super Contributor
    for the time being is it possible to use some kind of listener. Each testsuites take about an hour and manually doing thing is quite cumbersome. so I am thinking is something like this possible

    1. create some kind of listener
    2. run testsuite A
    3. the listener detects that testsuite A has finished, so the listener launches testsuite C
    4. the listener detects that testsuite C has finished, so the listener launches testsuite A

    Thanks
    Ali
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi Ali,

    I think your best bet is to create a seperate testsuite containing a single testcase with a single "controller script" that runs all testsuites/testcases for you.

    regards,

    /Ole
    eviware.com