Forum Discussion

madirfan's avatar
madirfan
New Contributor
12 years ago

TAG TestCase and Start All TestCase with the TAG via SHELL

Hi

is there a possibility to TAG TestCASEs or SUITE and start the TestCASES or SUITE via Shell

regards
  • PaulDonny's avatar
    PaulDonny
    Regular Contributor
    By shell I presume you mean you are running SoapUI from command prompt in some way. If I am incorrect please disregard the rest of this posting.


    TestRunner essentially loads a single project into SoapUI and runs it from what I can tell. I have not looked into the source code of it too much. What you seem to want to do is scan over your workspace for tags and run them, the problem is chances are high those will not be loaded into your SoapUI.

    The best recommendation I have would be a Java project (I am unfamiliar with SoapUI Maven since I prefer to just load all of SoapUI into java), load your Workspaces, scan the projects for your tag and then run them. Alternatively, you could just use the Java project as the tagging system to run them as well without the 'wasted' resources of scanning through your workspace(s) in order to run every time each one runs.


    That being said, a lot of this can be extremely complicated and very very advanced. If your familiar with both SoapUI and Java and your testcases are rather static, it shouldn't take that long. If your testCases vary greatly and would require externally populated data, it can take quite a while to accomplish this.