Questions tagged [postman-collection-runner]

Use this tag for issues with Postman Collection Runner; use the [postman] tag for general Postman issues.

You can use Collection Runner to run all the requests of a Postman Collection in one go.

Postman Collection Runner

Reference:
https://learning.postman.com/docs/running-collections/intro-to-collection-runs/

471 questions
2
votes
2 answers

How can i export a request or collection into excel directly from Postman?

I want request present in collection into excel. How can I export a collection to excel using Postman? Since I am unable to find any solution.
2
votes
0 answers

Is it possible to upload images from the path mentioned in JSON data file in Postman app

I have a collection of requests out of which some of those require an image to be uploaded for further processing.When I manually run the collection , I select a file in the postman app and send the request. But my purpose here is to run the…
Sjain
  • 69
  • 1
  • 13
2
votes
1 answer

Postman multiple image

I'm not able to select multiple images in postman. Is their any script using which we can select multiple image? please help
2
votes
1 answer

File in Postman Request Body is not Saved in the Collection

I have a POST request which validates a text/csv file in the request body. The request runs successfully in postman: returns HTTP code 200. The Request Body in the Postman Console is populated with the file path and name i.e.…
David
  • 175
  • 1
  • 2
  • 13
2
votes
1 answer

How to get all decimal digits provided in a json response in Postman?

I Have an API that returns the following (example): {"rate": 3.568640920671274015} In the Tests space, I try to retrieve the rate value: pm.test("Set variables", function () { var jsonData = pm.response.json(); pm.environment.set('new-rate',…
Totalys
  • 445
  • 2
  • 10
  • 25
2
votes
1 answer

How to verify in postman regardless of the number of results if the result returns

How to verify in postman regardless of the number of results that all of data in the response returns id, firstname, lastname etc Here is what response look like: [ { "id": 1, "first_name": "Sebastian", "last_name":…
Poonam
  • 166
  • 2
  • 14
2
votes
0 answers

how to run multiple APIs through collection runner with data file in postman

I have 5 APIs in my collection. am able to run it through postman collection runner for all APIs at static data. But i want to use dynamic data for all APIs. for 1 API am able to run multiple iteration through json or csv. please let me knpw how we…
Cherry g
  • 246
  • 4
  • 14
2
votes
2 answers

How to read entire test data file in postman as part of pre-request script?

I am trying to read the entire test data file as a part of pre-request script in postman. I tried the variable pm.iterationData, however ,it prints only the current iteration data set in the colletion runner. I need the entire test data and load…
Raghav
  • 67
  • 2
  • 9
2
votes
1 answer

How to keep Postman collections and tests in sync with swagger/open api specs and git in a CI flow

We are investigating whether we can incorporate Postman Test Runner and Newman into an API testing flow with our Jenkins CI server. My question is this: once I import a swagger/Open API file into a Postman collection, how can I keep changes from…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
2
votes
1 answer

Integration point of Postman Clean up

Is there a way to incorporate a clean up script in Postman? Use case: After the collection run : (either success or failure). I need to clear data in some of the databases/data-stores similar construct to try{} finally{} for eg : as a part of…
pavan kumar reddy
  • 183
  • 1
  • 2
  • 9
2
votes
1 answer

Run a Postman request multiple times using an array from a previous step

I am working on some test scripts and data cleanup scripts using postman, and was wondering if it were possible to run a request on an array result produced in a previous step. For example, I have an API that returns tasks as a JSON like so: [ …
CodeChimp
  • 8,016
  • 5
  • 41
  • 79
2
votes
1 answer

Request reuse in Postman

Our team wants to automate our REST API testing. Right now, we have a collection of Postman requests and make them jump through hoops manually. We could create a collection/folder for each testing scenario, but that would mean a ton of duplication.…
Martin Grey
  • 744
  • 2
  • 12
  • 26
2
votes
1 answer

Adding Postman Variables in JSON Post Body inside key name fields

So i have been making my postman collections as dynamic as possible, replacing all static content that only changes slightly during different API calls into variables, to decrease workload by quite a lot. I have one thing left that i just cannot get…
Marius
  • 186
  • 2
  • 13
2
votes
2 answers

PostMan : For Huge data request, I want to have my input in the form of external JSON file and indeed to re-place the entire body per iteration

App Details: Postman for Win7 /x64 Issue Report: For Huge data request, I want to have my input in the form of external JSON file and indeed to re-place the entire body per iteration. Expected behavior: body of request, should able to replace by my…
ChandraKanth
  • 66
  • 1
  • 6
2
votes
1 answer

How to attach file to Postman environment?

How can I attach a file to the environment in order to launch the collection in the Postman collection runner? The file is attached to the form-data, and manually the request runs ok, but as soon as I run it in the collection runner, the runner…
Michael 12345
  • 85
  • 2
  • 5