
Article • Reading 19 mins
Article • Reading 3 mins
Check out our article and find out why you should use Proxyman and how to use its capabilities effectively.

Testing mobile applications is an integral part of the software development process, and tools like Proxyman have become indispensable in this workflow. Thanks to its features, Proxyman not only simplifies the work of testers but also accelerates analysis and allows for precise simulations of various scenarios. Why should you use it, and how can you make the most of its capabilities? This article explores these questions.
Proxyman is a tool that enables real-time analysis and modification of API requests and responses. This gives testers the ability to replicate hard-to-reproduce cases and quickly verify how an application responds to different situations. Proxyman offers three key features:
Each of these options is used depending on the needs and nature of the test. Let’s take a closer look at each one.
The Breakpoint feature allows you to pause a request or response for manual editing. For instance, you can modify data in headers, the body, or even the response code. This is an ideal solution for tests that do not require repetitive execution. However, due to the manual nature of the process, it is best suited for simple, one-off cases.
The Map Local feature allows you to replace an API response with a static, predefined response. This is especially useful for bypassing API-side issues or quickly testing the application’s behavior under specific conditions.
Scripting in Proxyman enables automated modification of requests and responses. This is particularly useful for tests that require repetitive actions or complex data modifications.
"BLOCKED".function onResponse(context, url, request) {
response.headers["Content-Type"] = "application/json";
var jsonBody = response.body;
jsonBody["status"] = "BLOCKED";
response.body = jsonBody;
return response;
}Suppose we want to check how the application behaves when the API returns a response with the status "BLOCKED" for the service at the endpoint: GET https://api.example.com/v1/service/status.
"status": "BLOCKED".

![Screenshot of Proxyman's script editor with a response script that sets jsonBody["status"] to "BLOCKED".](/_astro/3.ClTyYUxP_Z1Djhwp.webp)
Proxyman significantly enhances the workflow of testers for both mobile and web applications. Its capabilities to verify and modify APIs allow testers to quickly answer “What if…?” questions, saving time and resources. If you’re looking for a tool that enables precise testing and flexible real-time modifications, Proxyman is worth trying.
You may also like