Set up a mobile agent with fiddler

Source: Internet
Author: User

Do app testing friends may because of the needs of the environment, to switch between different test environment, then need to configure the environment on their own computer, and then set up a proxy on the phone, with WiFi connection to their own computer, so that the mobile network is to go their own computer network, that is, The environment of the mobile phone is the environment of the computer setting.

There are a lot of posts on the Internet to explain this, a filter a bit troublesome, here in the beginning before the Appium a point of knowledge, is how to set up a mobile phone agent:

1. Open Fiddler->tools->options->connections,

Select: Allow remote computers to connect

Restart Fiddler.

2, set up mobile phone agent:

Turn on your cellular settings (also known as Wi-Fi settings) and select Agents:

The hostname is the IP address of your computer, and the port is the first step (8888 of the figure above is the port) Fiddler listens on port: the value written later. "Do not use URLs," that column, no tubes.

Your computer's IP address can be in cmd, input ipconfig view

3, set up the agent, use the browser to enter your ip+ port number, such as 192.168.1.185:8888

Download the certificate, when you enter this page should have the certificate download option, click to download

If you do not download the installation certificate, you will continue to play network errors after entering the app, check your network connection settings.

4, (MI) Mobile: More Settings-system security, install from the storage device installation certificate (need to set the screen password)-Here different phones may be set differently.

Complete

Set up the above steps, we re-open the mobile app is the computer set up a good environment ~ ~ ~ and on the Fiddler can also see the mobile phone caught in the various connection addresses.

Public search "automated test Practice" or scan the QR code below to add attention ~ ~ ~

Set up a mobile agent with fiddler

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.