Silk Mobile

Table of Contents (Homepage)

SetMonitorPollingInterval

void setMonitorPollingInterval (Int Time)

images/images/os-icons/os_ios_150x150.png

images/images/os-icons/os_android_150x150.png

images/images/os-icons/os_windows_150x150.png

Description

This command sets the intervals between each polling of the monitor counter values.

Parameters

  • Time : Time intervals in milliseconds.

Usage

Default polling intervals is per 30 seconds. User can use this command to change the intervals.

Note: For CPU monitoring the minimum polling intervals possible is 5000 milliseconds.

Scenario: In the following example, we will use to this command to get the Memory values every 2000 milliseconds while running a test on Eribank application.

images/download/attachments/3310370/14.jpg

Upon execution the test script, the resulting .csv file will be created with all the monitoring data.

Memory values will be collected every 2000 milliseconds as below.

images/download/attachments/3310370/15.jpg