License Information
To activate Charles:
Registered Name: GAT HUB SRL
License Key: 2b0ca996bd7debbe69
You can enter this via:
Help → Register
Video presentation of the flow:
Charles Proxy on Desktop and Mobile devices - Tester Work
Installation and Setup
Download v 4.6.8 Charles Proxy (or older versions) on your laptop: Charles Web Debugging Proxy • HTTP Monitor / HTTP Proxy / HTTPS & SSL Proxy / Reverse Proxy
Go to Download-> Previous Release-> v4.6.8 (v5 does not work with the license key above)
Register your Charles client using the license key
Launch Charles
SSL Proxy settings: Navigate to menu item Proxy -> SSL Proxy Settings -> SSL Proxying
Check “enable SSL Proxying”
Add “*.iheart.com” and port 443
To be safe add ‘*’ and port 443
Restart Charles on your computer
Install an iOS build on your mobile device. The device should be connected to the same wi-fi as the laptop.
Launch the app on a mobile device. Some calls may come through Charles on the laptop.
Installing Charles Certificate: On the mobile device, open the device browser like Safari or Chrome. Go to Charles Web Debugging Proxy • SSL CA Certificate installation.
It will ask to download/install the certificate. Tap Download/Install
Go to device settings eg. On iOS, go to Settings – General – Profiles. It will show a certificate for Charles:
Tap and install it
Then got to Settings – General – About – scroll all the way down to Certificate Trust Settings.
Tap and enable the toggle for the certificate that was installed.
Relaunch the app. A permission modal may come up on your laptop.
Select “Allow’
Charles should now start showing calls.
Logs should show 200 status for us.api.iheart.com calls and other calls (Method: Get, Post… Method: Connect means that Charles is not properly set up) as below. Red checkmarks should not be seen. If not, repeat the steps for SSL Proxy settings and Charles certificate installation.
Starting a Charles Session (Required Before Every Test)
1. Get Your Local IP Address
In Charles:
Help → Local IP Address
Take note of the IP shown.
2. Configure Your Mobile Device
iOS / Android
Go to Settings → Wi-Fi
Tap the info icon (i) on the current network
Scroll to Configure Proxy
Select Manual
-
Enter:
Server: Your computer’s local IP
Port: 8888
Android only
Under Bypass proxy for, enter:
localhost,127.0.0.1
Also ensure the build is a debug build so Charles can capture calls.
3. Start Capturing
Open the app on your mobile device
In Charles, switch to the Sequence tab
A permission alert will pop up → click Allow
You should now see network calls appearing in Charles.
Comments
0 comments
Article is closed for comments.