Forum Discussion

kannan's avatar
Occasional Contributor
4 years ago

Customising parallel runs

Hi Team ,

We are trying to figure out a way to run our test cases in a customised  parallel fashion . 


To start with , we are using readyAPI paid version 3.2.5.


Our Project structure is 

     1.1 TestSuite1_Positive  >  100 cases
     1.2 TestSuite1_Negative > 20 cases


2. TestSuite2
     2.1 TestSuite2_Positive.  > 50 cases 
     2.2 TestSuite2_Negative  > 30 cases


3. TestSuite3
     3.1 TestSuite3_Positive  > 50 cases 


4. TestSuite4
    4.1 TestSuite4_positive. > 10 cases

test Suite 2 is dependent on TestSuite1 and it should run only after TestSuite1 is completed.

TestSuite 4 is dependent on TestSuite3 and it should run only after TestSuite3 is completed

TestSuite1 and TestSuite3 are independent and can run in parallel and TestSuite2 and TestSuite4 can run in parallel.


What we are trying to achieve here to once we start our run , TestSuite1 and TestSuite3 should run in parallel.
Once TestSuite1 complete its run TestSuite2 should start , similar for TestSuite3 and TestSuite4.


Kindly help .

  • 1. the suggestion was based on the information provided in the question.
    2. thumb rule is to have each and every test case is independent, here you have dependency between suites.
    Can you revisit the suites and see if you can make them independent (no dependency between them)?

    By the way, if you use the commandline testrunner script to execute the project, then you have the flexibility to run particular test suite (you can also check if that option allows to run two suites if you can;t remove dependency) and use multiple command line terminals or write a batch script to invoke each suite in the background process. This way you can achieve parallel running of suites without splitting the project as well.

4 Replies

  • nmrao's avatar
    Champion Level 3
    To make it simple, split the project appropriately so that two projects can be run from command line parallel.
    • kannan's avatar
      Occasional Contributor

       Thanks for the suggestion . But we have total 37K test cases Split across 18 Projects based on functionalities  . Each projects has around ~40 test suites. So splitting again is not an option for us . 

      • richie's avatar
        Community Hero
        Ok, need to apologise as this is nothing to do with readyapi!/soapui, but nmrao.... youre back!๐Ÿ˜

        Havent seen you on here for ages and ive missed all your coding advice, hope its all good with you!