Forum Discussion

livevox084's avatar
livevox084
Occasional Contributor
10 years ago

How can i run my Test Suites in a loop inside Ready API Project?

Hi All,

Í am automating REST API using Ready API (version:1.3.1)]

Here i need your suggestion/solution for running test suites in a loop.

 

I organised my API project as following:

 

Test_Suite_0 (this has just Login steps)

Test_Suite_1

Test_Suite_2

Test_Suite_3

 

Test_Suite_0 has just login steps and i am reading login data from (grid) data source.

Grid data source has four rows.

Each row has diffent login information (i mean diffrent user roles login information:Sysadmin,SuperUser,Manager,User)

Test_Suite_0 has a common login  step for remaining test suites.

 

After executing Test_Suite_0 i am storing the cookie information at project level property and passing all subsequent requests.

i want to loop 4 Test Suites for four diffent user roles.

 

I am flexible to do groovy scripting and anybody can suggest me a way to loop Test Suites for Different uer roles?

 

Thanks in Advance,

Rajuendra Prasad