Forum Discussion

FilippoRaimondi's avatar
FilippoRaimondi
New Contributor
13 years ago

Need help

Hello Folks,

I am using soapUI Pro to execute regression tests... so far I created several projects that I am triggering using TestRunner via a batch file and finally create a report based on the assertion of each TCs in each project...

The issue is that when I call the projects via testrunner or execute the project manually it will execute the test case, send a request xml and wait for the response before moving to the next test case... the issue is that I have over 400 test cases and if I send and wait for the response for each test case it takes me almost an our to execute all the tests... I was wondering if there is a way in soapUI pro to send multiple requests using multiple threads so the time spent on the regression test takes less time... Please let me know if I wasn't clear enough or if there are any doubts!

I appreciate all your help!

Thanks,
Filippo Raimondi
IT Specialist - IBM

6 Replies

  • Finan's avatar
    Finan
    Frequent Contributor
    Hi,

    In soapUI pro (I assume also in the free edition) you can run testSuites in parallel mode. See attached screenshot.
    Important note: if you use runTestCase testSteps, make sure that the runModes of those steps are set to "parallel"
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    Since you are a soapUI Pro user, I would like you to know that you are entitled to Pro support from eviware. Note that your user credentials for the Pro forum should have been sent to you in the same e-mail as your license key. If this doesn't help, we need your license information to be able to help you --then please send it to us at support at eviware.com.

    Sorry for the inconvienience!

    Henrik
    eviware support
  • my license details are below:


    [censored by eviware moderator]


    But my email is [censored by eviware moderator] ...


    Finan,

    this worked perfectly for me... I was not aware of this functionality... this really helped me reduce my time in around 70%...

    There is one more question tho - is it possible to run all projects inside the workspace in parallel like we did for each tc? I have like 200 projects and each project around 10 testcases... if I am able to execute all projects in parallel like I did with the testcases it would be simply awesome! I will continue looking if this is possible via soapUI and if I dont succeed I will try it some other way... Any help is appreciated!

    Thanks a lot!
    Filippo Raimondi
    IT Specialist - IBM
  • Finan's avatar
    Finan
    Frequent Contributor
    It is possible. (AFAIK it is not possible to open a workspace editor and select "run all projects")

    Possible ways:
    1. Open a tab for each project/testSuite in your workspace and run the testSuites simultaneously.
    2. Use the testRunner.bat/sh to run an individual project, and create multiple batch/shell scripts, one for each project. (Or use a CI (Continous Integration) tool to do this for you, also helpful with regression tests)
    3. Open an instance of soapUi for each project.

    4. (Requires a bit of scripting knowledge (groovy)):
    Or you can write a groovy script that will run each project in an individual thread.
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    FilippoRaimondi wrote:
    my license details are below:


    [censored by eviware moderator]


    But my email is [censored by eviware moderator] ...

    Hi again!

    You can now post in the soapUI Pro forum (I censored your license info that you posted just to be on the safe side)!

    Regards!

    Henrik
    eviware
  • I liked your idea of writing a groovy script... It's probably the best option... I downloaded CI... I never used it before but it seems to be an interesting tool... Thank you again for the suggestions!!

    Also thanks for upgrading my forum account =)

    Thanks,
    Filippo Raimondi
    IT Specialist - IBM