How does Fiddler compare two interface requests?

When testing an APP, the same request on the Android and iOS sides often appears, but the execution results are different, which is usually caused by the difference in the content of the interface request.

If you want to learn the Fiddler packet capture tool, here I recommend a set of videos for you. This video can be said to be the No. 1 Fiddler packet capture tool tutorial on the Internet at station B. At the same time, the number of online users reaches 1,000, and there are notes available. Receipt and technical exchanges with various great gods : click on the card at the bottom of the article'

Play Fiddler packet capture with zero foundation and apply it in the field of testing! _哔哩哔哩_bilibili [Python interface automation test notes and video source code + WeChat: mashang-nn Remarks (555 at station b) can be collected for free, and three consecutive likes are the true love! 】, The number of video views is 1349, the number of bullet screens is 2, the number of likes is 4, the number of coins tossed is 2, the number of bookmarks is 20, and the number of reposts is 0. B station 555, related videos: The latest Jmeter interface testing practical tutorial at B station in 2023, only this set of videos is needed to be proficient in interface automation testing, and you can play the four major applications of fiddler capture in the testing field from 0! , 15 days to learn performance testing, easy-to-understand detailed teaching, Jmeter performance testing combat (cluster stress testing, full-link stress testing, performance tuning, bottleneck analysis) mastered very quickly, just do it! , B station benefits! Web automation testing from 0- to project actual combat tutorial, free to learn! ! ! , webdriver-helper automated testing actual combat, use Postman to easily play interface automated testing, 2023B station's most complete RobotFramework automated testing framework from zero basic entry to actual combat! (Updated version), Fiddler packet capture tool and charles packet capture tool practical teaching, App automation test Appium+UiAutomator2 skills, JMeter + Ant interface automation test and output HTML report https://www.bilibili.com/video/BV14g4y1H7vv/ ? spm_id_from=333.999.0.0 

I am used to using Fiddler to capture packets, so how should I locate the problem at this time?

It is a good choice to save the interface requests of Android and iOS as TXT files, and then compare them with the tool Beyond Compare.

But in fact, it is most convenient to compare directly in Fidder, such as using Fidder's Compare function (shortcut key Ctrl+W).

If we do not configure windiff, an error will be reported:

How to configure windiff?

Download link: https://www.grigsoft.com/download-windiff.htm

Download windiff.zip

Unzip the compressed package windiff.zip, and place it anywhere (it is recommended to put it in the fiddler installation directory)

Under the Fiddler path Tools -> Options -> Tools, choose to locate windiff.exe in the File Diff Tool

Let's say we make two GET requests to http://www.example.com/.

To compare the differences between two requests, select the two requests to be compared, and find Compare in the right-click menu of the mouse (shortcut key Ctrl+W). (Note, if there is a pop-up box, just click [OK])

At this time, in windiff, the different lines in the two requests will be identified (the red and yellow highlights are displayed as a pair, indicating the different content of the two requests in this line)

With such a comparison, we can troubleshoot the problems caused by the inconsistency of interface parameter passing.

Guess you like

Origin blog.csdn.net/caixiangting/article/details/131272852