Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I view a request coming into my Postman mock server?

My website is making post requests to Postman's mock server. I want to be able to see my request to make sure that it is coming across in the way that I expect. I have tried attaching a monitor but that doesn't show me the request anywhere that I am able to find.

Where in the Postman Windows client can I see a request coming in to my Postman mock server?

like image 687
BrettARose Avatar asked Jun 21 '18 16:06

BrettARose


People also ask

How do you see the actual request in Postman?

You can right click on the main Postman window > Inspect element. In the Network tab, you'll be able to see the request when you click the Send button. Clicking on the request in the Network tab will show you the response payload.

Which is the path of request that is to mock?

To mock GraphQL queries, make a request to the mock server using the request path and request body saved in the examples in the mocked collection. Make sure to set the Content-type header to application/json in your examples.


2 Answers

I contacted Postman support and they say currently what I want to do is not possible. See this link for information: Postman Support Twitter Response

They did say however that if I wanted to just see the request that I am sending that I can use Postman Echo to see what kind of request I am sending.

like image 114
BrettARose Avatar answered Dec 07 '22 23:12

BrettARose


It is now possible to view logs for requests made to and responses sent from your Postman mock server.

Mock Call Logs - https://blog.postman.com/introducing-postman-mock-call-logs/

like image 25
Pranaya Tomar Avatar answered Dec 07 '22 23:12

Pranaya Tomar