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

Last updated: Jan 16, 2019 07:32

Using a API Testing tool like POSTMAN, GET calls can be made against a certain Cloud Reporting end point to get CI Dashboard data returned in response. 


Steps to setup POSTMAN:

  1. Download the POSTMAN App from this link, and install it on your computer
  2. Once Installed, Launch the POSTMAN app by finding in it in your Applications folder on Mac or on Windows from the lower right applications option.
  3. Upon Launching, click on Request on the pop-up window shown here:
  4. In the ensuing pop-up provide a 'Request name', 'Request description' and click on 'Create Folder' and then click on Save to Reporting button on bottom right:
     
  5. For 'Enter Request URL'  at the top, enter your Cloud Reporting URL: https://<CLOUD_NAME>.reporting.perfectomobile.com/export/api/v1/test-executions?jobName=<JOB_NAME>&jobNumber=<JOB_NUMBER>&status=<VALUE>
  6. Make sure for particular call, the drop down to the left of where you entered the URL in previous step is set to GET.
  7. Click on 'Authorization' next to Params, below where you entered the URL in #5 above, here Key: PERFECTO_AUTHORIZATION, and Value is your User Token which is generated via Perfecto CQL. Save it by clicking on Save button on top right next to Send. 
  8. Now you can run this by clicking on Send button on the right next to the URL. 


Reporting Server name: https://<CLOUD_NAME>.reporting.perfectomobile.com, using query params like jobName, jobNumber and status, we can build a Url to make GET calls using a API testing tool. A complete Url would look like:

https://<CLOUD_NAME>.reporting.perfectomobile.com/export/api/v1/test-executions?jobName=<JOB_NAME>&jobNumber=<JOB_NUMBER>&status=<VALUE>

With REQUEST HEADER: PERFECTO_AUTHORIZATION: <SECURITY_TOKEN>

  • Here, CLOUD_NAME would be name of the cloud like: demo
  • jobName would be name of the job like: JasD_QuantumCI
  • jobNumber would be a incremental (like 1, 2,3, etc.) for each subsequent run or it could the Epoch Time when the job run started depending depending on how the CI job is configured to generate Job Number. 
  • OPTIONAL, status would be one of these values based on the test statuses that need to be returned in response: PASSED orFAILED or UNKNOWN.


A example call:

REQUEST:

Request
   GET: https://demo.reporting.perfectomobile.com/export/api/v1/test-executions?jobName=JasD_QuantumCI&jobNumber=5&status=FAILED
   REQUEST HEADER:  PERFECTO_AUTHORIZATION: <YOUR_TOKEN_FOR_DEMO_CLOUD>



RESPONSE:

     Response headers: HTTP/1.1 200

     Response Body:

