Mock APIs Like a Pro with Chrome's Network Overrides

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 17

  • @AnkitKumar-qr9wc
    @AnkitKumar-qr9wc Рік тому +4

    This is crazy useful, i extensively use dev tools but didn't know about this

    • @siwalikm
      @siwalikm  Рік тому

      Agreed, super handy feature

  • @karthikaruna1994
    @karthikaruna1994 Рік тому +2

    Would've been great if they let us override the status code also

  • @phantomsoul2301
    @phantomsoul2301 Рік тому

    We need one full chrome Dev tool tricks and tips

  • @aqibsaeed3229
    @aqibsaeed3229 10 місяців тому +2

    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 ?

    • @siwalikm
      @siwalikm  10 місяців тому

      You should use proxyman scripting for this usecase. See the relevant scripting example above.

  • @tientran5578
    @tientran5578 5 місяців тому +2

    Is this possible to mock HTTP Status Code too ?

    • @petrknedlik3639
      @petrknedlik3639 Місяць тому

      I am afraid no, but I would greatly appriciate it. Hopefully, they will add it soon 📿

  • @Ben-s2b
    @Ben-s2b 28 днів тому

    Can you modify payloads being sent towards the APIs?

  • @rongitmukherjee
    @rongitmukherjee Рік тому

    Nice!

  • @anuranjansrivastav9864
    @anuranjansrivastav9864 11 місяців тому

    what if api url is changing, ie if its having timestamp?

    • @siwalikm
      @siwalikm  11 місяців тому

      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

  • @joulert02
    @joulert02 6 місяців тому

    Proo

  • @MukulJainx
    @MukulJainx 4 місяці тому

    Too much work, just use Mokku ;)

    • @siwalikm
      @siwalikm  4 місяці тому +1

      If that ticks all your needs, why not :)