[Improvement] Export collections using Postman format #3703
Replies: 21 comments
-
I'm completely okay with this being a community-supported feature of Insomnia and Postman is definitely popular enough to justify including it in Insomnia. Let me know if you have any questions on how to get started 👍 |
Beta Was this translation helpful? Give feedback.
-
@KevinSnyderCodes any updates on this ? |
Beta Was this translation helpful? Give feedback.
-
Would also love this. Did you end up working on it @KevinSnyderCodes? |
Beta Was this translation helpful? Give feedback.
-
Was also looking into adding this. Have you made any progress @KevinSnyderCodes? |
Beta Was this translation helpful? Give feedback.
-
I've got a working prototype of at least GraphQL calls being ported properly into Postman collections v2.1.0 schema. @KevinSnyderCodes are you still working on this? Is there any extended post call examples you can provide @gschier? Will probably just use it for my purposes for now and strengthen the code if I should make it feature candidate quality |
Beta Was this translation helpful? Give feedback.
-
What's the ETA of this? I prefer using Insomnia over Postman, but some colleagues rather use Postman |
Beta Was this translation helpful? Give feedback.
-
Just checking in again one year later. Any progress on this? What can we do to help? |
Beta Was this translation helpful? Give feedback.
-
During the course of developing this enhancement, Postman began supporting GraphQL functionality out of the box which fit my use case for me. https://learning.postman.com/docs/sending-requests/supported-api-frameworks/graphql/ |
Beta Was this translation helpful? Give feedback.
-
Ok so I don't mind contributing since this has gone stale. The purpose of the feature was to allow exporting so those who use postman can import accordingly; namely, colleagues. If there is anything who can pass on their work so I may continue or someone may point me to the right direction to start I'd appreciate it. Otherwise I'll try to do this ASAP; preferably by this weekend. Nudge me if I forget. |
Beta Was this translation helpful? Give feedback.
-
If you're ok with sharing your data to third party servers, https://www.apimatic.io/transformer/#supported-formats can do the Insomnia to Postman conversion. For offline conversion, I have created a rudimentary tool for basic cases: https://github.com/Vyoam/InsomniaToPostmanFormat |
Beta Was this translation helpful? Give feedback.
-
@yaser-ali-s here's your reminder 🙏 |
Beta Was this translation helpful? Give feedback.
-
@yaser-ali-s this would be awesome 👍 |
Beta Was this translation helpful? Give feedback.
-
So far I figured out how to start:
Now for the process of conversion, I have one of three options:
Ideally, I would like to go with the first option; however, I'm not sure I understand what I'm looking at when I look at the JSON schema, as in where to start with the conversion. Just a progress update and if anyone has any inputs you're more than welcome. I'm sure I'll figure it out once I get more time to read into the schemas. |
Beta Was this translation helpful? Give feedback.
-
Thanks Yaser. Minor inputs from me...
|
Beta Was this translation helpful? Give feedback.
-
The thing is, we should get some advice from the (current) official developers, because as for a time now, @gschier is not working on Insomnia anymore. |
Beta Was this translation helpful? Give feedback.
-
I'm a developer on the insomnia team and I agree with Greg's initial statement/sentiment. I don't make product decisions so take that with a grain of salt. I can say that my experience on the team so far has been that we wouldn't see some kind of competitive disadvantage to having a feature like this. If someone is interested in submitting a PR, I'd be happy to take a peek. At the same time, I am not aware of plans for our team to implement this. We're pretty fully utilized with some new (and exciting!) things. I also just recently spent a bunch of time with the importers package so I'm at least very familiar with how the interop between our format and postman's format works. |
Beta Was this translation helpful? Give feedback.
-
I need it too |
Beta Was this translation helpful? Give feedback.
-
For anyone interested, the standalone converter script (InsomniaToPostmanFormat, also discussed above) now covers most of the major use cases. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this! Works perfectly. |
Beta Was this translation helpful? Give feedback.
-
I have raised the PR to integrate my aforementioned script functionality to Insomnia: https://github.com/Kong/insomnia/pull/3827/files Limitations:
|
Beta Was this translation helpful? Give feedback.
-
Beta: https://github.com/Vyoam/insomnia-plugin-postman-export |
Beta Was this translation helpful? Give feedback.
-
Insomnia supports exporting collections in the Insomnia and HAR formats. I would like to add the ability to export using the Postman collection format(s).
I have spent a lot of time building an extensive collection in Insomnia that would be of great use to others in my organization, but most of them use Postman, and currently there is no way to export collections to a Postman-compatible format. I have no intention of making it more attractive for people to use Postman (quite the opposite in fact), but this would be a useful feature that would allow teams to use the REST client of their choice while still being able to share collections.
Documentation for the various Postman collection JSON schemas can be found at https://schema.getpostman.com
If this is something you think would be useful, I would be happy to implement it in my spare time and open a PR.
Beta Was this translation helpful? Give feedback.
All reactions