Questions tagged [postman]

Postman is a client for sending and emulating requests over HTTP. It is most commonly used with API requests. Use for questions about the tool itself. Use with any relevant API tags if you are having issues with a specific use.

Started out as a simple testing tool, Postman is now an elegant, flexible tool used to build connected software via APIs - quickly, easily, and accurately. It is used by nearly five million developers and more than 100,000 companies worldwide.

Postman enables you to:

  • Create Collections of requests
  • Organize your work within different Workspaces
  • Split-stack development with Mock Servers
  • Use Tests & Scripts to add dynamic parameters
  • Automate tests with Collection Runner
  • Test performance & behavior with Monitors
  • Document & Publish Collections for collaboration
12313 questions
3
votes
1 answer

Could not get any response in postman version 5.5.0

I installed postman's native app in my desktop(Postman version 5.5.0). Now when I send simple soap request, "Could not get any response" message is shown. The same request when sent in my previous postman chrome extension I get the expected…
3
votes
0 answers

Unable to update a file in Postman using x-www-form-urlencoded

I need to update a file using Postman. In the Postman application, it doesn't show the option text or file. Is there any process to update a file using x-www-form-urlencoded, within Postman?
3
votes
1 answer

MongoDB - Error with Postman - Data sending fails

I have used Mean Stack to build a project. I have created a Report Form in which data can be inserted. When I insert the data from the form the data is inserted to the collection. But when I use Postman to insert data the data insertion fails.…
Gethma
  • 299
  • 1
  • 5
  • 24
3
votes
1 answer

Is there any Newman option to attach a test/pre-request script before each call of a folder in Postman collection

The need here is to run a pre-request script before each call in a folder of a postman collection, optionally, while running from Newman collection. For example, if running a test suite of 10 calls in one folder, the call would usually be: newman…
Ulysses
  • 5,616
  • 7
  • 48
  • 84
3
votes
2 answers

postman: How to authenticate for my webapp which uses Google OAuth2?

I have a web app which uses Google OAuth2 for security. There are many API endpoints which I need to test through postman, but they require the user to authenticate using google. When I access some API, say localhost:8080/user, the web app redirects…
Registered User
  • 2,239
  • 3
  • 32
  • 58
3
votes
1 answer

how to upload a file with size greater than 5mb to AWS in single upload operation

function uploadGuideMedia(req, res, next) { if (!req.file && !req.body.id) { return res.status(401).send({ status: 401, data: "Upload a file with 'file' key" }); } db.query('SELECT * from…
M gowda
  • 203
  • 6
  • 14
3
votes
1 answer

Postman Twitter Api Authentication error - Code : 32

I’m currently facing an issue of authentication when trying to send a basic GET request. The result I get from that attempt looks like this : {“errors”:[{“code”:32,“message”:“Could not authenticate you.”}]} I’m familiar with the fact that this…
undervoid
  • 193
  • 1
  • 2
  • 10
3
votes
3 answers

How to Send multiple request concurrently/Sequentially in postman with different set of values for each request?

For example, below is the JSON request data to "add a device" in the DB. For example, I want to add 10000 devices with different IMEI number and different phone number to the server for testing purpose. So, how to send the request at once. I'm ready…
Mega
  • 95
  • 2
  • 2
  • 7
3
votes
3 answers

org.apache.solr.common.SolrException Stream Body is disabled

I have setup apache solr 7.1 and using postman tool to query it. But when I am trying to delete indexed data using postman I get following error. Request: GET http://localhost:8983/solr/solr-sample3/update?stream.body={ "delete": { …
saket satpute
  • 177
  • 3
  • 13
3
votes
1 answer

Why do .CSV files downloaded as .TXT in postman?

I was verifying the HTTP content-type header and the file extensions via postman (Using 'Send and Download' button with the HTTP GET request on file URLs). We have different type of sample files available at http://www.sample-videos.com. and…
Master Po
  • 1,497
  • 1
  • 23
  • 42
3
votes
2 answers

API Gateway mapping template : Convert form-data(POST) request to JSON

I am sending some form-data in request body from postman. In aws API Gateway I have set Content-type as "multipart/form-data" and mapping template is following: #set($allParams = $input.params()) { "body-json" : $input.json('$'), "params" :…
3
votes
2 answers

Newman not using environment variables

I have a Postman collection that I am trying to get working with newman, but my environment variables aren't being used. The request URL is simply {{url}} and then I have an environment variable of the same name. I am running my test with this…
Megan Barton
  • 51
  • 1
  • 6
3
votes
2 answers

How can I disable the CSRF filter on Play 2.6?

I've been trying to use Postman with my Play Framework API, but I keep running into problems related to the CSRF Filter. I've browsed a few forums (including SO) looking for a fix to this, and the proverbial advice seems to be…
Daniel
  • 147
  • 8
3
votes
1 answer

Automate the process of sending Postman Requests and save the responses in a file

I want to automate the process of sending get requests to an API and save the responses in a JSON file. I have researched a lot online and haven't found anything. I have created a collection and run it, but how do I automate it.
qwerty
  • 887
  • 11
  • 33
3
votes
2 answers

How to Allow Form-Data in NodeJS

I recently created an API that accepts files. I am trying to test the API using Postman. If I make a post request using x-wwww-form-urlencoded body type, everything works and I get all the expected data. The only problem is that it does not allow to…
Hafiz Temuri
  • 3,882
  • 6
  • 41
  • 66