{
    "resources":     [
                {
            "id": "5bb59f26c9e77c000bcb368e",
            "externalId": "emm_engineering_qa@demo.com_eulaStatusTestes_US_18-10-04_05_02_39_29750",
            "name": "eulaStatusTest",
            "owner": "emm_engineering_qa@demo.com",
            "startTime": 1538629414811,
            "endTime": 1538629620589,
            "uxDuration": 0,
            "status": "FAILED",
            "job":             {
                "name": "EMM iOS 11 Test Automation",
                "number": 368,
                "branch": "origin/dev"
            },
            "platforms": [            {
                "deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D",
                "deviceType": "MOBILE",
                "os": "IOS",
                "osVersion": "11.4.1",
                "screenResolution": "750x1334",
                "location": "NA-US-BOS",
                "mobileInfo":                 {
                    "imei": "354408067626496",
                    "manufacturer": "Apple",
                    "model": "iPhone-6",
                    "phoneNumber": "+1-813-449-1224",
                    "distributor": "MacCam11",
                    "firmware": "11.4.1",
                    "operator": "AT&T",
                    "operatorCountry": "United States of America"
                },
                "selectionCriteria": {"deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D"},
                "selectionCriteriaV2": [                {
                    "name": "deviceId",
                    "value": "96FF66A75622D4F193C6537CABBD92D980395A9D"
                }],
                "customFields": [                {
                    "name": "Automation",
                    "value": "XCUITest"
                }]
            }],
            "videos": [            {
                "startTime": 1538629363696,
                "endTime": 1538629680309,
                "format": "MP4",
                "streamingUrl": "https://demo.vod-stream-01.perfectomobile.com/vods3/_definst_/mp4:pm/perfecto-vod-01/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/0b3ce68c2d9379066a724b2fd442cd502a31e92c036cc345f3b00e1cd3320415.mp4",
                "downloadUrl": "https://demo.vod-download-01.perfectomobile.com/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/0b3ce68c2d9379066a724b2fd442cd502a31e92c036cc345f3b00e1cd3320415.mp4",
                "screen":                 {
                    "width": 750,
                    "height": 1334
                }
            }],
            "tags":             [
                "QA",
                "Regression"
            ],
            "executionEngine": {"version": "18.12"},
            "artifacts": [],
            "reportURL": "https://demo.reporting.perfectomobile.com/test/5bb59f26c9e77c000bcb368e",
            "message": "java.lang.AssertionError: Refuse EULA alert is NOT displayed after tap on Reject button.\n\nPerfecto report URL: https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_eulaStatusTestes_US_18-10-04_05_02_39_29750&_timestamp[0]=1538629359699\n expected [true] but found [false]\n\tat org.testng.Assert.fail(Assert.java:96)\n\tat org.testng.Assert.failNotEquals(Assert.java:776)\n\tat org.testng.Assert.assertTrue(Assert.java:44)\n\tat com.demo.emm.base.TestUtilities.assertTrue(TestUtilities.java:486)\n\tat com.demo.emm.ios.tests.iOSUITests.eulaStatusBaseSteps(iOSUITests.java:1518)\n\tat com.demo.emm.ios.tests.iOSUITests.eulaStatusTest(iOSUITests.java:312)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)\n\tat org.testng.internal.Invoker.invokeMethod(Invoker.java:580)\n\tat org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)\n\tat org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)\n\tat org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)\n\tat org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)\n\tat org.testng.TestRunner.privateRun(TestRunner.java:648)\n\tat org.testng.TestRunner.run(TestRunner.java:505)\n\tat org.testng.SuiteRunner.runTest(SuiteRunner.java:455)\n\tat org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)\n\tat org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)\n\tat org.testng.SuiteRunner.run(SuiteRunner.java:364)\n\tat org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)\n\tat org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)\n\tat org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)\n\tat org.testng.TestNG.runSuitesLocally(TestNG.java:1137)\n\tat org.testng.TestNG.runSuites(TestNG.java:1049)\n\tat org.testng.TestNG.run(TestNG.java:1017)\n\tat org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.runTests(TestNGTestClassProcessor.java:129)\n\tat org.gradle.api.internal.tasks.testing.testng.TestNGTestClassProcessor.stop(TestNGTestClassProcessor.java:88)\n\tat org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:61)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\n\tat org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32)\n\tat org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93)\n\tat com.sun.proxy.$Proxy3.stop(Unknown Source)\n\tat org.gradle.api.internal.tasks.testing.worker.TestWorker.stop(TestWorker.java:120)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)\n\tat org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:146)\n\tat org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:128)\n\tat org.gradle.internal.remote.internal.hub.MessageHu...",
            "customFields":             [
                                {
                    "name": "Build",
                    "value": "demoMobileApp_Release_v2.5.0_1591_QA.ipa"
                },
                                {
                    "name": "Cloud version",
                    "value": "18.12"
                }
            ],
            "automationFramework": "SELENIUM",
            "parameters": []
        },
                {
            "id": "5bb59d12c9e77c000bcb3599",
            "externalId": "emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701",
            "name": "sendEULAUpdateInForegroundTest",
            "owner": "emm_engineering_qa@demo.com",
            "startTime": 1538628882524,
            "endTime": 1538629010716,
            "uxDuration": 0,
            "status": "FAILED",
            "job":             {
                "name": "EMM iOS 11 Test Automation",
                "number": 368,
                "branch": "origin/dev"
            },
            "platforms": [            {
                "deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D",
                "deviceType": "MOBILE",
                "os": "IOS",
                "osVersion": "11.4.1",
                "screenResolution": "750x1334",
                "location": "NA-US-BOS",
                "mobileInfo":                 {
                    "imei": "354408067626496",
                    "manufacturer": "Apple",
                    "model": "iPhone-6",
                    "phoneNumber": "+1-813-449-1224",
                    "distributor": "MacCam11",
                    "firmware": "11.4.1",
                    "operator": "AT&T",
                    "operatorCountry": "United States of America"
                },
                "selectionCriteria": {"deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D"},
                "selectionCriteriaV2": [                {
                    "name": "deviceId",
                    "value": "96FF66A75622D4F193C6537CABBD92D980395A9D"
                }],
                "customFields": [                {
                    "name": "Automation",
                    "value": "XCUITest"
                }]
            }],
            "videos": [            {
                "startTime": 1538628830794,
                "endTime": 1538629067862,
                "format": "MP4",
                "streamingUrl": "https://demo.vod-stream-01.perfectomobile.com/vods3/_definst_/mp4:pm/perfecto-vod-01/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/b774cbf9e36cd7a0c6875172118d5244a0369543b57e5fd743e8e70640f5f208.mp4",
                "downloadUrl": "https://demo.vod-download-01.perfectomobile.com/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/b774cbf9e36cd7a0c6875172118d5244a0369543b57e5fd743e8e70640f5f208.mp4",
                "screen":                 {
                    "width": 750,
                    "height": 1334
                }
            }],
            "tags":             [
                "QA",
                "Regression"
            ],
            "executionEngine": {"version": "18.12"},
            "artifacts": [],
            "reportURL": "https://demo.reporting.perfectomobile.com/test/5bb59d12c9e77c000bcb3599",
            "message": "org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 0 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'\nSystem info: host: '66104ecd2f17', ip: '172.18.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-47-generic', java.version: '1.8.0_131'\nDriver info: io.appium.java_client.ios.IOSDriver\nCapabilities [{reportPdfUrl=https://demo.reporting.perfectomobile.com/export/api/v1/test-executions/pdf?externalId[0]=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701&_timestamp[0]=1538628825648, simpleIsVisibleCheck=true, language=es, locale=es_US, deviceName=96FF66A75622D4F193C6537CABBD92D980395A9D, fullReset=true, platform=ANY, password=, deviceSessionId=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701, webStorageEnabled=false, automationName=XCUITest, host=demo.perfectomobile.com, singleTestReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701&_timestamp[0]=1538628825648, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=ANY, app=GROUP:Emm/iOS App/demoMobileApp_Release_v2.5.0_1591_QA.ipa, networkConnectionEnabled=false, testGridReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701&_timestamp[0]=1538628825648, entityType=appium_driver, xcuitestFindOptimizations=true, bundleId=com.demo.emm-odm, databaseEnabled=false, version=, serverConnector=, serverHost=1.1.61.31:11602, securityToken=, executionId=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701, locationContextEnabled=false, scriptName=sendEULAUpdateInForegroundTest, reportKey=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701, windTunnelReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_sendEULAUpdateInForegroundTestes_US_18-10-04_04_53_45_29701&_timestamp[0]=1538628825648, user=}]\nSession ID: c10af922-c83c-47c8-ab27-880a111082f6\n*** Element info: {Using=name, value=okWelcome}\n\tat sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)\n\tat org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\n\tat io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:129)\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)\n\tat io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)\n\tat io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)\n\tat io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)\n\tat io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:62)\n\tat io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)\n\tat io.appium.java_client.ios.IOSDriver....",
            "customFields":             [
                                {
                    "name": "Build",
                    "value": "demoMobileApp_Release_v2.5.0_1591_QA.ipa"
                },
                                {
                    "name": "Cloud version",
                    "value": "18.12"
                }
            ],
            "automationFramework": "SELENIUM",
            "parameters": []
        },
                {
            "id": "5bb5552ed60180000b317876",
            "externalId": "emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961",
            "name": "internetSpeedTest [en_US]",
            "owner": "emm_engineering_qa@demo.com",
            "startTime": 1538610478437,
            "endTime": 1538611219737,
            "uxDuration": 0,
            "status": "FAILED",
            "job":             {
                "name": "EMM iOS 11 Test Automation",
                "number": 368,
                "branch": "origin/dev"
            },
            "platforms": [            {
                "deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D",
                "deviceType": "MOBILE",
                "os": "IOS",
                "osVersion": "11.4.1",
                "screenResolution": "750x1334",
                "location": "NA-US-BOS",
                "mobileInfo":                 {
                    "imei": "354408067626496",
                    "manufacturer": "Apple",
                    "model": "iPhone-6",
                    "phoneNumber": "+1-813-449-1224",
                    "distributor": "MacCam11",
                    "firmware": "11.4.1",
                    "operator": "AT&T",
                    "operatorCountry": "United States of America"
                },
                "selectionCriteria": {"deviceId": "96FF66A75622D4F193C6537CABBD92D980395A9D"},
                "selectionCriteriaV2": [                {
                    "name": "deviceId",
                    "value": "96FF66A75622D4F193C6537CABBD92D980395A9D"
                }],
                "customFields": [                {
                    "name": "Automation",
                    "value": "XCUITest"
                }]
            }],
            "videos": [            {
                "startTime": 1538610428288,
                "endTime": 1538611268829,
                "format": "MP4",
                "streamingUrl": "https://demo.vod-stream-01.perfectomobile.com/vods3/_definst_/mp4:pm/perfecto-vod-01/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/194bcb865b4402fb642d6956401674de3f5b4dbebb0468040d895662cdb11178.mp4",
                "downloadUrl": "https://demo.vod-download-01.perfectomobile.com/demo/6c362b63352b6a2b4572396e3378694f7056652b667a3353744e77452b584548767a4e446f364d454970513d/194bcb865b4402fb642d6956401674de3f5b4dbebb0468040d895662cdb11178.mp4",
                "screen":                 {
                    "width": 750,
                    "height": 1334
                }
            }],
            "tags":             [
                "QA",
                "Regression"
            ],
            "executionEngine": {"version": "18.12"},
            "artifacts": [],
            "reportURL": "https://demo.reporting.perfectomobile.com/test/5bb5552ed60180000b317876",
            "message": "org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information)\nCommand duration or timeout: 0 milliseconds\nFor documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html\nBuild info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'\nSystem info: host: '66104ecd2f17', ip: '172.18.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-47-generic', java.version: '1.8.0_131'\nDriver info: io.appium.java_client.ios.IOSDriver\nCapabilities [{reportPdfUrl=https://demo.reporting.perfectomobile.com/export/api/v1/test-executions/pdf?externalId[0]=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961&_timestamp[0]=1538610423137, simpleIsVisibleCheck=true, deviceName=96FF66A75622D4F193C6537CABBD92D980395A9D, fullReset=true, platform=ANY, password=, deviceSessionId=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961, webStorageEnabled=false, automationName=XCUITest, host=demo.perfectomobile.com, singleTestReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961&_timestamp[0]=1538610423137, browserName=, takesScreenshot=true, javascriptEnabled=true, platformName=ANY, app=GROUP:Emm/iOS App/demoMobileApp_Release_v2.5.0_1591_QA.ipa, networkConnectionEnabled=false, testGridReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961&_timestamp[0]=1538610423137, entityType=appium_driver, xcuitestFindOptimizations=true, bundleId=com.demo.emm-odm, databaseEnabled=false, version=, serverConnector=, serverHost=1.1.61.31:11602, securityToken=, executionId=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961, locationContextEnabled=false, scriptName=internetSpeedTest [en_US], reportKey=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961, windTunnelReportUrl=https://demo.reporting.perfectomobile.com/library?externalId[0]=emm_engineering_qa@demo.com_internetSpeedTesten_US_18-10-03_23_47_03_28961&_timestamp[0]=1538610423137, user=}]\nSession ID: 13c31754-6e2b-4f5d-b51e-9e730c04c5e9\n*** Element info: {Using=xpath, value=//XCUIElementTypeSwitch[contains(@label,'Wi-Fi')]}\n\tat sun.reflect.GeneratedConstructorAccessor21.newInstance(Unknown Source)\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\n\tat org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)\n\tat org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)\n\tat org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)\n\tat org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)\n\tat org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)\n\tat io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:129)\n\tat org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)\n\tat io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)\n\tat io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)\n\tat io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:319)\n\tat io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:62)\n\tat io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)\n\tat io.appium.java_client.ios.IOSDriver.findElement(IOSDriver.java:1)\n\tat org.openqa.selenium.remote.RemoteWebDriver.findElementBy...",
            "customFields":             [
                                {
                    "name": "Build",
                    "value": "demoMobileApp_Release_v2.5.0_1591_QA.ipa"
                },
                                {
                    "name": "Cloud version",
                    "value": "18.12"
                }
            ],
            "automationFramework": "SELENIUM",
            "parameters": []
        }
    ],
    "metadata":     {
        "createdAt": 1538717248983,
        "apiVersion": "v1",
        "userId": "MyUserd@perfectomobile.com",
        "tenantId": "demo-perfectomobile-com",
        "processingStatus": "PROCESSING_COMPLETE",
        "page": 1,
        "truncated": false
    }
}