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'
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.