postman-app-support
postman-app-support copied to clipboard
Export Results to HAR File
Is your feature request related to a problem? Please describe. I am unable to efficiently leverage the results of Postman Collection Runners as an input to 3rd party tools, including security testing tools.
Describe the solution you'd like I would like a native the ability to export Postman Collection Runners to a HAR file. I would like this to be a native experience (i.e. 100% within Postman IDE). When a Collection Runner completes, there is a button called "Export Results". When I click this button I would like to be able to export the results in HAR format with the ability to include the entirety of the request and responses (including their bodies/content).
Describe alternatives you've considered I've been exploring the use of 3rd party proxies to help me produce HAR files from Postman IDE Collection Runners but the search has not been fruitful - either the proxy requires a commercial license or it is difficult to use, meaning it will be difficult for my team to use.
Additional context N/A
Hi everybody,
I agree with Eric, I wanted to perform performance unit tests on a collection (SSL handshake, connect, processing time, ...), and being able to run them in a pure Postman/Newman way would be great ! => accessing the har set of informations in the test context
As an alternative, but not very convincing, I use a headless Chrome based solution, with puppeteer-har and handmade tests (nodejs), in addition to a Newman CLI execution in a CI context. As you can guess, it would be better to have the HAR generated for the collection. Postman is already a great tool, and this feature would be mind blowing !
See you, and good luck !
Hi all,
For me, it is a surprise that this feature is not already present in Postman. Hope it will be added sooner.
Thanks.
I too would like the ability to export to HAR file format
Please allow me to export requests and example responses to HAR file, so that I may use them for unit testing.
This is a very common feature provided by the modern browsers at present. I wonder when Postman will have this feature as well.
it is a surprise that this feature is not already present in Postman. Hope it will be added sooner.
Same here, and that the OP has been filed more than three years ago.
+1. I am working with a CDN provider and they have requested a HAR file for troubleshooting the API testing calls we are doing via postman.
+1
I've spent 15 minutes trying to export a record of an API request I made, without fruit.
In my case, I need to document that I manually hit an API endpoint, for compliance reasons. In particular, I need to show that I hit a DELETE endpoint, and that I got a 204 back. This is something we've had to do only twice in six years, so developing our own interface or even adding scripting to our Postman collection is not really in scope.
With the current Postman UI, I can save/export the response body to a file, but I've found no way to save/export the HTTP status code or other headers to a file. The best I can come up with is a screenshot showing the 204 in the Postman UI, but this is not acceptable for my compliance because...reasons.
It is amazing that Postman is a decade old, and has no way to export the very core data of its mission. Am I missing some other mechanism in Postman to record full responses, with the request and headers?
Finding this feature request gives me hope. Exporting a HAR file of the entire request and response in full detail is a natural home-run.
Please get this feature on your roadmap. You'll make a million developers happy!
+1
+1
+1