Use a request multiple times and inject data from another request in Postman

In terms of data-driven testing, Postman allows you to load a CSV or a JSON file with test data. But sometimes that data set comes from an API. In this Postman tutorial, I wanted to show you how to reuse a request and loop over a set of data from a previous request.

The problem

--

--

--

Hands-on tutorials about learning how to use APIs, how to test them and much more.

Recommended from Medium

Web Hypertext Application Technology Working Group

postImage

Learn to create a multiple-choice quiz in vanilla JavaScript

JavaScript according to me (simple & easy)

Creating Scenes in PixiJS

JOURNEY OF BUILDING KINDMEAL CLONE WEBSITE

Deploy Angular application in NgInx server on DigitalOcean Ubuntu droplet

All about the Virtual DOM

How to Make an Accessible Accordion Component

A man in the streets, playing the accordion for money.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Valentin Despa

Valentin Despa

Software developer and online instructor. Imprint: http://vdespa.com/imprint

More from Medium

Testing Dockers I: Usecase and Test Strategy, Hadolint for Best Practices

Cypress.io, What is it all about?

How to Run Selenium Automation Tests on Gitlab CI/CD & Github Actions?

Deploying Tests on Selenium Grid using Docker