Forum Discussion

Target_MN_-_soa's avatar
Target_MN_-_soa
Occasional Contributor
12 years ago

Running selective Test Suites from commandline in soapui pro

Hi,
I have multiple test Suites in my project but I want to run only some of these e.g. I have Test suits A, B, C, D and I want to run only A and D against a specific endpoint. How do I do this without having to run the same script with different test suite name? I know one test Suite can be run with option '-s' but how do I run more than one?

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

    No, it's not possible to provide a set of TestSuite's to run, so I guess you have to chain your commands like this:

    testrunner.bat -sA -fC:\reports -R"TestSuite Report" -FPDF -EDefault C:\Users\me\soapui-project.xml && testrunner.bat -sD -fC:\reports -R"TestSuite Report" -FPDF -EDefault C:\Users\me\soapui-project.xml
    • anna_pi's avatar
      anna_pi
      New Contributor

      Hi,

       

      I have similar problem - I want to run from command line some set of Test Suites (Test Cases) from my Test Project.

      Is there any new solution for this issue after almost 4 years?

      Or maybe can I set some property in SoapUI NG Pro, in Test Case - to indicate which tests I want to execute - and then include this property in command line?

       

      Thanks!

      Anna