[GH-ISSUE #1110] [Breakpoints] Adjust the raw response #1103

Open
opened 2026-03-03 19:48:23 +03:00 by kerem · 10 comments
Owner

Originally created by @danielmj on GitHub (Jan 14, 2022).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1110

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

2.35.4

macOS Version? (Ex. mac 10.14)

12.1

Steps to reproduce

Set a breakpoint on the response

Requested behavior

I would love the ability to drop in a raw response to override. This would allow me to more easily simulate response handling when debugging client code.

Originally created by @danielmj on GitHub (Jan 14, 2022). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1110 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 2.35.4 ### macOS Version? (Ex. mac 10.14) 12.1 ### Steps to reproduce Set a breakpoint on the response ### Requested behavior I would love the ability to drop in a raw response to override. This would allow me to more easily simulate response handling when debugging client code.
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

You can use Map Local (Right click on the request -> Tool -> Map Local). It will create a raw Response, which you can directly modify.

You can check out the doc here: https://docs.proxyman.io/advanced-features/map-local

<!-- gh-comment-id:1012673864 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): You can use Map Local (Right click on the request -> Tool -> Map Local). It will create a raw Response, which you can directly modify. You can check out the doc here: https://docs.proxyman.io/advanced-features/map-local
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

However, it's reasonable to support Raw Tab on Request/Response Breakpoint 👍 I will consider and support it soon.

<!-- gh-comment-id:1012674022 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): However, it's reasonable to support Raw Tab on Request/Response Breakpoint 👍 I will consider and support it soon.
Author
Owner

@danielmj commented on GitHub (Jan 14, 2022):

Yea, that's been my workaround. But map local doesn't allow me to be selective about exactly which request to override.

A good example is a protocol where we need to replay the same request multiple times to handle things like authentication. For example, we may want to force an auth on the initial request, but then allow for subsequent requests to the same endpoint to proceed

<!-- gh-comment-id:1012675306 --> @danielmj commented on GitHub (Jan 14, 2022): Yea, that's been my workaround. But map local doesn't allow me to be selective about exactly which request to override. A good example is a protocol where we need to replay the same request multiple times to handle things like authentication. For example, we may want to force an auth on the initial request, but then allow for subsequent requests to the same endpoint to proceed
Author
Owner

@NghiaTranUIT commented on GitHub (Jan 14, 2022):

Thanks. I understand your problem 👍 . I'm scheduling this feature for the 3.1.0 version 🌮

<!-- gh-comment-id:1012680882 --> @NghiaTranUIT commented on GitHub (Jan 14, 2022): Thanks. I understand your problem 👍 . I'm scheduling this feature for the 3.1.0 version 🌮
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 2, 2022):

If you don't mind, please try this Beta build: https://github.com/ProxymanApp/Proxyman/issues/1121#issuecomment-1027509364

It allows you to modify the Raw Message of Request and Response 👍

<!-- gh-comment-id:1027509939 --> @NghiaTranUIT commented on GitHub (Feb 2, 2022): If you don't mind, please try this Beta build: https://github.com/ProxymanApp/Proxyman/issues/1121#issuecomment-1027509364 It allows you to modify the Raw Message of Request and Response 👍
Author
Owner

@danielmj commented on GitHub (Feb 7, 2022):

Will test this out today. Thank you!

<!-- gh-comment-id:1031886828 --> @danielmj commented on GitHub (Feb 7, 2022): Will test this out today. Thank you!
Author
Owner

@NghiaTranUIT commented on GitHub (Feb 8, 2022):

Here is a better version @danielmj https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.0.0_Breakpoint_Template.dmg

<!-- gh-comment-id:1032164361 --> @NghiaTranUIT commented on GitHub (Feb 8, 2022): Here is a better version @danielmj https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_3.0.0_Breakpoint_Template.dmg
Author
Owner

@danielmj commented on GitHub (Feb 11, 2022):

I've been using this feature regularly and its working great. Thank you!

<!-- gh-comment-id:1036430935 --> @danielmj commented on GitHub (Feb 11, 2022): I've been using this feature regularly and its working great. Thank you!
Author
Owner

@vrnvorona commented on GitHub (Nov 21, 2023):

@NghiaTranUIT I couldn't able to find separate issue, but if i edit raw response in breakpoint and execute it doesn't work - body remains the same from Body tab. Are you aware of this perhaps?

Steps are pretty simple - use breakpoint and edit raw response with new body, then Execute. It won't work.

<!-- gh-comment-id:1821050391 --> @vrnvorona commented on GitHub (Nov 21, 2023): @NghiaTranUIT I couldn't able to find separate issue, but if i edit raw response in breakpoint and execute it doesn't work - body remains the same from Body tab. Are you aware of this perhaps? Steps are pretty simple - use breakpoint and edit raw response with new body, then Execute. It won't work.
Author
Owner

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

@vrnvorona the Raw Tab doesn't allow editing the Body. Only the First line (URL, Method, HTTP Version, Status Code) and the Header.

To edit the Body, you might edit it in the Body Tab.

It's a shortcoming of the current feature. I will open a ticket to support it 👍

<!-- gh-comment-id:1821099263 --> @NghiaTranUIT commented on GitHub (Nov 21, 2023): @vrnvorona the Raw Tab doesn't allow editing the Body. Only the First line (URL, Method, HTTP Version, Status Code) and the Header. To edit the Body, you might edit it in the Body Tab. It's a shortcoming of the current feature. I will open a ticket to support it 👍
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#1103
No description provided.