![]() After hitting “Done” button, that new rule has been added up to the Breakpoint rules window To add new rule, you can click the “+” button at the bottom left corner of the windowĪs we only want to change the search query for the first scenario, let’s type in the endpoint “/search” and select “Request” onlyĪfter hitting “Add” button, we know that any out-going requests to that endpoint would be stopped by the Breakpoint from now on :)Īnother option to define matching rule is to Right Click the selected URL (endpoint) -> select Tools -> BreakpointĪs Proxyman auto-use the selected endpoint as the condition, we should see the endpoint “/me” is auto-filled as belowĪs we only want to change Response, let’s select “Response” for the second scenario. Then a Breakpoint rules window will pop-up so that we can define matching conditions Basically, these conditions can be setup by two ways:įrom Menu bar -> select Tools -> select Breakpoint -> Rules. Now it’s time for us to define how Breakpoint captures out-going requests and in-coming responses. To be more focused, let’s use Pin to isolate two endpoints “/me” & “/search” for our testing scenarios Install Proxyman Certificate on remote deviceīefore we start, let’s install Proxyman Certificate on my iOS device so that we are able to see HTTPs content Example 2: Change user name and avatar in the Response to see if the UI can handle long messages (Modify response).Example 1: Change user’s search query to see how the app behaves (Modify request).In this blog, just take 2 simple examples to see how Breakpoint works: Thus, you can modify such requests/ responses to test UI errors or certain back end functionalities (including security vulnerabilities). If you enable Breakpoint for response, it will stop the response before it goes to your app. This blog demonstrates how I use Proxyman Breakpoint tool to manipulate those API calls for debugging purposes.īasically, if you enable Breakpoint for request, Proxyman will stop the request before it goes to your server. In software development, a breakpoint is known as “an intentional stopping or pausing place” where you can examine, edit API requests or responses and even decide whether to block it or allow it to proceed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |