[GH-ISSUE #3932] [feature]: Support importing scripts from Postman #1376

Closed
opened 2026-03-16 20:04:29 +03:00 by kerem · 5 comments
Owner

Originally created by @pthphuc93 on GitHub (Mar 24, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3932

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

Dear Team,
Could you please help to check that the information "Test" and "Pre-request script" are lost after import collection from Postman to Hoppscotch even exporting from Postman using "Collection v2" or "Collection v2.1"?

Steps to reproduce

Exported files from Postman:

PHUC_TEST_NE_v2.1.postman_collection.json
PHUC_TEST_NE_v2.postman_collection.json

After importing to Hoppscotch:
314410800-84ba733b-c38c-4f17-880b-864e35e57e81

Environment

Production

Version

Cloud

Originally created by @pthphuc93 on GitHub (Mar 24, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3932 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior Dear Team, Could you please help to check that the information "Test" and "Pre-request script" are lost after import collection from Postman to Hoppscotch even exporting from Postman using "Collection v2" or "Collection v2.1"? ### Steps to reproduce **Exported files from Postman:** [PHUC_TEST_NE_v2.1.postman_collection.json](https://github.com/hoppscotch/hoppscotch/files/14735874/PHUC_TEST_NE_v2.1.postman_collection.json) [PHUC_TEST_NE_v2.postman_collection.json](https://github.com/hoppscotch/hoppscotch/files/14735875/PHUC_TEST_NE_v2.postman_collection.json) After importing to Hoppscotch: ![314410800-84ba733b-c38c-4f17-880b-864e35e57e81](https://github.com/hoppscotch/hoppscotch/assets/54548921/1d4a79f2-413f-4642-a709-967bde026f87) ### Environment Production ### Version Cloud
kerem 2026-03-16 20:04:29 +03:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@shipko commented on GitHub (Mar 24, 2024):

Hi @pthphuc93! This is not a bug. The developers specifically removed the addition of this data, because hoppscotch does not support scripts from postman

<!-- gh-comment-id:2016883186 --> @shipko commented on GitHub (Mar 24, 2024): Hi @pthphuc93! This is not a bug. The developers specifically removed the addition of this data, because hoppscotch does not support scripts from postman
Author
Owner

@pthphuc93 commented on GitHub (Mar 25, 2024):

Hi @shipko,
Hoppscotch allows to import collection from Postman but doesn't support "Test" and "Pre-request script", right?
image

<!-- gh-comment-id:2017198739 --> @pthphuc93 commented on GitHub (Mar 25, 2024): Hi @shipko, Hoppscotch allows to import collection from Postman but doesn't support "Test" and "Pre-request script", right? ![image](https://github.com/hoppscotch/hoppscotch/assets/54548921/b4ede250-09ad-4d1e-a196-f8e65a011588)
Author
Owner

@shipko commented on GitHub (Mar 25, 2024):

Hi @shipko,
Hoppscotch allows to import collection from Postman but doesn't support "Test" and "Pre-request script", right?
image

Yes

<!-- gh-comment-id:2017315446 --> @shipko commented on GitHub (Mar 25, 2024): > Hi @shipko, > Hoppscotch allows to import collection from Postman but doesn't support "Test" and "Pre-request script", right? > ![image](https://github.com/hoppscotch/hoppscotch/assets/54548921/b4ede250-09ad-4d1e-a196-f8e65a011588) > Yes
Author
Owner

@anwarulislam commented on GitHub (Mar 5, 2025):

@liyasthomas we might support importing Tests and Pre-request script, but we want to give a heads-up that users will need to manually adjust the API. Our scripting API differs in Hoppscotch. However, importing them from Postman will simplify the manual changes for users, rather than not importing them at all.

What are your thoughts?

<!-- gh-comment-id:2699942797 --> @anwarulislam commented on GitHub (Mar 5, 2025): @liyasthomas we might support importing `Tests` and `Pre-request script`, but we want to give a heads-up that users will need to manually adjust the API. Our scripting API differs in Hoppscotch. However, importing them from `Postman` will simplify the manual changes for users, rather than not importing them at all. What are your thoughts?
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 31, 2025):

Hi, we’ve added support for importing scripts from Postman collections (see #5417) in the latest release, as part of ongoing scripting improvements based on RFC #5221. Please note that this feature is experimental and requires opting into the Experimental scripting sandbox option via settings.

Image

We welcome your feedback, which will help shape the next generation of Hoppscotch scripting. Feel free to share it via the RFC.

<!-- gh-comment-id:3474310627 --> @jamesgeorge007 commented on GitHub (Oct 31, 2025): Hi, we’ve added support for importing scripts from Postman collections (see #5417) in the [latest release](https://github.com/hoppscotch/hoppscotch/releases/tag/2025.10.0), as part of ongoing scripting improvements based on RFC #5221. Please note that this feature is experimental and requires opting into the `Experimental scripting sandbox` option via settings. <img width="1485" height="529" alt="Image" src="https://github.com/user-attachments/assets/a7e9ec55-af17-4763-8062-c9bee9891b71" /> We welcome your feedback, which will help shape the next generation of Hoppscotch scripting. Feel free to share it via the RFC.
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#1376
No description provided.