Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way I can run all my SoapUI test suites at once, if they are under different projects?

On my SoapUI Workspace, I have several Projects.

Each one of these may contain one or more test suites, with several test cases

It is quite time consuming to expand each project, then open up the test suite, run it, open up the next etc. I do this for testing locally, then for testing again a test box

Is there a way I can run through all tests in my SoapUI workspace in one click?

like image 671
Jimmy Avatar asked Aug 23 '10 14:08

Jimmy


2 Answers

I haven't found a way yet in ver. 3.5.1.

You can save a little bit of time by doing the following:

Double click on the PROJECT Click on the "Test Suites" Tab Click the RUN button.

This will run all suites within the project.

like image 154
BlackGaff Avatar answered Sep 22 '22 21:09

BlackGaff


You could just write a script to run all the tests using the command line.

For example if you have 2 Projects, Project1 and Project2, which each contain 2 test suites you could write a simple script like this:

#!/bin/bash
./testrunner.sh -sUnitTesting -f Project1-soapui-project.xml
./testrunner.sh -sUnitTesting2 -f Project1-soapui-project.xml
./testrunner.sh -sotherTests -f Project2-soapui-project.xml
./testrunner.sh -sotherTests2 -f Project2-soapui-project.xml
like image 33
TrentEllingsen Avatar answered Sep 20 '22 21:09

TrentEllingsen