ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Traffic recorded even with Record not enabled #2005

Open wabiloo opened 2 months ago

wabiloo commented 2 months ago

Description

I have noticed that if I have the proxy overridden, and scripting enabled which applies to some URLs, those URLs will be modified and recorded even if the "Record" button is not activated.

Is that normal?

NghiaTranUIT commented 2 months ago

yes, it's normal because the Proxy Overriden is enabled, it means your traffic is still going through Proxyman, which can be modified by the Scripting tool.

The Record Button just toggles whether or not it should be recorded and shows in the Main Table View.

wabiloo commented 2 months ago

But that's what I'm saying. It appears in the Main Table View (when modified by scripting) even if I am not recording...

NghiaTranUIT commented 2 months ago

so, it's a bug. Let me investigate and fix it 👍

NghiaTranUIT commented 2 months ago

@wabiloo I decided to keep this current logic because if we ignore all requests, which is modified by debugging tools, it will conflict with another useful case:

  1. Capture a bunch of requests on the main table
  2. Turn OFF the Recording button
  3. Set up some Breakpoint, Scripting tool
  4. Right-click on certain requests -> Repeat
  5. Expect: New repeated requests should be modified by Breakpoint/Scripting and also displayed on the main table.

It's useful for debugging because we can experiment while not recording any new traffic.