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

Last updated: Nov 20, 2016 10:00

Command: device

Subcommand: log

Supported Platforms: Native, UFT, Selenium, Appium

Supported OS: Android, iOS

Retrieves the operating system log from the device.

Description

Retrieves the latest tail number of lines from the operating system log on the device.

Note: The device log contains valuable data that can help understand execution problems.

Parameters

 * Mandatory parameter

Request & Response

Request
https://mycloud.perfectomobile.com/services/executions/john@perfectomobile.com_controller_16-11-02_12_21_16_829?operation=command&user=john@perfectomobile.com&password=jtest123&command=device&subcommand=log&param.deviceId=6370E775&param.tail=20
JSON Response
{
	"reason":"Success",
	"timer.elapsed":"32",
	"returnValue":"[ 11-02 08:48:10.937   879: 3540 D/SSRM:m   ]\n
		SIOP:: AP = 240, PST = 232, CUR = 450\n
		[ 11-02 08:48:11.497   879: 1304 E/Watchdog ]\n
		!@Sync 46\n
		[ 11-02 08:48:13.327   281:  281 E/SMD      ]\n
		DCD ON\n
		[ 11-02 08:48:16.327   281:  281 E/SMD      ]\n
		DCD ON\n
		[ 11-02 08:48:18.467   879: 1610 D/BatteryService ]\n
		!@BatteryListener : batteryPropertiesChanged!\n
		[ 11-02 08:48:19.327   281:  281 E/SMD      ]\n
		DCD ON\n
		[ 11-02 08:48:20.997   879: 3540 D/SSRM:m   ]\n
		SIOP:: AP = 240, PST = 233, CUR = 450\n
		[ 11-02 08:48:22.327   281:  281 E/SMD      ]\n
		DCD ON\n
		[ 11-02 08:48:25.327   281:  281 E/SMD      ]\n
		DCD ON\n
		[ 11-02 08:48:28.327   281:  281 E/SMD      ]\n
		DCD ON\n",
	"testGridReportUrl":"https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-02_12_21_16_829",
	"description":"Success",
	"timer.system":"0",
	"completed":"true",
	"flowEndCode":"SUCCEEDED",
	"executionId":"john@perfectomobile.com_controller_16-11-02_12_21_16_829",
	"timer.ux":"32",
	"singleTestReportUrl":"https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161102/controller_16-11-02_12_21_16_829.xml&ownerId=john@perfectomobile.com&sharingCode=e967892e-5541-4b12-aa04-dc039ed8908f",
	"reportKey":"PRIVATE:controller/161102/controller_16-11-02_12_21_16_829.xml",
	"timer.device":"32"
}