Skip to content

import postman data dump [INS-3810]#7834

Merged
yaoweiprc merged 1 commit intodevelopfrom
feat/import-from-postman-data-dump
Aug 23, 2024
Merged

import postman data dump [INS-3810]#7834
yaoweiprc merged 1 commit intodevelopfrom
feat/import-from-postman-data-dump

Conversation

@yaoweiprc
Copy link
Contributor

@yaoweiprc yaoweiprc commented Aug 14, 2024

Now we can import postman exported data dump. We can import all collections and environments from Postman data dump archive file. Make sure each request is in correct collection.

  • Collections from Postman data dump will be created as new collections in current project with a top level folder. Just like what we do when import an individual collection json file from Postman.
  • Environments from Postman data dump will be created as new global environments in current project.
  • Not include global environments from postman because it's not included in data dump.
  • The data dump does not preserve which workspaces in Postman exist, so we just import all Postman collections and envs to current project in Insomnia.
  • Import data dump in the Insomnia Collection level is not allowed, you can just import in project level.

Introduced a new npm package decompress for this feature. I found it rather complicated to unzip archive files by node.js built-in zlib module.

@yaoweiprc yaoweiprc force-pushed the feat/import-from-postman-data-dump branch 8 times, most recently from 1ce9ce6 to 7e3efd1 Compare August 20, 2024 06:02
@yaoweiprc yaoweiprc requested a review from a team August 20, 2024 06:07
Copy link
Contributor

@notjaywu notjaywu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@notjaywu notjaywu force-pushed the feat/import-from-postman-data-dump branch from 7e3efd1 to 8c8c251 Compare August 23, 2024 02:53
@yaoweiprc yaoweiprc merged commit 039a5be into develop Aug 23, 2024
@yaoweiprc yaoweiprc deleted the feat/import-from-postman-data-dump branch August 23, 2024 03:18
@yaoweiprc yaoweiprc changed the title import postman data dump at once [INS-3810] import postman data dump [INS-3810] Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants