Forum Discussion

saurabhsharma09's avatar
saurabhsharma09
Contributor
12 years ago

How to re-run test suite for different parameters

Hello,

I have a test suite in soap ui in which i am validating database values and i want to run this test suite for different parameters once it is run.
my test suite steps goes like below:-
1. Clean-up from database.
2. User login Excel Data Source.
3. Application Login.
4. Validate Database records.
5. Logout.
Now i want to run above 5 steps for a different user again.
What should be the best way to do this?

Thanks,
  • Thanks a lot for the reply.
    the data source loop jumps between source and target step as per my understanding.
    these items(Clean-up from database,User login Excel Data Source..) are actual test cases in my test suite and contains multiple steps inside them.
    I want to re-run the whole test suite again automatically with different parameters.
    I probably need some data source at Test Suite level instead of test case level.
    It would be great if you please guide me how can i achieve that.

    Thanks,
  • Hi,

    There is not a way to add a DataSource at the TestStuite level to achieve that unfortunately.
    But you could have a Project property that you can change before you run your TestSuite and that your TestCases would reference.
    And if you make the use of environments (http://www.soapui.org/Working-with-Proj ... oapui.html), then you could run your TestSuite for these different environments and each such run would use the environment specific project property that you want to test with. But there is not a built in way to run that scenario automatically in a loop.

    Regards,

    Giscard
    SmartBear Support