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
2 answers

Postman - POST request with file upload

I'm testing a flow of events which one of the steps is to upload a file, this is a RAR file.  This step is made by POST request and in the body you can add fields and give them a value, also, you can choose a file field and on the right side you…
Amit Cohen
  • 41
  • 1
  • 1
  • 6
0
votes
0 answers

Giving random name to a file before the POST method

I have an issue with the Postman/Node.js as in when I try to do POST method with a document attached. I want to change the name of the file before the request because two files of the same name cannot be uploaded. I want to be able to set it up so a…
0
votes
2 answers

Postman integration with Jenkins, table not shown properly

I have integrated a Postman sample with Jenkins and the same works properly in the newman cmd line, but not in Jenkins. [
Vittal
  • 79
  • 1
  • 4
  • 10
0
votes
1 answer

Collection Runner - How to setup environment specific variables based on the currently running environment?

I have created two environments and need to setup some environment specific variables in 'Pre request script' of the first request based on the currently running environment in collection runner. Is there any way to do this? Or Is there any way to…
prawin
  • 413
  • 7
  • 16
0
votes
1 answer

How to retrieve the HTTP code using postman from a Json slim response?

I'm currently developing a REST API with the Slim framework. To test my API I'm using postman but I can't retrieve the status code sent by the slim method: $response->withJson($data, $status, $encodingOptions) $slimApp->post('/v1/users',…
BiasInput
  • 654
  • 1
  • 10
  • 28
0
votes
1 answer

How to automate Rest apis testing using Postman Collection Runner, if header of each test cases require fresh token

JWT Token(having fix time duration(about 1 hr)) is needed inside Header of Postman to test Rest-apis. How to automate such test cases if it require token having fix time duration. I have written approx 30 test cases,if I run my test cases using…
0
votes
1 answer

How to pass csv data in postman collection so monitor can pick it

I have a situation where I have added my testdata in csv sheet. Moreover, I have created automated tests in js and I am passing this csv data with csv at the time of Collection Runner. It is working fine with postman on my local but when I run these…
Shubham Jain
  • 16,610
  • 15
  • 78
  • 125
0
votes
1 answer

Execution requests n times with Postman

I need to execute a requests n times which in his body has an id value. Collection runner lets executing complete collection n times but I have not found anything for concrete requests. Request body: { "idEncargo":XXXXXXXX } From previous request…
Antonio
  • 21
  • 6
0
votes
1 answer

Value not substiuting in Postman Runner Collection

I'm trying to execute REST Webservice with multiple input from csv file in Postman Runner collection, but in URL param my csv value is not substituting. I followed the same example even that's not working -…
learn java
  • 231
  • 3
  • 14
-1
votes
0 answers

Error message appearing while generating html reports in newman

enter image description hereI have installed Newman and Newman-reporter-HTML in the same folder, still whenever I run Postman collection through CLI and try to generate reports it displays the following error: "ensure that the reporter is installed…
-1
votes
1 answer

How to get the value of key from the body of Json response using Postman Test?

Hi Team I have response Json whose body is as below { "host": "telemarket-backend.val.io", "ssl-client-verify": "NONE", "x-request-id": "916633224df75cb3cd728631879612181761", } when I am writing test in Postman for the above body as…
-1
votes
1 answer

Is there any idea about “remove duplicate request using Postman after recording script”

when I use the postman to recorder requests, I alsways get a large number of repeated requests, How can I take som action to remove duplicate request using Postman after recording script
-1
votes
1 answer

Postman giving 400 for pm.sendRequest

When I am running below send request from Postman - Tests, getting 400 bad request. Could anyone tell me where I am wrong in sending the request? let loginRequest = { url: new_url, method: 'POST', headers: { …
-1
votes
1 answer

Postman Collection Runner runs stale request. Solution?

A couple of days ago, I ran a collection of two requests in Postman. I was using an environment variable created in the first request which was then used in the second request. I ran the two requests manually in the primary application interface…
Henke
  • 4,445
  • 3
  • 31
  • 44
-1
votes
1 answer

Postman - Ignoring a request from the runner based on iteration count

I have to run my collection on two different Country levels so I have my iteration set up as one iteration for one country, but some of the endpoints are not country-specific and need not have to run twice. Is there a way I can avoid running certain…
Uthara
  • 1
  • 3
1 2 3
31
32