The next step is to define rule so that Proxyman can capture our domain. then change the Status Code to 404 to simulate that the device was able to communicate with the server, but the server could not find what was requested. The File Path indicates the current location of the origin Response (normally, it stays at our Desktop).Ĭlick to open the file with our favorite Editor Similar to modifying the body content of the origin Response, we are able to change the status code with our Editor. !(/assets/blog/change-status-code/Change-HTTP-status-codes-for-UI-testing_4.png"> 2. Subsequently, the Map Local tool's window will pop-up so that we can start the mapping configuration. The origin Status code is 200 OKĪfter that, we can enable the Map Local tool to start monitoring the Requests and Responses We can double click an URL to see the content of its Response. Instead of asking backend developers for fake status codes to test different user cases, we could use a debugging tool named Proxyman.īasically, it's a handy tool when debugging mobile and web applications as it allows developers to modify both requests and responses on-the-fly.Īfter setting up Proxyman certificate on my iOS device, all requests coming from/to my device are captured by Proxyman under the Remote devices section. This miniblog simulates a backend error to check how Unsplash app behaves when encountering a Searching issue.
0 Comments
Leave a Reply. |