mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #1770] Map local no longer matches GraphQL queries #1764
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#1764
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 @dwroth on GitHub (Sep 13, 2023).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/1770
Originally assigned to: @NghiaTranUIT on GitHub.
Description
Map local rules that used to be working on previous versions of ProxyMan stopped working since I upgraded to version 4.11. Even when I right click and select Tools > Map Local to create a specific rule for that query, the override does not seem to be getting invoked. Furthermore, the "Edited" field in the traffic timeline is blank. This happens even if I set the URL to
*. According to the "Test Rules" tool, this URL should match.Steps to Reproduce
Current Behavior
Map local for GraphQL queries no longer seems to be matching routes that it used to match without issue.
Expected Behavior
My route should be matched and the response should be pulled from the mapped file.
Environment
@NghiaTranUIT commented on GitHub (Sep 14, 2023):
@dwroth can you double check again? I've tested with the latest build 4.11.0 and it just works fine.
I guess other tools, maybe Map Remote, Breakpoint, Scripting are enabled, and this Request doesn't match with Map Local because it's already matched with other tools.
Try to disable other tools and test again.
@dwroth commented on GitHub (Sep 14, 2023):
Trying again today. It does appear to be working but the checkmark in the edited field ("Mapped" arrow item 3 in your screenshot) are not showing up. That said, the response is being correctly mutated.
@dwroth commented on GitHub (Sep 28, 2023):
@NghiaTranUIT following up as I believe I figured out what's going on here. I run proxyman from behind a VPN. When I do this, I can still view the traffic with Atlantis, but map local does not appear to work. Once I refresh my VPN connection, I see traffic outside of atlantis and map local works again. I'm not sure if this is a legitimate bug or just an expectation that needs to be set better. I hope this helps.
@NghiaTranUIT commented on GitHub (Sep 29, 2023):
It works as intended @dwroth.
@dwroth commented on GitHub (Sep 29, 2023):
Got it. That was unclear. If I may offer a suggestion: in that case it might be helpful to show something in the edited field to indicate that the path matched a map rule, but that no mapping took place. A ⚠️ or something would be helpful.
@NghiaTranUIT commented on GitHub (Sep 29, 2023):
Yes, I think so, let me see where I can improve it 👍
@dwroth commented on GitHub (Sep 29, 2023):
Awesome. Thank you!