Debugging with HTTPS Logs - Sofy Support Docs: No-Code Automation Testing Platform Help

Debugging with HTTPS Logs

Updated 2 months ago
by
Kashif Hussain

Sofy allows you to capture and analyze network activity during your test sessions. This helps debug app behavior by surfacing exact network requests and responses, making it easier to spot connectivity issues and validate backend interactions, to ensure your application is communicating as expected.

How to Capture HTTPS Logs

  1. Acquire a Device

    1. Log in to your Sofy account.

    2. Select Device Lab from the left navigation bar.

    3. Locate the device you want to test, then select Acquire.

    4. Click Launch to open the device in a new window.

  2. Start Logging

    • From the device toolbar, click on the Play icon next to HTTPS logs

    • If your application has been enabled to allow HTTPS recording (see the Chucker Integration section below), you will be able to stream the logs as well as download them.

Capturing API Logs Using Chucker (Android)

To enable real-time API (HTTPS) logging in Sofy, your Android app must integrate the Chucker HTTP inspector.

How it works

Setup Steps

1. Add Chucker Dependency

2. Attach Chucker to Your Network Layer

3. Ensure Debuggable Build

Required Configuration

Verification (Recommended)

Run the following to confirm setup:

adb -s <deviceId> exec-out run-as <package> ls databases/

You should see:

When to Use This

Key Notes