Postman - Running a request multiple times with different data sets (external data files)

preview_player
Показать описание
💥 So you want to see more advanced scenarios, writing tests for external data files, and much more exclusive content? Check my complete Postman online course.
___

In this video, I will show you how you can take advantage of external data files (JSON and CSV) to submit the same request over and over again but with different data each time.

The Postman collection used can be found here:

___

// P L A Y L I S T S

___

// F R E E R E S O U R C E S

▸▸▸ Download the FREE Postman Quick Reference Guide
Рекомендации по теме
Комментарии
Автор

👉 Want to learn more about Postman? Get my Postman complete course at a special price and help support this YouTube channel.

vdespa
Автор

can you explain how to send the post request with multiple customer details including file via form-data from the postman?

Obaba-eygy
Автор

Hey man, thanks for the video. How would turn the columns of a csv containing thousands of rows into the key value pairs of each object or iteration? Hope that makes sense.

ntnvlgsvlgs
Автор

very informative video, thank you, how can I export the Req. and Res. body of all iterations?

hamedkhatami
Автор

Its possible to do this but without the runner?? like calling the external data by code or by javascript inside of pre-request script??

paulofreitasview
Автор

Hi Valentin,


This is a nice tutorial and thank you very much for that. But I have a question here if I want to run the Postman scripts in CICD pipeline then is there any way to use the external .json data file in scripts as in batch mode we are not able to select file from Postman collection. Any command is available to add that .json file with collection file so that every thing works fine in pipe line ?


Appreciate your response on this.


Thanks,
Abhishek

abhisheksvibe
Автор

@Valentin: thank you - these tutorials are great. Could you please explain how you handle your assertions in tests when using a data driven case like this? Your tests were failing due to the dynamic data you passed in - how do you similarly make your tests dynamic?
Could you include the expected result in each array and then parameterise your tests too? In that way you are passing in not only the dynamic data for the request, but dynamic data for the test, too?

FrankDoylezw
Автор

How can i test one request with both positive and negative test scenarios.

simplearora
Автор

Valentine makes cool videos and is a great teacher

syedarmaghanhassan
Автор

@Valentin
how can we use the same dataset.json file in postman monitors? is there any way using web view?

jassi
Автор

How to pass that parameter from url instead of body?

ranadheerp
Автор

@Valentin Despa how i can do it with multiple form-data (uploading images for example ) ?

andrii
Автор

@valentin Despa is possivel to run a collecion setting an env variable with any code(pm.set.enviorenment etc etc) and at the same time send values for others end points in the CSV? The end point that use the CSV file need the Env variables... Is that possivel?
Greeting, all your videos are fantastics

cristhianlopez
Автор

Hi Valntine... good job... i want to ask about how to compare the two apis in postman?

chandrashekharchoudhari
Автор

Hi Valentin, thanks for the video... How do i 1. fire multiple iterations of a single post request from a csv 2. collect the response in an array and then 3. fire multiple interations of a single Get request using the responses

merwinrodrigues
Автор

Hi bro,
Your the saviour for postman concepts and pls let us know how to automate soap service in postman

shankarlingam
Автор

Hi valentine.
Do we have option to write back the data from response to csv file..
If so how is it possible.
Can u share me the video related to that, which would help me in better understanding.
Thanks in advance 😊

meghagowda
Автор

This is playing with the body, I need to change the param value how do I do ?

harisaaron
Автор

Hi, Thanks for the video, I have one doubt, assume I have 2 files inside the folder, and I wrote some test cases in .json file, both the files contains a post request and both are hitting to different end points, I want few test cases to get tested in first request, and other cases in second req file, how to distinguish between them, or we have only one request file in a directory? Thanks

harishshet
Автор

How to import json file to run for multiple requests in a workflow?

sobhankumara.v.
join shbcf.ru