Questions tagged [postman-newman]

85 questions
0
votes
0 answers

How to run multiple postman collections in command or Newman

I have few postman collections which i need to execute in single command. I refer few suggestions but its not working. Created a feed file. newman run -f "D:\APIData\FeedFile.json" { "runs":[ { "collection":…
0
votes
0 answers

i got an error "getaddrinfo ENOTFOUND {{url}}" when running collection by using newman

I am new to Newman package execution with postman collection. I have done the following steps to run the postman collection using Newman package, but getting an error POST http://localhost:3000/login [errored] connect ECONNREFUSED…
0
votes
1 answer

How to export newman report without secrets?

I have to generate a newman JSON report for my APIs test results and then upload it somewhere. The problem with the default JSON reporter is that it renders all my environment variables even the ones I set as secret. I created a small mock…
Fcmam5
  • 4,888
  • 1
  • 16
  • 33
0
votes
0 answers

401 Unauthorized in Newman

Keep getting 401 Unauthorized answer for requests in Newman. I have a collection in Postman which I'm trying to execute in Newman. I exported it and tried to execute using this command: newman run collection.json -g globals.json…
tyler0504
  • 21
  • 5
0
votes
0 answers

Error while running postman collection through newman in Azure pipeline: Tunneling socket could not be established, cause=getaddrinfo ENOTFOUND

I am trying to run a postman collection in Azure pipeline through newman CLI. I am able to access this collection via the browser using colleciton id and postman api key generated. but the same url with collection id and api key, when run through…
0
votes
0 answers

Postman or Newman: Run several collections in parallel sharing common variables

This is my first question on stackoverflow, but I couldn't find anyone asking or answering this question. I have four collections in Postman that I want to run in parallel. I want all of the collections to be running at the same time, but I want to…
bhibb
  • 1
  • 2
0
votes
1 answer

How do generate request ID for postman testing

In my project,I need to send request ID in request for postman API testing. It is a google server based application project.For job creation in application,an unique ID will be sent along with required details in request as json format. That ID will…
0
votes
1 answer

DropBox API how to get the Access Code Generated using Postman

I am having a problem automating on how to get the access key generated(refer to access key generated image below) using Postman without manually place the path in browser and manually get the access key generated. I tried to POST request…
jp romo
  • 1
  • 1
0
votes
2 answers

Postman how to export api response from collection runner with iteration to a file using node script

I am completely new to writing node scripts in Postman. My requirement: I have an api to get user details. I want to iterate for n number of users. I created a Runner collection and it executes. But i want to write each request response to a…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
0
votes
0 answers

How to run a collection with specific environment triggered from postman web-hook

I am trying to trigger the postman collection to run when code is deployed successfully through postman web-hook. So, I created a web-hook as per their documentation Postman API, to run my collection, whenever the latest code is getting deployed on…
0
votes
0 answers

How to use Postman Share collection link from via JSON link to via API link?

Earlier I was sharing postman collection link from via JSON link on AzureDevops. But due to version upgrade in postman it is now showing via API link which uses access key. I tried using older version of postman but it is stuck at fetching…
0
votes
0 answers

FileUpload in Postman

I need to upload file with array data.When tried to hit API call,getting as value cant be null[parameter 'input'] I have given all the require parameters but still not resolved.Error screen is attached... Thanks in advance.
0
votes
0 answers

newman postman runner duplicating executions

I am currently running a cloud postman collection which takes through csv data, but when I look at the report (json) it's duplicating the executions (see screenshot). iteration 0 iteration 1 I've tried using different reporters and it returns the…
0
votes
3 answers

Comparing the entire response body by storing in one file and compare that file with current response in postman

I am doing automation script for Functional testing my query is Send the request and store the entire response body in one file. Again they send the request and get the new response. Compare the new response body with a stored response…
0
votes
1 answer

How do I configure a postman file path to point to a location in Azure repository

I have a postman collection, where the endpoint points to a physical file that is used to upload to execute. I am configuring this to run in Azure pipeline and need to use the file path that is in an azure repository. I am using Newman CLI to run…