mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #3932] [feature]: Support importing scripts from Postman #1376
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1376
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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:

Environment
Production
Version
Cloud
@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
@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?
@shipko commented on GitHub (Mar 25, 2024):
Yes
@anwarulislam commented on GitHub (Mar 5, 2025):
@liyasthomas we might support importing
TestsandPre-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 fromPostmanwill simplify the manual changes for users, rather than not importing them at all.What are your thoughts?
@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 sandboxoption via settings.We welcome your feedback, which will help shape the next generation of Hoppscotch scripting. Feel free to share it via the RFC.