Proxyman icon indicating copy to clipboard operation
Proxyman copied to clipboard

Show all matched debugging tools in the Summary Tab

Open NghiaTranUIT opened this issue 1 year ago • 0 comments

Problem

Currently, Proxyman only shows the last matched debugging tools.

Screenshot 2024-01-29 at 11 10 19

It's a problem because 1 request can be executed by multiple tools. For example:

  • Map Remote -> Breakpoint
  • Map Remote -> Scripting
  • Breakpoint on Request -> Map Local on Response
  • Allow List -> Block List
  • ...

Why this feature/change is important?

  • It's easier to track down what debugging tools are executed for this request.

Acceptance Criteria

  • [ ] Show multiple debugging tools in the Developer Tool section with the following format For example: A request is matched with Map Remote and Breakpoint
- [Developer Tool]
--- [1: Map Remote]
------- [Tool Name]: ...
------- [Rule Name]: ...
------- [Matching Rule]: ...
------- [.....]: ...
--- [2: Breakpoint]
------- [Tool Name]: ...
------- [Rule Name]: ...
------- [Matching Rule]: ...
------- [.....]: ...
  • [ ] Make sure the order of the matching tools must be correct (e.g. 1: Map Remote, 2: Breakpoint)
  • [ ] Implement the Back-compatible with old Proxyman build
  • [ ] Verify Proxyman can import ProxymanLog, which is exported from old builds (has 1 debugging tool)
  • [ ] Verify old Proxyman app can import ProxymanLog, which is exported from the new build (has multiple tools)

Unit Test

  • [ ] Import ProxymanLog (old build, has 1 debugging tool) -> Assert that Developer Tool have data
  • [ ] Import ProxymanLog (new build, has 2 debugging tool) -> Assert that Developer Tool have data

NghiaTranUIT avatar Jan 29 '24 04:01 NghiaTranUIT