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/

342 questions
30
votes
5 answers

Postman - How to move collections between Workspaces?

I have multiple collections on the same Workspace on Postman. Unfortunately things are starting to get messy, to many Collections from different projects on the same place. How can I move some Collections/APIs to new Workspaces?
17
votes
5 answers

How can I view responses in Postman Collection Runner?

I am using the Postman Collection Runner to run the same request multiple times using iterations. My tests work as expected, but I'm not able to see the individual responses for each request. Is it possible to view the responses for requests in the…
thedev
  • 2,626
  • 8
  • 31
  • 47
15
votes
4 answers

Postman - how to loop request until I get a specific response?

I'm testing API with Postman and I have a problem: My request goes to sort of middleware, so either I receive a full 1000+ line JSON, or I receive PENDING status and empty array of results: { "meta": { "status": "PENDING", …
12
votes
5 answers

How to export/download Response Body into an external file from Postman Collection Runner Results?

I am working on a project where I have to hit a web service multiple times with different values of a variable For example, http://mywebservice.com?variable1={{value}} and different values are passed using Postman collection runner. I want to…
Dinesh Singh
  • 131
  • 1
  • 1
  • 6
11
votes
15 answers

Postman : socket hang up

I just started using Postman. I had this error "Error: socket hang up" when I was executing a collection runner. I've read a few post regarding socket hang up and it mention about sending a request and there's no response from the server side and…
kenn_ross
  • 111
  • 1
  • 1
  • 5
8
votes
2 answers

How to increase Variable value based on the iteration being run in Postman

I have an API request that I need to run in Postman-Collection-Runner thru multiple iterations. The API request uses Variable. How can I make this variable to automatically increase with each iteration (or maybe set the iteration value as another…
KVN
  • 517
  • 1
  • 3
  • 20
8
votes
2 answers

Running a request in Postman multiple times with different data only runs once

I am new to Postman and running into a recurrent issue that I can’t figure out. I am trying to run the same request multiple times using an array of data established on the Pre-request script, however, when I go to the runner the request is only…
8
votes
1 answer

How to pass variables from JSON to postman body

I want to parameterized my tests in Postman. This is the example body of POST request: { "entity_id": "{{entity_id}}", "text": data.comment_name } entity_id is global variable and it works correctly, but I want to set value of text from JSON…
robmax
  • 292
  • 5
  • 21
7
votes
5 answers

Postman Collection Runner returns "No test" when running tests

I want to test the collection Test Server in Postman Collection Runner. However, when I run my tests they don't respond with a pass or fail. Postman only displays "No test" as a result. Why are my tests returning "No test" in the Postman Collection…
5
votes
1 answer

Postman Mock Server matching algorithm logic for request body param

I have two scenarios for the following API URL. POST http://{{ip_port}}/oauth/token When I put the user name and password correctly, it should return 200 and mock json response. When I put user name and password incorrectly, it should return 401…
user1156041
  • 1,993
  • 5
  • 20
  • 48
5
votes
3 answers

Postman: How to extract value from html response and pass it on to next request in postman

Example url: https://abc.xyz.com/m# HTML Response: . . …
GreyndBlue
  • 254
  • 1
  • 2
  • 9
5
votes
0 answers

How to import Newman test results into Postman

In the documentation for command line integration with Newman it says: The results of all tests and requests can be exported into a file and later imported into Postman for further analysis. Use the JSON reporter and a file name to save the…
5
votes
1 answer

Postman Newman - Requests that work in Postman fail in Newman with ETIMEDOUT

All requests to a specific server are timing out with the error ETIMEDOUT. [...]$ newman -c Test.json.postman_collection Iteration 1 of 1 RequestError: [223f1c83-1bb6-b40c-acc7-d90a2dd4e4ce] 'HB Heart Beat' terminated. Complete error: Error:…
RangerDan
  • 79
  • 1
  • 9
4
votes
2 answers

How can we implement an Open with Postman button to open a postman collection link sent from a third party react application?

I'm working with a react application and in that, I want to pass a postman collection link and open that postman collection in the postman web application. Is there any way I can try?
4
votes
2 answers

Postman test to find a keyword in a response array

I am creating a test in postman to check for a keyword "pregnancy" in each "name" field in the JSON. If each 'name' field in the JSON contains the keyword then pass the test, else fail. Find the script below that I have tried using var jsonData =…
1
2 3
22 23