atariqnadra
3 years agoMember
Store a series of Id's in a property while iterating in a data source loop
I have a test step within a Data Source Loop that creates test users. Each request to create a user returns the user id in the response. I want to store all Id's while creating the users so that I can iterate over them one by one later in the test.
Hi,
Have a look at the support material for the datasink step. This allows you to save data to file. You can have a datasink step inside the loop of your data-driven test.
The file produced by the data sink can then be used as the datasource for another loop later in your test.
If you search this forum, you'll find some other solutions I posted about datasource loops and datasinks.