Forum Discussion

getarbind's avatar
getarbind
Occasional Contributor
7 years ago

How to setup TestSuite Priority for a Project with multiple TestSuite

 

My Question is 

 

I have a soapui test project which has 5 TestSuite. 

 

I want first Test-suite to run first and once its complete, rest 4 Test-suite can be run in parallel

 

Is there any way to achieve it ?

 

One solution could be putting first Test-suite in setup script of  4 Test-suite that has to be run in parallel. But in this case, first TestSuite will be run 4 times, that i wanted to avoid.

 

Thanks in advance

 

18 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    You can either change the order in the project and execute the project or write a groovy script to achieve the same.
    • getarbind's avatar
      getarbind
      Occasional Contributor

      Hello,

       

      would it possible for you to provide me some example of groovy script to achieve the same.

       

      Thanks

      • groovyguy's avatar
        groovyguy
        Champion Level 1

         So you have 5 test suites to be ran, right? Does that mean you want to run 1, then run 2, 3, 4, 5 in parallell?