Insomnia: [Question] Postman 4.x support to import collections?

Created on 14 May 2017  路  5Comments  路  Source: Kong/insomnia

Overview

  • Insomnia Version: 5.0.20
  • Operating System: Ubuntu 17.04
  • Summary: Is there a way to import my collections in Postman 4.10.7 to Insomnia?

How To Reproduce

  1. Export Postman collections.
  2. Import them to Insomnia via import from file.
  3. No importers found for file.

Other Notes

It is already written that I can import Postman v2. I use the latest version, 4.10.7 and is there a way import my collections?

Most helpful comment

You can select it when exporting a collection via the sidebar. I'm not sure why they don't provide this option in the settings menu as well.

image

All 5 comments

@skynyrd this should probably be clarified somewhere in the app, but Postman 4.x is able to export v1 or v2 format. This is the format of the export schema, not the app version.

You can choose the export format when exporting a single collection.

image

I assume you exported data from the Postman settings screen? I had assumed that was v2, but maybe it's actually v1? Nevertheless, _that_ format should probably also be supported.

In the latest version of Postman, user cannot choose the export version, both in linux and windows.

I think I'm going to run older versions to export v2

image

The exported file format is this:

{
    "version": 1,
    "collections": [
                    ......
        ],
    "environments": [],
    "headerPresets": [],
    "globals": []
}

You can select it when exporting a collection via the sidebar. I'm not sure why they don't provide this option in the settings menu as well.

image

Ah sorry for wasting your time, I thought that export behaviour is same in the other components.

@skynyrd don't feel sorry! 馃槃

The app should be responsible for handling both cases 馃挴

Added an issue to support Postman v1: https://github.com/getinsomnia/importers/issues/9

Was this page helpful?
0 / 5 - 0 ratings