[GH-ISSUE #524] Allow importing Postman collections #200

Closed
opened 2026-03-16 14:00:20 +03:00 by kerem · 18 comments
Owner

Originally created by @Aditya94A on GitHub (Jan 25, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/524

The feature:

  1. Export collection from postman
  2. Import into postwoman
  3. Collection is converted into postwoman format and saved

Just one more thing to entice more and more postman users to switch over, would make it very easy for postman users to switch.

Would need to build a parser for postman collection format (should be easy, they have a simple, stable JSON structure)

A bunch of example collections here.

Originally created by @Aditya94A on GitHub (Jan 25, 2020). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/524 The feature: 1. Export collection from postman 2. Import into postwoman 3. Collection is converted into postwoman format and saved Just one more thing to entice more and more postman users to switch over, would make it very easy for postman users to switch. Would need to build a parser for postman collection format (should be easy, they have a simple, stable JSON structure) A bunch of [example collections here](https://explore.postman.com/).
kerem closed this issue 2026-03-16 14:00:25 +03:00
Author
Owner

@liyasthomas commented on GitHub (Jan 25, 2020):

This might seems like a better option, but as we move forward with this feature implementation, we could find there are some edge cases that involves some conflicts. One for them is Postman's Collection parser. I don't think it's an open source module. So, that will require us to go in depth of the architecture of PM and dig out how they store Collections.

Few weeks back I actually tried to parse one of such PM Collections and was able to produce a PW combaitable format. Anyway i would try to implement it if any more users Requests it.

<!-- gh-comment-id:578391145 --> @liyasthomas commented on GitHub (Jan 25, 2020): This might seems like a better option, but as we move forward with this feature implementation, we could find there are some edge cases that involves some conflicts. One for them is Postman's Collection parser. I don't think it's an open source module. So, that will require us to go in depth of the architecture of PM and dig out how they store Collections. Few weeks back I actually tried to parse one of such PM Collections and was able to produce a PW combaitable format. Anyway i would try to implement it if any more users Requests it.
Author
Owner

@liyasthomas commented on GitHub (Jan 27, 2020):

Closing this issue in reference of #333

<!-- gh-comment-id:578556832 --> @liyasthomas commented on GitHub (Jan 27, 2020): Closing this issue in reference of #333
Author
Owner

@Moshe-Dror commented on GitHub (Apr 10, 2020):

I was not able to import my postman collection/ env. from json . can you please assist?

<!-- gh-comment-id:612228719 --> @Moshe-Dror commented on GitHub (Apr 10, 2020): I was not able to import my postman collection/ env. from json . can you please assist?
Author
Owner

@Aditya94A commented on GitHub (Apr 10, 2020):

@Moshe-Dror I don't think this is supported yet.

@liyasthomas How about adding environment support (along with importing postman environment files)? 😁 💪 🚀

<!-- gh-comment-id:612250011 --> @Aditya94A commented on GitHub (Apr 10, 2020): @Moshe-Dror I don't think this is supported yet. @liyasthomas How about adding environment support (along with importing postman environment files)? 😁 💪 🚀
Author
Owner

@liyasthomas commented on GitHub (Apr 11, 2020):

Postwoman now supports importing Postman Collections v2.1.0 abd above.

Navigate to Collection tab on right side bar.
Click "Import/Export"
Click "Import from JSON"
Select any collection.json file

Importing environment variables currently only works with Postwoman environments.

<!-- gh-comment-id:612286330 --> @liyasthomas commented on GitHub (Apr 11, 2020): Postwoman now supports importing Postman Collections v2.1.0 abd above. Navigate to Collection tab on right side bar. Click "Import/Export" Click "Import from JSON" Select any collection.json file Importing environment variables currently only works with Postwoman environments.
Author
Owner

@nabsha commented on GitHub (May 5, 2020):

Trying this feature now in latest docker build by import PM collection in 2.1 format but the import button is not importing anything. Is this still working?

Followed the following steps

Navigate to Collection tab on right side bar.
Click "Import/Export"
Click "Import from JSON"
Select any collection.json file

<!-- gh-comment-id:624037198 --> @nabsha commented on GitHub (May 5, 2020): Trying this feature now in latest docker [build](https://hub.docker.com/layers/liyasthomas/postwoman/latest/images/sha256-7778061333dafe50d4e2252fae85d0cb894b84f8d0652409e1b1e5f661385445?context=explore) by import PM collection in 2.1 format but the import button is not importing anything. Is this still working? Followed the following steps > Navigate to Collection tab on right side bar. Click "Import/Export" Click "Import from JSON" Select any collection.json file
Author
Owner

@liyasthomas commented on GitHub (May 5, 2020):

May I know which Postman collection version you tried?

<!-- gh-comment-id:624047998 --> @liyasthomas commented on GitHub (May 5, 2020): May I know which Postman collection version you tried?
Author
Owner

@nabsha commented on GitHub (May 7, 2020):

I guess its to do with the collection if its 2+ levels deep. I've tried looking at the code and it seems postwoman only support till 1st level sub folders.

	"info": {
		"_postman_id": "c664f176-bf44-4da3-bc00-78b708e7a316",
		"name": "parent-folder-3",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "sub-folder",
			"item": [
				{
					"name": "sub-sub-folder",
					"item": [
						{
							"name": "foobar-request",
							"request": {
								"method": "GET",
								"header": [],
								"url": {
									"raw": "http://mockbin.com/request?foo=bar&foo=baz",
									"protocol": "http",
									"host": [
										"mockbin",
										"com"
									],
									"path": [
										"request"
									],
									"query": [
										{
											"key": "foo",
											"value": "bar"
										},
										{
											"key": "foo",
											"value": "baz"
										}
									]
								}
							},
							"response": []
						}
					],
					"protocolProfileBehavior": {},
					"_postman_isSubFolder": true
				}
			],
			"protocolProfileBehavior": {}
		}
	],
	"protocolProfileBehavior": {}
}```
<!-- gh-comment-id:624965000 --> @nabsha commented on GitHub (May 7, 2020): I guess its to do with the collection if its 2+ levels deep. I've tried looking at the code and it seems postwoman only support till 1st level sub folders. ```{ "info": { "_postman_id": "c664f176-bf44-4da3-bc00-78b708e7a316", "name": "parent-folder-3", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "sub-folder", "item": [ { "name": "sub-sub-folder", "item": [ { "name": "foobar-request", "request": { "method": "GET", "header": [], "url": { "raw": "http://mockbin.com/request?foo=bar&foo=baz", "protocol": "http", "host": [ "mockbin", "com" ], "path": [ "request" ], "query": [ { "key": "foo", "value": "bar" }, { "key": "foo", "value": "baz" } ] } }, "response": [] } ], "protocolProfileBehavior": {}, "_postman_isSubFolder": true } ], "protocolProfileBehavior": {} } ], "protocolProfileBehavior": {} }```
Author
Owner

@nabsha commented on GitHub (May 7, 2020):

Raised https://github.com/liyasthomas/postwoman/issues/850 to address this issue

<!-- gh-comment-id:625327683 --> @nabsha commented on GitHub (May 7, 2020): Raised https://github.com/liyasthomas/postwoman/issues/850 to address this issue
Author
Owner

@juan11041970 commented on GitHub (Jun 16, 2020):

I see the Collections tab, but I don't see any import option.

<!-- gh-comment-id:644889033 --> @juan11041970 commented on GitHub (Jun 16, 2020): I see the Collections tab, but I don't see any import option.
Author
Owner

@liyasthomas commented on GitHub (Jun 16, 2020):

@juan11041970 can you share a screenshot of Collections tab?

<!-- gh-comment-id:644892000 --> @liyasthomas commented on GitHub (Jun 16, 2020): @juan11041970 can you share a screenshot of Collections tab?
Author
Owner

@juan11041970 commented on GitHub (Jun 17, 2020):

Here you go. Let me know anything I might be missing.

On Tue, Jun 16, 2020 at 10:03 AM Liyas Thomas notifications@github.com
wrote:

@juan11041970 https://github.com/juan11041970 can you share a
screenshot of Collections tab?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/liyasthomas/postwoman/issues/524#issuecomment-644892000,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMWVE2TY3UEERSOHUDOTLLRW6QVZANCNFSM4KLP3ZFQ
.

--
Juan 'West Coast' Alvarado AKA 'Johnny Sunday' AKA ''Lieutenant Diaz'
Sr. Software Developer

“To those of you who are graduating this afternoon with high honors, awards
and distinctions, I say, ‘Well done.’* And as I like to tell the ‘C’
students: You, too, can be president.* George W. Bush

"It's okay to be ignorant, it's NOT okay to be stupid"

"You either do or do not. There is no try!!!"

<!-- gh-comment-id:645086681 --> @juan11041970 commented on GitHub (Jun 17, 2020): Here you go. Let me know anything I might be missing. On Tue, Jun 16, 2020 at 10:03 AM Liyas Thomas <notifications@github.com> wrote: > @juan11041970 <https://github.com/juan11041970> can you share a > screenshot of Collections tab? > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/liyasthomas/postwoman/issues/524#issuecomment-644892000>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACMWVE2TY3UEERSOHUDOTLLRW6QVZANCNFSM4KLP3ZFQ> > . > -- Juan 'West Coast' Alvarado AKA 'Johnny Sunday' AKA ''Lieutenant Diaz' Sr. Software Developer “To those of you who are graduating this afternoon with high honors, awards and distinctions, I say, ‘Well done.’* And as I like to tell the ‘C’ students: You, too, can be president.* *George W. Bush* "It's okay to be ignorant, it's NOT okay to be stupid" "You either do or do not. *There is no try*!!!"
Author
Owner

@liyasthomas commented on GitHub (Jun 17, 2020):

@juan11041970 can comment here on GitHub. I can't find the screenshot in your reply.

<!-- gh-comment-id:645087575 --> @liyasthomas commented on GitHub (Jun 17, 2020): @juan11041970 can comment here on GitHub. I can't find the screenshot in your reply.
Author
Owner

@juan11041970 commented on GitHub (Jun 17, 2020):

Could it be because it is going to notifications@github.com? Is there any
other email I can send it to?

On Tue, Jun 16, 2020 at 6:06 PM Liyas Thomas notifications@github.com
wrote:

@juan11041970 https://github.com/juan11041970 can comment here on
GitHub. I can't find the screenshot in your reply.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/liyasthomas/postwoman/issues/524#issuecomment-645087575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMWVEZGP4GD7KODREVYGH3RXAJKRANCNFSM4KLP3ZFQ
.

--
Juan 'West Coast' Alvarado AKA 'Johnny Sunday' AKA ''Lieutenant Diaz'
Sr. Software Developer

“To those of you who are graduating this afternoon with high honors, awards
and distinctions, I say, ‘Well done.’* And as I like to tell the ‘C’
students: You, too, can be president.* George W. Bush

"It's okay to be ignorant, it's NOT okay to be stupid"

"You either do or do not. There is no try!!!"

<!-- gh-comment-id:645088249 --> @juan11041970 commented on GitHub (Jun 17, 2020): Could it be because it is going to notifications@github.com? Is there any other email I can send it to? On Tue, Jun 16, 2020 at 6:06 PM Liyas Thomas <notifications@github.com> wrote: > @juan11041970 <https://github.com/juan11041970> can comment here on > GitHub. I can't find the screenshot in your reply. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/liyasthomas/postwoman/issues/524#issuecomment-645087575>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ACMWVEZGP4GD7KODREVYGH3RXAJKRANCNFSM4KLP3ZFQ> > . > -- Juan 'West Coast' Alvarado AKA 'Johnny Sunday' AKA ''Lieutenant Diaz' Sr. Software Developer “To those of you who are graduating this afternoon with high honors, awards and distinctions, I say, ‘Well done.’* And as I like to tell the ‘C’ students: You, too, can be president.* *George W. Bush* "It's okay to be ignorant, it's NOT okay to be stupid" "You either do or do not. *There is no try*!!!"
Author
Owner

@liyasthomas commented on GitHub (Jun 17, 2020):

@juan11041970 kindly send it to liyascthomas@gmail.com

<!-- gh-comment-id:645088559 --> @liyasthomas commented on GitHub (Jun 17, 2020): @juan11041970 kindly send it to liyascthomas@gmail.com
Author
Owner

@nathanmargaglio commented on GitHub (Jul 3, 2020):

I want to add that it'd be very nice to import AWS API Gateway generated docs into Postwoman. API Gateway allows you to export docs with Postman plugins so that you can import it as a collection, so I suppose adding Postman collection support might be equivalent.

<!-- gh-comment-id:653654539 --> @nathanmargaglio commented on GitHub (Jul 3, 2020): I want to add that it'd be very nice to import AWS API Gateway generated docs into Postwoman. API Gateway allows you to export docs with Postman plugins so that you can import it as a collection, so I suppose adding Postman collection support might be equivalent.
Author
Owner

@TeamPIDU commented on GitHub (Mar 10, 2022):

Hi exported a postman collection, and then imported in Hoppscotch, but there is an issue with the body data - that is not being imported in Hoppscotch. All other things are imported but the 'body' -> 'raw' parameter data from postman Json is not being imported

<!-- gh-comment-id:1063955526 --> @TeamPIDU commented on GitHub (Mar 10, 2022): Hi exported a postman collection, and then imported in Hoppscotch, but there is an issue with the body data - that is not being imported in Hoppscotch. All other things are imported but the 'body' -> 'raw' parameter data from postman Json is not being imported
Author
Owner

@AndrewBastin commented on GitHub (Mar 11, 2022):

@TeamPIDU this issue has already been notified and we are tracking the issue on #2136

<!-- gh-comment-id:1064854310 --> @AndrewBastin commented on GitHub (Mar 11, 2022): @TeamPIDU this issue has already been notified and we are tracking the issue on #2136
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#200
No description provided.