to automate calling API endpoints with external data,
it is possible to use Postman tool, where "collection" (folder with API endpoint templates)
can be "Run" with a "Data File", and then API call is done with each of "records"
(rows in CSV file)
Obviously, the same can be done by writing custom code...
This is a "no code" solution, to be used where appropriate
Run collections using imported data | Postman Learning Center
Run your collections in Postman using custom data for each iteration. In the Collection Runner, select the CSV or JSON file with the data you want to use. When you run the collection, Postman uses data from the file to populate variables in the collection's requests.
No comments:
Post a Comment