Try it out and let us know what more would be useful additions to the console? With our own console, we can design it exactly the way you want it to be. Network calls are now designed to be part of standard logs.
The internal JavaScript console of electron (using which Postman is built with) is available for use, then why make a separate console?
If you know your way around console.log in Javascript, this is exactly the same. More details on how I do it is a discussion for the future.
#Click automatically iconsole code#
But not any more, as I can now put or console.warn at appropriate locations in my scripts and extract the exact line of code that is acting up. And when I manage to mess them up, debugging it becomes even more complicated. The backstory on this is very simple – I have test scripts in Postman Collections that do some really complicated stuff. The last item ( console.log output) is the another compelling reason why I keep going back to Postman Console. Error logs from test or pre-request scripts.What proxy and certificates were used during making the request.The exact response sent by the server before it is processed by Postman.The actual request that was sent, including all underlying request headers, etc.At times, knowing exactly what these headers looked like helps me debug server issues faster than if I had used any other tool.Ĭurrently Console also logs the following information: Beyond the request headers one provides, Postman automatically sends additional useful headers that your server needs, and it is beneficial to know about them.
This saves me a lot of time while debugging the request that was sent.Īnother notable feature is the ability to inspect the entire list of headers that was sent when I request using Postman. The most useful information, for me personally, is that every request is logged in the console in its raw form, replacing all the variables that I have used in a request. It simply looks “geeky” that way! Ok, what else? As long as the console window is open, all your API activities will be logged here for you to see what’s going on under the hood. The keyboard shortcut to fire up the console is cmd + alt + c ( ctrl + alt + c on Windows).