Use Charles Proxy in Perfecto

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).

Learn how to integrate the Charles Proxy with a Perfecto device.

Keep the following in mind: 

  • Native/Hybrid applications traffic is 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/
  • You may need to install SSL certificate in devices. Go to CharlesProxy → help → SSL Proxying → Install Charles Root Certification on Devices
  • For iOS you need to trust the certificate before using it
  • 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 > CertificateTrustTestings

Step-by-step instructions

  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.