Using Android Monitor in Eggplant Performance

The Android monitor type uses the Android Debug Bridge (ADB) to collect measurements from a monitoring target which is an Android phone, tablet or emulator.

ADB requires Android devices to be connected via a USB cable, so configuration for an Android monitoring target/profile is slightly different. The injector on which the monitor process runs will also run ADB, so Android devices must be plugged into the injector machine via USB. The injector machine can be localhost, the same machine as Eggplant Performance Test Controller.

Android Monitor in Eggplant Performance

The Create a monitoring target page in the Add Monitors wizard is slightly different when Android is selected in the Operating system list. The Host field is not used, because ADB uses a USB connection from the injector machine, rather than TCP.

monitoring_wizard-create-monitoring-target_android

monitoring_connection-settings-android

For information about the Poll Interval and Injector fields, refer to Connection Settings.

  1. On the Connection Settings page, select an injector and then click Find devices. The injector will use ADB to locate Android devices that are connected via USB, or running as emulators.
  2. On the Android device, a message may appear asking if USB debugging should be allowed. Click OK.
  3. monitoring_android-allow-usb-debugging

  4. Select the desired device in the Android devices list, and then click Next.
Note: If the device does not appear in the Android devices list, try these steps:
  1. Install the latest Google USB Driver on the injector
  2. Enable developer mode on the Android device (instructions vary per device)

Using a Different Version of ADB

A version of ADB is provided as part of the Eggplant Performance installation, and is used by default. To use a different version of ADB:

  1. In the Workspace list, click the injector on which the Android monitor will run.
  2. Click the Advanced Settings tab.
  3. In the ADB home box, enter the path to the folder in which adb.exe is located.
  4. If the selected injector is localhost, click the Browse button and navigate to the folder in which adb.exe is located.

    monitoring_adb-location

 

This topic was last updated on January 13, 2022, at 02:42:23 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant