fiddler使用技能必备

01 简介

Fiddler是一个http协议调试代理工具,它能够检查电脑和互联网之间的http通讯,设置断点,查看进出fiddler的数据。

02 对移动端抓包

  1. 打开菜单栏中的Tools–Fiddler Options–Connections;勾选”Allow remote computers to connect”后面的复选框,点击”ok”按钮,自行设置协议端口号,默认为:8888。
  2. 确认手机和pc在同一个网段,手机端设置手动代理;

    主机名:fiddler所在的主机ip

    端口号:步骤1中设置的端口号

  3. 启动操作手机即可在fiddler中查看到抓取的http协议数据。

03 Fiddler修改返回数据

通过AutoResponder来改变响应结果:

 

第一步:将想要修改的结果写在text文本里面,如下图:

第二步:进入AutoResponder,如图:

第三步:设置相关信息

这里以访问www.baidu.com返回自定义json字符串为例。

第四步:用浏览器访问百度

在浏览器中得到修改后的内容。

04 Fiddler设置网速

在我们日常测试过程中要对用户的各种环境进行模拟测试,不同的网络环境是必不可少的测试环境,有很多工具都可以做限速,当然fiddler也有这个功能。

  • Fiddler为何能限速?

Fiddler作为一个代理,提供了客户端请求前和服务器响应前的回调接口,我们可以在这些接口中定义逻辑,达到限速的目的。例如:通过客户端请求前来自定义限速逻辑,可以通过延迟发送或者延迟接受数据的时间来限制网络的下载上传速度,从而达到限速的效果。

勾选:Rules → Performances → Simulate Modem Speeds,这个时候网速立刻会慢很多,这是fiddler磨人的限速效果。

Fiddler当然可以自行调节所需要的网速,通过Rules->Customize Rules,找到如下图的这段代码:

这个就是fiddler模拟的网络的上传和下载的延迟;(网速计算方法:设置上传网速为100kbps的网络 1KB/100KBps=0.01s=100ms。)

About the author: tangtao

989 comments to “fiddler使用技能必备”

