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

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Last updated: Nov 09, 2016 12:28

Command: timer

Subcommand: start

Supported Platforms: Native

Supported OS: Android, iOS

Begins to measure time, with the specified timer ID, until the Timer stop function is invoked.

Description

Begins measuring time via a timer identified by the timerId parameter, up until the Timer stop command is used.

The Timer Initialization parameter is useful when using within a loop, where the timer can be reset or continued with each iteration.

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&user=john@perfectomobile.com&password=123456&command=timer&subcommand=start&param.timerId=timerA

JSON Response
 {
  "executionId": "john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "reason": "Success",
  "testGridReportUrl": "https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-08_09_26_26_940",
  "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",
  "description": "Success",
  "reportKey": "PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml",
  "completed": "true",
  "flowEndCode": "SUCCEEDED"
}

 

XML Response
 <response>
    <executionId>john@perfectomobile.com_controller_16-11-08_09_26_26_940</executionId>
    <reason>Success</reason>
    <testGridReportUrl>https://mycloud.reporting-stg.perfectomobile.com?externalId[0]=john@perfectomobile.com_controller_16-11-08_09_26_26_940</testGridReportUrl>
    <singleTestReportUrl>https://mycloud.perfectomobile.com/nexperience/singletest/report/?reportRepositoryKey=PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml&amp;ownerId=john@perfectomobile.com&amp;sharingCode=166ca97d-a844-443e-bb78-99da59f69f8f</singleTestReportUrl>
    <description>Success</description>
    <reportKey>PRIVATE:controller/161108/controller_16-11-08_09_26_26_940.xml</reportKey>
    <completed>true</completed>
    <flowEndCode>SUCCEEDED</flowEndCode>
</response>


  • No labels