Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improvement] Import variables from Postman Collection #1172

Closed
verglor opened this issue Sep 24, 2018 · 4 comments
Closed

[Improvement] Import variables from Postman Collection #1172

verglor opened this issue Sep 24, 2018 · 4 comments
Labels
E-good-first-issue Experience required: Beginner / New N-help Needs: Help

Comments

@verglor
Copy link

verglor commented Sep 24, 2018

Postman Collection format 2.0 contains "variable" array.
It would be very useful if it could be imported to local environment as well.

@welcome
Copy link

welcome bot commented Sep 24, 2018

👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 🎁, please provide real
use cases that would benefit. 👪

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

@gschier
Copy link
Contributor

gschier commented Sep 25, 2018

Can you please link to the documentation or provide an example+screenshot of this "variable" array? I'm not sure what it is.

@verglor
Copy link
Author

verglor commented Sep 25, 2018

Hi @gschier, please see Postman Collection Format v2.0.0

You can define collection variables in EDIT COLLECTION window (by selecting Edit in collection context menu):

@gschier
Copy link
Contributor

gschier commented Sep 30, 2018

Oh okay, so those are different from environments then. Insomnia supports the environment export format but yet, collection variables could also be supported.

@gschier gschier added E-good-first-issue Experience required: Beginner / New N-help Needs: Help Accepted labels Sep 30, 2018
dhruv944 added a commit to dhruv944/insomnia that referenced this issue Nov 23, 2018
Collection variable added to folder environment
dhruv944 added a commit to dhruv944/insomnia that referenced this issue Nov 23, 2018
gschier pushed a commit that referenced this issue Nov 30, 2018
* fixed #1172

Collection variable added to folder environment

* modified code implementation #1172

* refactored code

* feature implemented #754

Code implemented to show the sorce of variable

* #1155 fixed

* code restructuring

* fixed #773

Added hotkey alt+u which swaps variable name with value and vice versa.
luizmariz pushed a commit to luizmariz/insomnia that referenced this issue Jan 22, 2020
* fixed Kong#1172

Collection variable added to folder environment

* modified code implementation Kong#1172

* refactored code

* feature implemented Kong#754

Code implemented to show the sorce of variable

* Kong#1155 fixed

* code restructuring

* fixed Kong#773

Added hotkey alt+u which swaps variable name with value and vice versa.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-good-first-issue Experience required: Beginner / New N-help Needs: Help
Projects
None yet
Development

No branches or pull requests

2 participants