[GH-ISSUE #1065] Delay for certain endpoint #1058

Open
opened 2026-03-03 19:24:10 +03:00 by kerem · 2 comments
Owner

Originally created by @CyberMew on GitHub (Nov 17, 2021).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1065

It would be great to add a delay or simulate network conditions for certain url. Currently I think this is for the whole root url but I also want to test the delay individually.

I found out about the delay feature in Map Local (btw, too deeply hidden in preferences, should be moved to network conditions or something..), but it doesn't work. I add a delay of 3 secs but the reported time taken was 421ms instead of 3421ms.. am I using it wrong?

Originally created by @CyberMew on GitHub (Nov 17, 2021). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1065 It would be great to add a delay or simulate network conditions for certain url. Currently I think this is for the whole root url but I also want to test the delay individually. I found out about the delay feature in Map Local (btw, too deeply hidden in preferences, should be moved to network conditions or something..), but it doesn't work. I add a delay of 3 secs but the reported time taken was 421ms instead of 3421ms.. am I using it wrong?
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 17, 2021):

At the moment, Network Condition will apply for the entire host.

If you'd like to limit the connection on a particular URL, you might use the sleep() in the Scripting. Example here: https://docs.proxyman.io/scripting/snippet-code#response-delay-with-sleep-function

<!-- gh-comment-id:971127933 --> @NghiaTranUIT commented on GitHub (Nov 17, 2021): At the moment, Network Condition will apply for the entire host. If you'd like to limit the connection on a particular URL, you might use the sleep() in the Scripting. Example here: https://docs.proxyman.io/scripting/snippet-code#response-delay-with-sleep-function
Author
Owner

@CyberMew commented on GitHub (Nov 17, 2021):

For some reason I cannot highlight the code snippet but typing it manually in works. Thanks for the workaround. But the bug report for Map Local delay still is valid.

<!-- gh-comment-id:971148153 --> @CyberMew commented on GitHub (Nov 17, 2021): For some reason I cannot highlight the code snippet but typing it manually in works. Thanks for the workaround. But the bug report for Map Local delay still is valid.
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/Proxyman#1058
No description provided.