You can leave a reply or Trackback this post.

  1. dai ly gas - 2019年9月15日 at 19:04 Reply

    This awesome blog is without a doubt entertaining and also factual. I have discovered a lot of useful advices out of this blog. I ad love to come back every once in a while. Thanks a lot!

  2. black short curly hairstyles 2019 - 2019年9月15日 at 17:41 Reply

    Short Haircuts Models, There’s no going back once you commit to the short hairstyle so how are you. Celebrity inspired short haircuts and hairstyles to try. https://shorthaircutsmodels.com/ Our short hairstyles and short haircuts to inspire your next salon. Top model Maria Borges stunned in this sleek straight crop at the. From to Moss see the models who have made a career statement with short hair. The model approved haircuts were made for standing out. Check out our edit of the best celeb hairstyles for short hair for all the. Seriously short and peroxide blonde looks epic on model. These are the best short haircuts for men to get in 2019. We cover all types of fade haircuts crop haircuts classic short haircuts for men and cool quiff haircuts.

  3. latest short hairstyles for women with fat faces - 2019年9月15日 at 17:41 Reply

    Short Haircuts Models, There’s no going back once you commit to the short hairstyle so how are you. Celebrity inspired short haircuts and hairstyles to try. https://shorthaircutsmodels.com/ Our short hairstyles and short haircuts to inspire your next salon. Top model Maria Borges stunned in this sleek straight crop at the. From to Moss see the models who have made a career statement with short hair. The model approved haircuts were made for standing out. Check out our edit of the best celeb hairstyles for short hair for all the. Seriously short and peroxide blonde looks epic on model. These are the best short haircuts for men to get in 2019. We cover all types of fade haircuts crop haircuts classic short haircuts for men and cool quiff haircuts.

  4. hyundai grand i10 nha trang - 2019年9月15日 at 15:13 Reply

    Only wanna admit that this is invaluable , Thanks for taking your time to write this.

  5. click here for info - 2019年9月15日 at 15:02 Reply

    This is very interesting, You are a very skilled blogger. I ave joined your rss feed and look forward to seeking more of your excellent post. Also, I ave shared your web site in my social networks!

  6. Click Here - 2019年9月14日 at 07:30 Reply

    Only wanna comment that you have a very decent website , I love the design and style it actually stands out.

  7. find more info - 2019年9月14日 at 06:19 Reply

    Im grateful for the article.Thanks Again. Cool.

  8. C_ARSOR_19Q2 PDF - 2019年9月13日 at 17:42 Reply

    Wonderful article! We will be linking to this particularly great post on our site. Keep up the good writing.

  9. C_FIORADM_21 pdf - 2019年9月13日 at 17:30 Reply

    Major thankies for the blog article. Really Great.

  10. emoji pic editor for pc - 2019年9月13日 at 15:54 Reply

    Just a smiling visitant here to share the love (:, btw great design and style. Everything should be made as simple as possible, but not one bit simpler. by Albert Einstein.

  11. droid admin - 2019年9月13日 at 12:37 Reply

    Thanks so much for the article post. Awesome.

  12. tvplayerlatino download for pc - 2019年9月13日 at 09:15 Reply

    You have mentioned very interesting points! ps decent site.

  13. genuine watch - 2019年9月13日 at 05:55 Reply

    Very good article. I will be dealing with a few of these issues as well..

  14. SEO Case Study - 2019年9月13日 at 02:35 Reply

    Wow! This can be one particular of the most helpful blogs We ave ever arrive across on this subject. Basically Wonderful. I am also an expert in this topic therefore I can understand your effort.

  15. 9anime for pc - 2019年9月12日 at 22:44 Reply

    magnificent submit, very informative. I wonder why the opposite experts of this sector do not realize this. You should continue your writing. I am confident, you ave a great readers a base already!

  16. button bass apk download for pc - 2019年9月12日 at 19:06 Reply

    This is a very good tip especially to those new to the blogosphere. Simple but very accurate info Thank you for sharing this one. A must read article!

  17. movierulz apk download for pc - 2019年9月12日 at 15:15 Reply

    Wow! This could be one of the most beneficial blogs we have ever come across on thesubject. Basically magnificent info! I am also a specialist in this topic so I can understand your effort.

  18. chatib for windows 7 free - 2019年9月12日 at 12:02 Reply

    Thanks for a marvelous posting! I actually enjoyed

  19. flenix download for windows - 2019年9月12日 at 08:49 Reply

    These players are generally in one of the most storied and exciting programs in college

  20. mobdro apk for pc - 2019年9月12日 at 05:38 Reply

    plumbing can actually be a hardwork specially if you usually are not very skillfull in undertaking residence plumbing::

  21. verified carding forums - 2019年9月11日 at 18:15 Reply

    You got a very wonderful website, Gladiola I found it through yahoo.

  22. natural bath bombs - 2019年9月11日 at 09:46 Reply

    I know this web site provides quality depending articles or reviews and additional information, is
    there any other site which offers such things in quality?

  23. buy hacklink porn - 2019年9月10日 at 17:02 Reply

    animal porn child porn buy hacklink porn

  24. Mariana - 2019年9月9日 at 02:08 Reply

    If you would like to obtain much from this article then you have
    to apply these techniques to your won webpage.

  25. Enhance Lip - 2019年9月8日 at 21:52 Reply

    Pretty nice post. I just stumbled upon your blog and wanted to say
    that I have really enjoyed browsing your blog posts.
    In any case I’ll be subscribing to your feed and I hope you write again very soon!

  26. Yangın merdiveni kapısı - 2019年9月8日 at 12:42 Reply

    Yangın kapısı fiyatları kapının kalitesine öre değişmektedir. I love You google 🙂

  27. Brandi - 2019年9月8日 at 08:32 Reply

    Heya i am for the first time here. I found this board and I find
    It really useful & it helped me out much. I hope to
    give something back and help others like you aided me.

  28. ETIAS Visa - 2019年9月7日 at 23:43 Reply

    There is definately a great deal to find out about this issue.
    I like all the points you have made.

  29. buy xanax 3mg no prescription - 2019年9月5日 at 09:21 Reply

    I like reading an article that can make men and women think.
    Also, thanks for permitting me to comment!

  30. Joeann - 2019年9月3日 at 22:36 Reply

    Ahaa, its good conversation about this paragraph here at this weblog, I have read all that, so at this time me also commenting at this place.

  31. Bailey - 2019年9月3日 at 22:10 Reply

    Do you mind if I quote a couple of your posts as long as I provide credit and sources back to your site?
    My blog is in the exact same area of interest as yours and
    my visitors would certainly benefit from some of the
    information you present here. Please let me know if this alright with you.
    Thanks a lot!

  32. bitlis son dakika haberleri - 2019年9月3日 at 19:53 Reply

    Sorry for the huge review, but I’m really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it’s the right choice for you.

  33. kastamonu son dakika haberleri - 2019年9月3日 at 19:08 Reply

    If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

  34. hakkari son dakika haberleri - 2019年9月3日 at 19:07 Reply

    Sorry for the huge review, but I’m really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it’s the right choice for you.

  35. magazin haberleri - 2019年9月3日 at 18:09 Reply

    If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.

Comment pages
1 18 19 20

Leave a Reply

Your email address will not be published.