mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3693] [feature]: add setTimeout to the available script functions #1277
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#1277
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 @yvz5 on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3693
Is there an existing issue for this?
Summary
I want to run tests with a delay. Postman allows me to wrap the test function inside a
setTimeoutto delay the execution. I would like to have similar mechanism.example:
Why should this be worked on?
some api calls take time to actually save the data. if you create the data and immediately call another endpoint to get the data (to be sure it worked) it doesnt give you the expected result because some endpoints take some time to finish. in these cases it is very useful to run
Testsin a delayed fashion.1- create a resource
2- wait for 2 seconds
3- run the test to get the resource you just created.
@floric commented on GitHub (Apr 17, 2025):
Is there any chance for this? We would benefit a lot from this feature.
@floric commented on GitHub (Oct 16, 2025):
Hey :) this is still open. Is there any chance? Maybe for an open source contribution?