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
4
votes
4 answers

Postman console log not allowing to write string in next line

I am trying to display a string on multilines with \n in the Postman Console. How can I do this? Example: var mystr='line\n another line\n another line'; console.log(mystr); Expecting: line another line another line Getting: lineanother…
mitul jain
  • 61
  • 1
  • 5
4
votes
1 answer

In Postman, how to POST binary file use collection runner

I am using the Postman Collection Runner to automate a series of API calls. On one of these API calls I need to submit a binary file as the body of a POST. When setting up the Collection Runner I see how to select a file, but I can't figure out…
4
votes
2 answers

How to set environment variable in postman collection runner?

I have an API named getcampaignlist. It returns me all campaign list with descriptions according to relevant person. Like in image I have multiple campaign with id and description. I want to set environment variable…
4
votes
1 answer

Batch running multiple Newman (Postman) test collections

I have defined several Postman test collections/folders and their associated test data files. Running them through Postman Collection Runner and Newman individually works fine. I wanted to batch multiple runs together, like this .bat in Windows: SET…
zemien
  • 562
  • 6
  • 17
4
votes
1 answer

Run Postman (or Newman) collection runner iterations in parallel

When using the collection runner (or newman) you can specify the number of iterations to perform. The iterations all execute sequentially. Is there a way within the tool to configure tests/iterations to run in parallel? I have done this with a…
robjwilkins
  • 5,462
  • 5
  • 43
  • 59
4
votes
2 answers

Postman Collection Runner - How to Save Test Runs to import them back later

How can I save a particular test run so that I can import it later using Import Test Run button on the Runs Tab of Postman Collection Runner.
Ulysses
  • 5,616
  • 7
  • 48
  • 84
3
votes
3 answers

Is it possible to save a Postman collection run order?

Every time I restart Postman and start a collection run, the order of the endpoints gets reset and I have to drag/drop them into the correct order for the run. Can this ordering be saved?
user2943799
  • 947
  • 2
  • 13
  • 23
3
votes
0 answers

How to make Postman or Postman Collection Runner send a POST request with CSV file, rails strong parameters

In a Rails 6 api, I want to test a controller with strong parameters with Postman. In the controller: class ProcessorController < ApplicationController ... def create file = processor_params[:file] ... end private def processor_params …
3
votes
1 answer

Is it possible to generate an HTML report for Postman Collection run using htmlextra or something similar, without running through newman?

Suppose I run a collection through Postman and export the results. Is there anything that I can use to generate reports from the result export?
Akshay
  • 63
  • 5
3
votes
1 answer

Postman- Pass dynamic parameters to collection at run-time which is not part of response

I have created postman collection for unit testing of APIs. I need to handle below scenario. My second API generates OTP and sends it over email but its not part of response. I want to pass that OTP in request body of 3rd API. I am executing postman…
3
votes
1 answer

Postman test is always passing even though it fails

While running postman Tests, Test case seems to be always passing The response body is provided below. I am trying to fetch id when the name is "Erin" and validate that id is 800. Small piece of code that i wrote is below the response body written…
aak
  • 75
  • 7
3
votes
2 answers

How to integrate postman collection in maven pom.xml

I have postman.collection.json files and I am able to run those collections files through newman and using the below command. newman run test.postman.collection.json -e environment.collection.json -d test.csv It ran successfully and is giving a…
ArrchanaMohan
  • 2,314
  • 4
  • 36
  • 84
3
votes
3 answers

Import multiple curl requests into Postman

I'm trying to import a list of curl requests into a Postman collection. With one single url i have no problem with import: i go to import→paste raw text, paste an url like curl -X GET…
Evgeniy
  • 2,337
  • 2
  • 28
  • 68
3
votes
1 answer

How to get the JSON response from newman

I tried to run the end point which is running fine on postman and I just exported as collection and running it through newman on JENKINS CI. Command: newman run .json -r json,cli I'm getting the response.json file in the…
ArrchanaMohan
  • 2,314
  • 4
  • 36
  • 84
3
votes
2 answers

postman.setNextRequest(null) is not stopping the iteration in Postman Collection

Note: I'm using a simple test API for this inquiry hoping it will be better to understand my inquiry. The URL for the API is https://jsonplaceholder.typicode.com/users. I'm setting up a Postman Collection with only one Post request to be called. On…
Carlo
  • 31
  • 1
  • 2
1 2
3
31 32