Page tree
Skip to end of metadata
Go to start of metadata

Last updated: May 26, 2020 16:32

Charles is an HTTP proxy / HTTP monitor / Reverse Proxy that enables a developer/tester to view all of the HTTP and SSL / HTTPS traffic between their machine and the Internet. This includes requests, responses and the HTTP headers (which contain the cookies and caching information).

This blog outlines Charles Proxy integration with Perfecto device

Step-by-step guide

  1. Download and install PerfectoConnect.
  2. Generate a TunnelID with the bridging proxy.
  3. Open a Perfecto device and connect with the generated TunnelID.
  4. Open the Charles proxy.
  5. Launch AUT (Native App/WebApp) in the device and see the Network traffic in the Charles proxy.


NOTE:

  1. Native/Hybrid applications traffic masked by default. You should request your developer to unpin certificates to capture traffic. More info in https://www.charlesproxy.com/documentation/using-charles/ssl-certificates/
  2. You may need to install SSL certificate in devices. Go to CharlesProxy → help → SSL Proxying → Install Charles Root Certification on Devices
  3. For iOS you need to trust the certificate before using it
  4. Post installation and trusting certificate, if you are getting an error "Remote Host closed connection during handshake", you must take an additional step to trust the Charles Root Certificate like below:
    Settings > General > About > Certificate Trust Testings