-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Milestone
Description
Description
Continue logic
- Continue means: Ignore all changes from the
BreakpointDataand send the original Request/Response. - Continue button can work with multiple selections.
- "Continue All" would perform the continue to all breakpoints.
- When the breakpoint is continued -> Remove from the waiting Breakpoint List -> Auto Select the first breakpoint -> Make sure the Request/Response Editor is updated with a selected breakpoint
Abort
- Abort means: Stopping the connection immediately.
- Abort button can work with multiple selections.
- "Abort All" would perform the continue to all breakpoints.
- When the breakpoint is aborted -> Remove from the waiting Breakpoint List -> Auto Select the first breakpoint -> Make sure the Request/Response Editor is updated with a selected breakpoint
Execute
- Execute means: Build a new Request or Response with a current
BreakpointData. - Ping @NghiaTranUIT to get the
Breakpointclass andBreakpointDataclass - Build the Request parts properly, including Method, URL, Header, Query, Body, Formed Body
- Build the Response part properly, including Status Code, Headers, Body
How to test
Case 1: Request Breakpoint (Happy case)
- Make a POST httpbin.org request to Proxyman
- Right-Click -> Tools -> Breakpoint
- Select
onRequest, and deselect theonResponsecheckbox - Create an entry
- Make a request again
- The Breakpoint Windows ([Breakpoint] #4 Request / Response Editor & Breakpoint View (UI Only) #221) appear -> There is 1 breakpoint in the list -> Auto-select the first breakpoint -> Update the Editor Part
- Make sure: The Request Editor is displayed, and the Response is hidden.
- Modify the Body and the Header
- Execute
- Back to Insomnia app -> Check the body and verify the Request is updated properly by the Breakpoint Tool
Case 2: Response Breakpoint (Happy case)
- Make a POST httpbin.org request to Proxyman
- Right-Click -> Tools -> Breakpoint
- Deselect the
onRequest, and select theonResponsecheckbox - Create an entry
- Make a request again
- The Breakpoint Windows ([Breakpoint] #4 Request / Response Editor & Breakpoint View (UI Only) #221) appear -> There is 1 breakpoint in the list -> Auto-select the first breakpoint -> Update the Editor Part
- Make sure: The Request Editor is displayed and it's in Read-only Mode, and the Response is displayed.
- Modify the Body and the Header and status code
- Execute
- Back to the Insomnia app -> Check the body and verify the Request is updated properly by the Breakpoint Tool