Hi Everyone!!! Let's check out some details about Data-Driven Testing with Postman using CSV and JSON filesπ
Data-driven testing can be a very effective approach in testing an API against different data-sets. Postman supports CSV and JSON files to get data for the test scripts. The data-driven approach is useful when we need to execute a test with multiple sets of Data. Also, modifying or adding any data fields will just need updating the data files which is easier than going to test script and updating test data.
To explain the same I’ll use a sample request which I use in my daily work.
Steps to do this:-