[GH-ISSUE #510] Specify delay for Map Local #508

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

Originally created by @jsmerola on GitHub (May 22, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/510

Originally assigned to: @NghiaTranUIT on GitHub.

Absolutely love this app, it's infinitely better than all of the competition! And I love love love that it's a Mac-assed app!

Now onto the request 😊

As it currently stands, using a Map Local response returns immediately, which doesn't allow me to test things like loading states and poor connection experiences. I'd love the ability to specify a delay for a given response before it's returned. This would allow simulating a real network request with varying connection speeds without needing a remote call to actually occur.

Proxyman version? (Ex. Proxyman 1.4.3)

1.23.0

macOS Version? (Ex. mac 10.14)

10.15.4

Steps to reproduce

  1. Open the Map Local window
  2. Create a rule for a given request

Expected behavior

In addition to specifying the headers/body content for the response to be returned, I should be able to specify a time range (e.g. 1 to 3 seconds) for the response delay. A value somewhere in that range would be randomly selected on every request, and that would delay the response by that amount.

Originally created by @jsmerola on GitHub (May 22, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/510 Originally assigned to: @NghiaTranUIT on GitHub. Absolutely love this app, it's infinitely better than all of the competition! And I *love love love* that it's a [Mac-assed app](https://inessential.com/2020/03/19/proxyman)! Now onto the request 😊 As it currently stands, using a Map Local response returns immediately, which doesn't allow me to test things like loading states and poor connection experiences. I'd love the ability to specify a delay for a given response before it's returned. This would allow simulating a real network request with varying connection speeds without needing a remote call to actually occur. ### Proxyman version? (Ex. Proxyman 1.4.3) 1.23.0 ### macOS Version? (Ex. mac 10.14) 10.15.4 ### Steps to reproduce 1. Open the Map Local window 2. Create a rule for a given request ### Expected behavior In addition to specifying the headers/body content for the response to be returned, I should be able to specify a time range (e.g. 1 to 3 seconds) for the response delay. A value somewhere in that range would be randomly selected on every request, and that would delay the response by that amount.
Author
Owner

@NghiaTranUIT commented on GitHub (May 22, 2020):

Hi, Thanks for kind words 🙌

I would be nice to support the delay (specify the seconds or random in a given range) in the Local Map feature, and I will implement in the 1.25.0 build 👍

Right now, you can work around by using Network Conditioner on macOS and iOS to simulate the poor network condition. Thus, you can check the loader.

Additionally, I would support Network Throttle soon (I attempt the initial implementation, but the result wasn't great). So you can simulate on particular domains or apps.

<!-- gh-comment-id:632441887 --> @NghiaTranUIT commented on GitHub (May 22, 2020): Hi, Thanks for kind words 🙌 I would be nice to support the delay (specify the seconds or random in a given range) in the Local Map feature, and I will implement in the 1.25.0 build 👍 Right now, you can work around by using [Network Conditioner on macOS and iOS](https://nshipster.com/network-link-conditioner/) to simulate the poor network condition. Thus, you can check the loader. Additionally, I would support Network Throttle soon (I attempt the initial implementation, but the result wasn't great). So you can simulate on particular domains or apps.
Author
Owner

@NghiaTranUIT commented on GitHub (May 22, 2020):

Hey @jsmerola, let check out this beta feature: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.23.0_Map_Local_Response_Delay.dmg

Basically, you can set a delay for all Map Local Response in Preference -> Advanced tab

Screen_Shot_2020-05-22_at_22_22_00

It's an easy option that you can test the loader. I will implement the Network Throttle soon after the Core v2 is done 🙌

<!-- gh-comment-id:632757578 --> @NghiaTranUIT commented on GitHub (May 22, 2020): Hey @jsmerola, let check out this beta feature: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.23.0_Map_Local_Response_Delay.dmg Basically, you can set a delay for all Map Local Response in Preference -> Advanced tab <img width="727" alt="Screen_Shot_2020-05-22_at_22_22_00" src="https://user-images.githubusercontent.com/5878421/82684204-673ab580-9c7c-11ea-9d24-6f13b86b6bd8.png"> It's an easy option that you can test the loader. I will implement the Network Throttle soon after the [Core v2](https://github.com/ProxymanApp/Proxyman/issues/500) is done 🙌
Author
Owner

@jsmerola commented on GitHub (May 22, 2020):

Nice! This is awesome! One question - does the "Random" option randomly choose from the other options (none, 1s, 2s, 3s, 5s)?

Thanks so much for the unbelievable quick turnaround!

<!-- gh-comment-id:632815592 --> @jsmerola commented on GitHub (May 22, 2020): Nice! This is awesome! One question - does the "Random" option randomly choose from the other options (none, 1s, 2s, 3s, 5s)? Thanks so much for the unbelievable quick turnaround!
Author
Owner

@NghiaTranUIT commented on GitHub (May 23, 2020):

Sorry, I forgot to mention that the random is range from 1 to 10 👍

<!-- gh-comment-id:632964026 --> @NghiaTranUIT commented on GitHub (May 23, 2020): Sorry, I forgot to mention that the random is range from 1 to 10 👍
Author
Owner

@catrius commented on GitHub (Nov 9, 2023):

@NghiaTranUIT I cannot find that option in Advanced anymore. I'm using version 4.14.0.

Screenshot 2023-11-10 at 5 53 21 AM
<!-- gh-comment-id:1804811138 --> @catrius commented on GitHub (Nov 9, 2023): @NghiaTranUIT I cannot find that option in Advanced anymore. I'm using version 4.14.0. <img width="616" alt="Screenshot 2023-11-10 at 5 53 21 AM" src="https://github.com/ProxymanApp/Proxyman/assets/19802230/f8518cd5-6d12-4930-9dc9-b1fc7acfa1ed">
Author
Owner

@NghiaTranUIT commented on GitHub (Nov 10, 2023):

@catrius it's moved to the Setting -> Tool Tab -> Map Local Delay 👍

<!-- gh-comment-id:1804885983 --> @NghiaTranUIT commented on GitHub (Nov 10, 2023): @catrius it's moved to the Setting -> Tool Tab -> Map Local Delay 👍
Author
Owner

@parabolazz commented on GitHub (Jun 3, 2024):

@catrius it's moved to the Setting -> Tool Tab -> Map Local Delay 👍 它已移至“设置”->“工具”选项卡->“地图本地延迟”👍

Did you completely delete it? I can't find it in Tools Tab now

<!-- gh-comment-id:2144834749 --> @parabolazz commented on GitHub (Jun 3, 2024): > @catrius it's moved to the Setting -> Tool Tab -> Map Local Delay 👍 它已移至“设置”->“工具”选项卡->“地图本地延迟”👍 Did you completely delete it? I can't find it in Tools Tab now
Author
Owner

@NghiaTranUIT commented on GitHub (Jun 3, 2024):

It's in the Tool Tab.

Screenshot 2024-06-03 at 5 24 56 PM

<!-- gh-comment-id:2144839653 --> @NghiaTranUIT commented on GitHub (Jun 3, 2024): It's in the Tool Tab. ![Screenshot 2024-06-03 at 5 24 56 PM](https://github.com/ProxymanApp/Proxyman/assets/5878421/9ef7989f-6272-4859-b2ef-ea75dd44a7c6)
Author
Owner

@parabolazz commented on GitHub (Jun 4, 2024):

It's in the Tool Tab.它位于“工具”选项卡中。

Screenshot 2024-06-03 at 5 24 56 PM

Thanks! I thought It was located in the "Tools" tab of the menu bar before. LOL

<!-- gh-comment-id:2146447858 --> @parabolazz commented on GitHub (Jun 4, 2024): > It's in the Tool Tab.它位于“工具”选项卡中。 > > ![Screenshot 2024-06-03 at 5 24 56 PM](https://private-user-images.githubusercontent.com/5878421/336034924-9ef7989f-6272-4859-b2ef-ea75dd44a7c6.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc0MTA2NDEsIm5iZiI6MTcxNzQxMDM0MSwicGF0aCI6Ii81ODc4NDIxLzMzNjAzNDkyNC05ZWY3OTg5Zi02MjcyLTQ4NTktYjJlZi1lYTc1ZGQ0NGE3YzYuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDNUMTAyNTQxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGUxODAwZTczNWRhM2NkODFhMmJkYmY4Y2E3NmFhNDY5NzhlOTU5OGRkZDllOTA5M2EyNjgzOWIyOTZhMzg2OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.cZbxhhF5LZZKvDTHzPwJvEuOOKuhyDHoj38MIlrImjM) Thanks! I thought It was located in the "Tools" tab of the menu bar before. LOL
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#508
No description provided.