Everyone on the mobile side is how to test the page, it must be pulled down or slide up, I also test the
But if you want to verify that the data is consistent with PC-side data, it may be the first page, the second page to see, or the last few pages of data to see, on the PC side of the simple, directly click on the last page on the line, on the mobile side can also always use the hand to slide the last page (but if there is a dozens of )
Next I want to share is Fiddler request Breakpoint, its agent how to set
Fiddler is an HTTP protocol debugging Agent tool that can record and check HTTP traffic between all your computers and the Internet, set breakpoints, and view all of the "in and Out" Fiddler data (referring to files such as COOKIE,HTML,JS,CSS, These can make you change the meaning of the random). Fiddler is simpler than other network debuggers because it not only exposes HTTP communication but also provides a user-friendly format (from Baidu Encyclopedia)
The first step:
Open the Fiddler on the PC side, set up the agent, in order to facilitate the demonstration, I am on the PC side with the Chrome browser simulation phone test WAP page good.
My goal is to search for peer on this page, and then click on the query, of course, I want to see the specified page number or the last page (actually the last page is how many pages I do not know, hehe)
First look at the default search, what is the request sent
From the Fiddler capture package, you can see that the request is made with two fields
Keyword,page
KEYWORD=P2P, it's my search keyword.
page=1, show first page by default
Okay, here's the point. Set Fiddler request Breakpoint
After the breakpoint is set, we click Search Peer again,
At fiddler see our request was intercepted, then modify our request parameters, then click Run to Compltion
You can see that the search is completely different from what it was before.
Using Fiddler to test the mobile page