I tried to do it with my App that uses graphql APIs.. once you select 1 network request and try to mock it. So it mocks response to all APIs as URI is same but the query is different. What should we do in this kind of situations ?
If you have dynamic URLs you can still mock an API easily with proxyman scripting. I showed how to do that in this video -> ua-cam.com/video/YxunI9TexxY/v-deo.html
This is crazy useful, i extensively use dev tools but didn't know about this
Agreed, super handy feature
Would've been great if they let us override the status code also
We need one full chrome Dev tool tricks and tips
I tried to do it with my App that uses graphql APIs.. once you select 1 network request and try to mock it. So it mocks response to all APIs as URI is same but the query is different. What should we do in this kind of situations ?
You should use proxyman scripting for this usecase. See the relevant scripting example above.
Is this possible to mock HTTP Status Code too ?
I am afraid no, but I would greatly appriciate it. Hopefully, they will add it soon 📿
Can you modify payloads being sent towards the APIs?
Nice!
Gotta try this
Thanks Rongit!
what if api url is changing, ie if its having timestamp?
If you have dynamic URLs you can still mock an API easily with proxyman scripting. I showed how to do that in this video -> ua-cam.com/video/YxunI9TexxY/v-deo.html
Proo
Too much work, just use Mokku ;)
If that ticks all your needs, why not :)