I have one API call and i have written test scripts against it. The URL has a variable baseUrl. I have multiple baseurls for which i want to execute that request. One way is through collection runner and attaching data file. Can somebody please recommend a better way ?
The collection runner\data file method would be the recommend way.
The only other way is to use a script\loop with setNextRequest() which also needs the collection runner to work. Please search the forum for examples.
The following has an example that you can use as a starting point.
How can I add the loop? - Just Getting Started - Postman Community
Instead of having an array of numbers, you would have an array of URL’s.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.