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
1
vote
0 answers

How to convert postman collection V1 to V2 in link format

I have some collection postman v1 but are in link format, is there any way to transform to .json files so i can use the postman collection converter?
Carolina
  • 21
  • 2
1
vote
1 answer

Multipart/Realted API request in POSTMAN

I need to know the setup process of multipart/related file upload API request in POSTMAN. I have the following details API url :- https://apiq-jmqny-ste.azpre-api.net json body :- { "token" : "aqop094567", "flow" : "work" } pdf file :-…
1
vote
1 answer

Postman request body appears as [object Object]

I'm trying to run the Postman collection runner with the following JSON file: [ { "articles": [ { "created_date": "2019-04-09T12:00:00Z", "author_id": "4421-45V2-1909-2404-0143-J9936", …
1
vote
0 answers

Data file content for Postman Runner to test a POST request of type multipart/form-data

What is the data file that should be provided in Postman runner to execute multiple calls to a POST endpoint that expects multiplart/form-data? I have an Azure function which looks like this (simplified for this post): [FunctionName("UploadImage")] …
1
vote
1 answer

Setting timeout for postman collections

I want to run the Postman collection with timeout enabled at the collection level. Is this setting possible at the collection level in Postman? I know that the timeout can be set per request using setTimeout(() => {}, 15000), but I could not find…
1
vote
1 answer

How to pass nested array in a postman automation test script

I'm creating test automation scripts through postman. I want to pass a nested array in postman body { "fruit":{{fruit}}, "Vehicles":[ { "car":{{car}}, "bike":{{bike}} } ] } I want to pass the vehicles…
Erandi Dilshani
  • 335
  • 1
  • 4
  • 11
1
vote
1 answer

How can we set dependency in pre requisite of Postman Automation?

I have 2 Postman scripts: Issue offer Redeem offer Redeem offer API is dependent to the Issue offer API. So, everytime to run redeem offer, we need to run first Issue offer. To do this how can we add issue offer to the Pre-requisite of Redeem…
1
vote
1 answer

postman runner save response for each iteration

I am running the postman runner for a GET request, that uses a data file to iterate through values for a query parameter, such as a user's email. I'd like to store the response for each iteration in a single JSON or data file to match the responses…
1
vote
1 answer

How can I print the assertion with a value even if it get passed in Postman Api Testing

As a user, while executing the test cases created for the API Request, I'm expecting that it must show the value of the assertion even if the test cases pass. For Example: pm.test("User ID Should Exist", ()=>{ value =…
1
vote
1 answer

Running a postman-collection only starts the first one

I have a postman collection with 3 requests in it. When I click on "Run Collection" normally all 3 requests are sent. Yesterday I figured out that only the first one is triggered, the others are ignored. I have cloned the collection, I have…
1
vote
0 answers

How can I make a Postman mock server return different examples?

In Postman, I wish to create a mock server that contains a request with 3 different examples of a response, each one associated to a HTTP code, so that on three successive calls, that request returns the mock responses in the given order.…
1
vote
0 answers

Passing parameters by Postman to Eclipse-SUMO Docker image

I am new to docker, and I have been asked to run a simulation via a docker image of SUMO (Simulation of Urban MObility) on a server on the cloud, and I should pass the simulation parameters in a JSON format file by Postman. Everything is kind of…
Ehsan Xan
  • 31
  • 4
1
vote
1 answer

Convert to string in Postman?

In Postman, I use {{$randomUUID}} as a parameter, but I need to pass it as string (text) in the request. However, there is no convert function in Postman and I could not found any proper way to convert this generated UUID to string. So, how can I…
user16979464
1
vote
1 answer

Getting Error " Data Should Be Object" while validating json schema

I have generated json schema for json schema tool. I have added that schema in variable. But during validation I am getting error that "Validate json Schema | AssertionError: expected data to satisfy schema but found following errors: data should be…
1
vote
1 answer

Environment variable is not set properly during Postman Runner

I have a pre-request script that increments an enviroment variable to generate different ids each time a request is generated. Also, I have a runner that calls this request multiple times: However, I’ve noticed that during the runner the…