Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Dec 16, 2019 22:00

Command: vitals

Subcommand: stop

Supported Platforms: Native,UFT,Selenium,Appium

Supported OS: Android, iOS

Stops collecting Vitals, and saves them to the repository in a CSV file format.

Description

Ends device vitals collection. The collected information is saved as a CSV file in the repository.

If the script contains several start/stop pairs for the same device, there will be a single CSV file for the device, provided the device remains open. Numerous open/close device actions in the scrip will result in several CSV files. In other words, a CSV file is generated per each device closure.

If the data collection frequency interval, defined by the Vitals start function, is shorter than the script runtime, no CSV file is created.

Once script execution is complete, the CSV file is stored under Reporting > Performance. This file can also be found as a link from within the extracted PDF and HTML report.


CSV File naming convention

The CSV file is created once the script is completed or the device has been closed. The naming convention includes the device IMEI and timestamp representing the time the script was completed.

Parameters

 * Mandatory parameter

Request & Response 

Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-08_09_26_26_940?operation=command&securityToken=<your_token>&command=vitals&subcommand=start&param.deviceId=6370E775
JSON Response
{
  "reason": "Success",
  "timer.elapsed": "31",
  "returnValue": "[[TimedCollectedMonitorValues: Timestamp:timestamp: 1478598241535, formatted date:2016-11-08:09-44-01-535, Monitors:{[DeviceVital: VitalId:outputs.monitors.memory.cache]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:299556, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:299556, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.kernel]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:6, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:6, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.user]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:10, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:10, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:322464990, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.free]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:65576, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:65576, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:121570518, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.used]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:1679968, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:1679968, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.total]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:17, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:17, Type:INTEGER]]}], [TimedCollectedMonitorValues: Timestamp:timestamp: 1478598242629, formatted date:2016-11-08:09-44-02-629, Monitors:{[DeviceVital: VitalId:outputs.monitors.memory.cache]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:299556, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:299556, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.kernel]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:10, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:10, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.user]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:5, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:5, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:322464990, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.free]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:65600, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:65600, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:121570518, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.used]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:1679944, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:1679944, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.total]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:18, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:18, Type:INTEGER]]}], [TimedCollectedMonitorValues: Timestamp:timestamp: 1478598243707, formatted date:2016-11-08:09-44-03-707, Monitors:{[DeviceVital: VitalId:outputs.monitors.memory.cache]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:299556, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:299556, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.kernel]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:11, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:11, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.user]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:6, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:6, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:322464990, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.free]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:65440, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:65440, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:121570518, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.used]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:1680104, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:1680104, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.total]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:19, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:19, Type:INTEGER]]}], [TimedCollectedMonitorValues: Timestamp:timestamp: 1478598244801, formatted date:2016-11-08:09-44-04-801, Monitors:{[DeviceVital: VitalId:outputs.monitors.memory.cache]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:299556, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:299556, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.kernel]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:3, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:3, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.user]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:6, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:6, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:322464990, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.mobile.in]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:0, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.free]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:65472, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:65472, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.network.wlan.out]=[DeltaCollectedMonitor: CalculatedValue:[CollectedMonitorValue: Value:0, Type:INTEGER], StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculationType:DELTA, MonitorValue:[CollectedMonitorValue: Value:121570518, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.memory.used]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:1680072, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:1680072, Type:INTEGER]], [DeviceVital: VitalId:outputs.monitors.cpu.total]=[CollectedMonitor: StatusInfo:[CollectedMonitorStatusInfo: Message:null, Status:SUCCEEDED], CalculatedValue:[CollectedMonitorValue: Value:11, Type:INTEGER], CalculationType:DEFAULT, MonitorValue:[CollectedMonitorValue: Value:11, Type:INTEGER]]}]]",
  "testGridReportUrl": "https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "description": "Success",
  "timer.system": "31",
  "completed": "true",
  "flowEndCode": "SUCCEEDED",
  "executionId": "john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "timer.ux": "0",
  "singleTestReportUrl": "https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml&ownerId=john@perfectomobile.com&sharingCode=166ca97d-a844-443e-bb78-99da59f69f8f",
  "reportKey": "PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml",
  "timer.device": "0"
}