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
0
votes
1 answer

How to download excel (.xls) file from API in postman for suite run?

For Single request,I can able to download the response output in excel format by chose an option 'Send and Download'. Can anyone help me to download the same using collection runner in postman.
VijayR
  • 1
  • 2
0
votes
0 answers

Postman only runs half of the requests in my collection

There are 107 requests in my collection folder (postman). This collection was running perfectly fine before with all 107 requests executed. Now, i only see half of the requests running in the collection folder and no error prompted anywhere. is…
bayex003
  • 9
  • 2
0
votes
1 answer

How to handle postman monitor timeout issue when monitor running a collection exceeds 5min of total time

I setup a monitor for a postman API(around 200 requests and each request has a timeout set for 1.5sec) collection however I see it time-out with this error : Error: callback timed out I notice the timestamp when monitor started as well as failed…
anonymous-explorer
  • 365
  • 1
  • 12
  • 26
0
votes
1 answer

How to read contents off a zip file from google cloud storage (GCS) in Postman javascript

In postman response, the output is a URL that contains a https link to google cloud storage which contains a zip folder. This . zip folder contains an excel and a pdf file. I am looking for one of these solutions. Either use javascript to download…
0
votes
1 answer

Postman polling for a limited number of times before failing a test and moving to next request

I am writing a test for an Async GET request. This test needs to retry every 5 seconds for up to 120 seconds before it fails and moves on to the next request. At the moment as a quick fix, I keep retrying without a limiter and that means it would…
0
votes
1 answer

Postman: How to store an array from response and use it to make multiple requests

Let's say I have an API endpoint /bar that returns: { "fooIds": [1,2,3] } and a /foo/ endpoint that i would like to call with those ids. Is there way of getting postman to make a call to the /bar endpoint and subsequent calls to /foo?
Maths noob
  • 1,684
  • 20
  • 42
0
votes
1 answer

Postman storing collection variable JWT token after user logins from response

I'm trying to store a postman collection variable for a JWT token after a user logins. I am getting this error: SyntaxError | Invalid or unexpected token For reference this is what I've been using for the tests var data =…
0
votes
1 answer

Newman / Postman - Cannot replace value for a key in the Environment JSON, from command line

I'm new to both Postman and Newman. I have created my simple test which uses the Environment Variables JSON for some properties values. It runs fine when the value for this key is hardcoded in the environment.json but it's failing if I'm trying to…
KVN
  • 863
  • 1
  • 17
  • 35
0
votes
1 answer

Run different collection test based on the HTTP method type in Postman

I've defined several collection tests that fire after each individual test in collection. See below pm.test("Status code is not of error type", function() { pm.expect(pm.response.code).to.not.eql(500); }); pm.test("Content-Type is present",…
Dan
  • 473
  • 3
  • 13
0
votes
1 answer

Postman - set variables for individual requests before collection pre-request script runs

I want to make a Postman collection of requests hitting the same API endpoints as different users. For example: login "user_1" set data login "user_2" get data & check correct I could make the login request a separate request, so the example…
0
votes
1 answer

Monitor a postman collection

how do I use a data file to monitor my postman collection? I read in the Postman Documentation that it is not possible to use a data file as we use for collection run but we can access Google docs, google sheets etc. I don't understand how do we…
Zankhana Rana
  • 169
  • 2
  • 16
0
votes
1 answer

In postman collection execution, Is it possible to access multiple data files per collection or access different rows in same iteration?

I'm running test cases using postman for different API calls. Running multiple REST APIs require different datafile. Also, I need to access different rows of the same datafile. Is there a way to implement this using postman? I'm seeing a restriction…
viz
  • 51
  • 8
0
votes
0 answers

Data Files in PR-request_Result is showing as undefined

Problem statement:- I am trying to use data variables in pre-request section and I am unable to retrieve values from CSV data variable. I tried using the below two options but still no data is seen when I try to log the value nothing is displayed; -…
0
votes
0 answers

newman cli version 4.2.3 and 4.2.0 giving wrong result but postman return correct result

Tests in postman passes as the api returns the 200 ok response, but the same postman collection in newmnan cli returns failed assertions as results even for the passed test (200 ok). Test for checking response to return 200 status code passed in…
Mrinal Deo
  • 81
  • 2
  • 10
0
votes
2 answers

Repeatedly send API request based on parameters in Postman

I have a database table with approx 4,000 records (currently). A response to an API call (POST, JSON) gives me data of this table for a maximum of 1,000 records per API call. A parameter ‘PageNo’ defines which of the 4,000 records are selected (e.g.…
Markus K
  • 21
  • 2
  • 6