Monitoring Mobile Devices

Document created by DPM Admin Employee on Jul 19, 2017
Version 1Show Document
  • View in full screen mode

TouchTest features automatic mobile monitoring for both iOS and Android devices, including monitoring for mobile browser tests using TouchTest™ Web. Monitor server groups and monitor instances are automatically created at the time of Device Agent creation and mobile monitor results appear by default in the Result Details widget, including for CPU, Memory, Battery, Bytes Sent & Receive, and Location(s). Monitor results are found in the Result Details, Monitored Device(s) tab.

Per-device monitors can also be viewed in the Central tab, Monitors list, by clicking View Analytics.

Setting Mobile Monitoring Preferences

Composition-level mobile monitoring is enabled by default, and uses the "default monitor." Mobile monitoring can be toggled on/off by using the composition’s Monitoring properties tab. Mobile monitor settings are on the right of the Composition Editor lower panel, Monitoring tab.

Select a custom monitor by selecting Use a different monitor. Then, select the listed custom monitor.

TIP: Mobile monitors can be manually created or revised using the monitor wizard (Central > Monitors).

Device Agents are listed as Resources Available for Monitoring in the Monitoring Server Group creation process.

Multiple devices in a test can be monitored by defining a group to use the Device Agent resource (shown right).

In SOASTA CloudTest, a Monitor Server Group defines the hardware or software end-point that will be monitored—if "Device Agents" is checked that end-point corresponds to a specific mobile device (or set of mobile devices).

Those devices in a group are specified via the Hosts/Device Agents page in the wizard. Check or uncheck the given device(s) in the Device Agents list to include them in this group.

Note: Monitor Server Groups and an accompanying monitor instance are created along with the Device Agent with default resource selection that monitors the mobile battery, CPU, memory, network bytes received and bytes sent.

Switching a Mobile Monitor between Mobile Apps

Once a mobile monitor is created, it can be overridden or switched between the associated mobile apps for a given test by selecting the Monitor in the Monitors list and then accessing these settings in the General tab, Mobile App selector.

Aggregation is done per Monitor. Note that if a monitor server group has more than one device in a Monitoring Server Group, then device-level information is not stored with these aggregates.

Aggregation Duration

This is the period for which monitor sample data is aggregated The default is every 10 seconds. Specify a higher number if the desired trend analysis would not find 10 seconds to be significant. Using a period that is less than the monitor sample rate will provide no benefit.

Detail Data Retention Period

Specifies how far back to retain detail monitor sample data. Defaults to –1 (do not purge detail data). Setting this to 0 will not store any detail data. Setting to a positive number (e. g. 30) will retain detail data for that number of minutes.