![]() There are multiple ways to install mitmproxy. To finish, mitmproxy can run anywhere with a web interface or in command line : no matter the context, there are good chances you will be able to use it. This is really helpful when trying to test edge-cases. My first argument is the price : mitmproxy is free (released under MIT Licence) when a licence for Charles Proxy costs around 50$.Īlso mitmproxy is a very powerful tool : not only it provides options to rewrite traffic but it also allows you to run Python scripts to alter requests and responses. And that’s a good question ( don’t follow the hype!). You might be wondering why you should use mitmproxy instead of another tool. But you will see, there are many more things to do with this amazing tool. what happens if the API response structure changes ?īy the end of this tutorial you should be able to use mitmproxy to answer those questions.what is contained in the response provided by the API ?.what API-endpoint(s) is the app using for this screen ?.When you test and validate an app, being able to answer the following questions is crucial : ![]() ![]() This is why it is so important to be able to retrace the data path from the app to the API. ![]() Generally, complex data-processing tasks are done on API-side and front-end apps just have to display what is provided by the API. « - How can I access to your catalog ? - Here’s an API for that. » APIs are everywhere and that’s not about to change.īreaking down each part of your code into separate services is (often) good but when it comes to testing, this separation might make things a bit harder.įront-end apps developers do not write anymore the code that takes care of the core business logic. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |