Forum Discussion

pkatiyar's avatar
pkatiyar
New Contributor
15 years ago

running multiple TestCases from SoapUI Commandline

We have options to choose entire TestSuite / Test case but not select test cases...
Say TS1 has TC1, TC2, TC3 and TC4.
I want to run TC1 and TC3 using command line ...Can i use one single command line to run testcases ??

testrunner.bat -sTS1 -cTC1 -CTC2 -FPDF -R"Project Report" c:\projects\my-soapui-project.xml ??

is there a better way of execution multiple Test Cases ?

1 Reply

  • I have the similar kind of problem. I want to run few test cases from testsuite (not all test cases). But here the problem is before running any testsuite i have to run login testcase which will pass cookie to other testcase.

    But if we are using command-line testrunner, for every testcase it will load project. So that for 2nd test case my cookie information will not be available.
    So my 2nd testcase is getting failed.