Rest API - Transactions
The Reporter provides you with a Rest API that gives you direct access to the test data and statistics.
For more information on the Transaction View see Transaction View.
Concepts
-
Key - Key and value construct a tag. Each test has a subset of available tags with various values that describe the test specifics. Example:
{device.os : Android}
-
Project - Concept derived from the cloud. Each project has it's own resources (users, devices) and can be used to created separation of testing efforts.
-
Test - Single test execution instance.
The role of the user performing the Rest Operation is specified by the 'Authorization' header. For a detailed example see How To Execute Rest API.
Get Test Transactions
Returns JSON representation of existing Test Transaction with the received ID.
If it does not exist a status 404 is returned.
- This API is available for all user roles.
GET /reporter/api/transactions/<IDs>
ids - Comma delineated list of Transaction IDs
Response
Response Status: 200 OK
{
"id": 744,
"name": "Test Rail",
"appName": "com.apple.springboard",
"appVersion": "",
"startTime": 1584958844127,
"deviceUid": "00008020-00152DA11A68002E",
"deviceName": "iPhone xs b0227",
"deviceModel": "iPhone XS",
"deviceOs": "iOS",
"deviceManufacturer": "Apple",
"deviceVersion": "13.3",
"deviceScreen": "1125 x 2436",
"deviceType": "PHONE",
"networkProfile": "",
"cpuAvg": 211.10688234412152,
"cpuMax": 836.3230590820312,
"cpuCoreCount": 2,
"memAvg": 553.8927731721298,
"memMax": 622.5054931640625,
"memTotalInBytes": 2109210624,
"batteryAvg": 374.1950969080771,
"batteryMax": 490.32733154296875,
"totalUploadedBytes": 0,
"totalDownloadedBytes": 0,
"duration": 31283,
"speedIndex": -1,
"videoStart": 1584958844127,
"videoEnd": 1584958875410,
"userName": "admin",
"testId": 639,
"date": "2020-03-23",
"projectId": 1,