Fiddler Crawl mobile App request Package

Source: Internet
Author: User
Tags sublime text sublime text editor

Today's whim, do not know how, think of grasping our company mobile phone app package look, research and research our company's interface, hey, our API documentation, I grabbed the bag to see it. The tool chooses fiddler, Reason is free, uses also comfortable, the handset device IPhone6, the app does not introduce here.

The first step, set up the agent,

Open fiddler, select Tool>options>connections, set the port number, tick allow_remote computers to connect. Then OK. This completes the proxy setup. Restart Fiddler

View computer IP

Step Two

Mobile link Proxy server.

And then under Operation

Phone, you can see the request came over.

Grab the know to try

, soon we caught the know, at present my Computer fiddler seems to be a bit of a problem.

Here's the point, grab an app from our company,

This is the data that I sent to our company app for the login interface POST request,

We can see that there are detailed data request information here, but also can see the interface information returned by the system, then we can use these interfaces to write test cases, we first to look at, analysis, try to see if our interface can be used in code to request it.

I chose Python, with the sublime text editor, first to copy the URL here, to see if we can get the data directly, the answer should not be we have a look.

We can see at this time that the interface directly gives us back the

The data is empty, the parameter is not correct, proves that our request is successful, the interface can be normal access, then is the next to analyze the required parameters, and here still need data, then we can try to analyze the data of this interface,

We add these request parameters, or the parameter is not correct, then I think is not my headers need to add, so, I simply add the request header, but still do not, so I went to see the fiddler Json,textview and other discoveries, this parameter is not I add the look, So began splicing, finally finished the interface jewelry analysis, carefully look at our interface, wiping a lot of loopholes, then I can start to test our company's interface.

Found that there is no standard interface test document to do interface testing or a lot of trouble, there is no time to go and leadership to discuss the next.

Fiddler Crawl mobile App request Package

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.