Forum Discussion

wiseAcre's avatar
wiseAcre
Occasional Contributor
3 years ago
Solved

How to Automate a Group of Test Suites to auto execute test steps with Groovy Scripting

As a requirement of performance load testing, I have seven REST test suites that I want to execute one /create test step every 15 secs, so in total I want a script that will run 112 test steps executed every minute for a fixed period of time, usually eight hours. From what I know Groovy scripts can only be run from a test step.  I tried creating a master test suite and placing the seven test suites as sub-suites but that doesn't work.  I currently using SOAPUI 5.5 standard edition. 

 

Does anyone know of a solution to this issue? 

Does anyone know if ReadyAPI can address this issue?

 

  • Each scenario and API's and their combinations make it unique and there may or may not have solution in hand.

    However you can work out to create what you need. And people can suggest if you are facing any specific issue.

     

    First you can create the the functional test with what all you need then you can easily create load test with appropriate test strategy as you needed.

    Please refer below for more details

    https://www.soapui.org/docs/load-testing/reference/strategies/?sbsearch=Fixed%20Rate

1 Reply

  • nmrao's avatar
    nmrao
    Champion Level 3

    Each scenario and API's and their combinations make it unique and there may or may not have solution in hand.

    However you can work out to create what you need. And people can suggest if you are facing any specific issue.

     

    First you can create the the functional test with what all you need then you can easily create load test with appropriate test strategy as you needed.

    Please refer below for more details

    https://www.soapui.org/docs/load-testing/reference/strategies/?sbsearch=Fixed%20Rate