mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-25 16:15:55 +03:00
[GH-ISSUE #1532] Map local - request/response. Add feature to modify only some values/objects #1525
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#1525
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 @almaz010891 on GitHub (Feb 9, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1532
Description
I am QA engeneer. For example, I really often need to recieve fresh data from some specific request during app testing, but modify only one/some parameters each time calling this specific API(e.g. "showbutton": "false" --> "showbutton": "true").
Cases for mocking:
Why this feature/change is important?
Because now i can't automatically change only one/some parameters with some UI functionality, but if you are QA engeneer you often need to edit each specific API call response manually via breakpoint - it's need a lot of time for this routine action. Postman app has this functionality and for me it's a killer feature. Would be nice if you add this feature in Proxyman.
@NghiaTranUIT commented on GitHub (Feb 9, 2023):
Can you show me the link?
For complicated cases, I suggest using the Scripting Tool.
Here is a sample how to modify the Response Body.
More snippet code at https://docs.proxyman.io/scripting/snippet-code#json-body
@almaz010891 commented on GitHub (Feb 9, 2023):
Sorry, I meant Charles proxy :)
Link - Rewriting traffic with the Rewrite tool
You can use this realization as example. It's better to have UI for this functionality instead of Scripting
@NghiaTranUIT commented on GitHub (Feb 9, 2023):
Thanks. Scripting is designed as a better replacement of the Rewrite.
You can express what you want by using simple JS code.
On the other hand, ReWrite GUI is so complicated if you have a lot of
if statement.