Skip to content

Instantly share code, notes, and snippets.

@PicoCreator
Created March 13, 2022 13:08
Example testrun result API JSON
{
"result" : {
"data" : null,
"type" : "MANUAL",
"resolution" : "1280x960",
"testRunBillID" : "EAMdDc1hSCsQJfSPoDpMi6",
"result" : {
"workspacePath" : "/workspace/8JWGHaqm1ovYYvR2G54oam/",
"errorSteps" : [ ],
"session" : {
"browserVersion" : "98.0.4758.80",
"browserName" : "chrome",
"sessionId" : "6yCquj-3e9dd8f9196e49dbf1ebf33c64107154",
"chromedriverVersion" : "98.0.4758.48 (d869ab3eda60629b9fabbd4e30c0f833466c83fd-refs/branch-heads/4758@{#415})",
"type" : "session",
"platformName" : "Linux"
},
"outputPath" : "/workspace/8JWGHaqm1ovYYvR2G54oam/output/",
"context" : "",
"latestImg" : null,
"id" : "8JWGHaqm1ovYYvR2G54oam",
"steps" : [
{
"beforeImg" : null,
"afterImg" : "0-TEST.log.info-endin-vdFCPq3bWNfBtnDeoZLX49.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
""
],
"description" : "[start of test]",
"currentTab" : 0,
"title" : "",
"viewportHeight" : 876,
"url" : "data:,",
"mode" : "fetch",
"file" : null,
"logLevel" : "normal",
"arg" : [
"[start of test]"
],
"stepNum" : 1,
"cmd" : "TEST.log.info",
"time" : 0,
"idx" : 0,
"status" : "success",
"timestamp" : 1647175971720
},
{
"beforeImg" : null,
"afterImg" : "1-goTo-endin-aNx1bUCwdk3MtYJ8W27sfS.png",
"runStack" : [
{
"file" : "country-test.test.js",
"line" : "14",
"col" : "3"
}
],
"viewportWidth" : 1272,
"tabs" : [
"Google"
],
"description" : "I go to \"https://google.com/\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"https://google.com/",
"{\"newTab\":false}"
],
"stepNum" : 2,
"cmd" : "goTo",
"time" : 1.727,
"idx" : 1,
"return" : true,
"status" : "success",
"timestamp" : 1647175972152
},
{
"beforeImg" : null,
"afterImg" : "2-see-endin-2MXwPyQTmWF5duK4Cs3qh8.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
"Google"
],
"description" : "I see \"I Agree\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "fetch",
"file" : "country-test.test.js",
"logLevel" : "info",
"arg" : [
"I Agree",
"{\"label\":null,\"silent\":false,\"signpost\":false,\"seeNext\":false}"
],
"stepNum" : 3,
"cmd" : "see",
"time" : 0.218,
"idx" : 2,
"return" : true,
"status" : "success",
"timestamp" : 1647175974342
},
{
"beforeImg" : null,
"beforeActionImg" : "3-click-beforeAction-evu1ocLr97NU5RWtHkD43w.png",
"afterImg" : null,
"runStack" : null,
"viewportWidth" : 1272,
"targetY" : 726.5,
"tabs" : [
"Google"
],
"targetX" : 911.40625,
"description" : "I click (5, 5) from \"I agree\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "fetch",
"file" : "country-test.test.js",
"logLevel" : "info",
"arg" : [
"I agree",
"{\"label\":null}"
],
"stepNum" : 4,
"cmd" : "click",
"time" : 0.006,
"idx" : 3,
"return" : true,
"status" : "success",
"timestamp" : 1647175975030
},
{
"beforeImg" : null,
"afterImg" : "4-fillField-endin-48ByNn2vtToMhYp9GQ3Vqg.png",
"runStack" : null,
"viewportWidth" : 1272,
"targetY" : 398,
"tabs" : [
"Google"
],
"targetX" : 635,
"description" : "I fill \"Search\": \"whats my ip\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"Search",
"whats my ip",
"{}"
],
"stepNum" : 5,
"cmd" : "fillField",
"time" : 0.799,
"idx" : 4,
"return" : true,
"status" : "success",
"timestamp" : 1647175977521
},
{
"beforeImg" : null,
"afterImg" : "5-press-endin-9FCRy1SQevJk5h6GxcqMAB.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
"whats my ip - Google Search"
],
"description" : "I press \"Enter\"",
"currentTab" : 0,
"title" : "whats my ip - Google Search",
"viewportHeight" : 876,
"url" : "https://www.google.com/search?q=whats+my+ip&source=hp&ei=PektYszXMqGAhbIP8IGMyAo&iflsig=AHkkrS4AAAAAYi33TaZjcraat95cm8XJXDNlj3Kd9OQ7&ved=0ahUKEwiM6u7hkMP2AhUhQEEAHfAAA6kQ4dUDCAk&uact=5&oq=whats+my+ip&gs_lcp=Cgdnd3Mtd2l6EAMyCAgAEIAEELEDMgUIABCABDIKCAAQgAQQsQMQCjIFCAAQgAQyBQgAEIAEMgcIABCABBAKMgUIABCABDIHCAAQgAQQCjIFCAAQgAQyBQgAEIAEOg4IABCPARDqAhCMAxDlAjoOCC4QjwEQ6gIQjAMQ5QI6CwguEIAEELEDEIMBOgsIABCABBCxAxCDAToICAAQsQMQgwE6DgguEIAEELEDEMcBEKMCOgsILhCABBDHARDRAzoLCC4QgAQQxwEQowI6DggAEIAEELEDEIMBEMkDOgUIABCSAzoHCC4QgAQQClBEWPQEYPMIaAFwAHgAgAFiiAH0BpIBAjExmAEAoAEBsAEK&sclient=gws-wiz",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"Enter"
],
"stepNum" : 6,
"cmd" : "press",
"time" : 0.623,
"idx" : 5,
"status" : "success",
"timestamp" : 1647175978736
},
{
"beforeImg" : null,
"afterImg" : "6-goTo-endin-i7QZ6RmUqYC2av8EfcuBT4.png",
"runStack" : [
{
"file" : "country-test.test.js",
"line" : "27",
"col" : "3"
}
],
"viewportWidth" : 1272,
"tabs" : [
"Google"
],
"description" : "I go to \"https://google.com/\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"https://google.com/",
"{\"newTab\":false}"
],
"stepNum" : 7,
"cmd" : "goTo",
"time" : 1.654,
"idx" : 6,
"return" : true,
"status" : "success",
"timestamp" : 1647175981322
},
{
"beforeImg" : null,
"afterImg" : "7-fillField-endin-cvrQVgAP3GKHwtSbkxL8em.png",
"runStack" : null,
"viewportWidth" : 1272,
"targetY" : 398,
"tabs" : [
"Google"
],
"targetX" : 635,
"description" : "I fill \"Search\": \"where am i\"",
"currentTab" : 0,
"title" : "Google",
"viewportHeight" : 876,
"url" : "https://www.google.com/",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"Search",
"where am i",
"{}"
],
"stepNum" : 8,
"cmd" : "fillField",
"time" : 0.872,
"idx" : 7,
"return" : true,
"status" : "success",
"timestamp" : 1647175983385
},
{
"beforeImg" : null,
"afterImg" : "8-press-endin-jkbhyvDxZ8Er2FiapW7qnc.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
"where am i - Google Search"
],
"description" : "I press \"Enter\"",
"currentTab" : 0,
"title" : "where am i - Google Search",
"viewportHeight" : 876,
"url" : "https://www.google.com/search?q=where+am+i&source=hp&ei=RuktYuOjK9GT8gLTvLf4AQ&iflsig=AHkkrS4AAAAAYi33VtaRCLI-fy7QWALHpyABBVy8Z8JW&ved=0ahUKEwjj3ozmkMP2AhXRiVwKHVPeDR8Q4dUDCAk&uact=5&oq=where+am+i&gs_lcp=Cgdnd3Mtd2l6EAMyCAgAEIAEELEDMgUIABCABDIFCAAQgAQyBQgAEIAEMgUIABCABDIFCAAQgAQyBQgAEIAEMggILhCABBDUAjIICAAQgAQQyQMyBQgAEIAEOg4IABCPARDqAhCMAxDlAjoOCC4QjwEQ6gIQjAMQ5QI6CwguEIAEELEDEIMBOgsIABCABBCxAxCDAToICAAQsQMQgwE6DgguEIAEELEDEMcBEKMCOgsILhCABBDHARDRAzoLCC4QgAQQxwEQowI6CwguEIAEEMcBEK8BUEZYsgRgtAhoAXAAeACAAWOIAbcGkgECMTCYAQCgAQGwAQo&sclient=gws-wiz",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"Enter"
],
"stepNum" : 9,
"cmd" : "press",
"time" : 0.708,
"idx" : 8,
"status" : "success",
"timestamp" : 1647175984676
},
{
"beforeImg" : null,
"afterImg" : "9-goTo-endin-jiMD2J3kTboa7L9UdrGwhP.png",
"runStack" : [
{
"file" : "country-test.test.js",
"line" : "39",
"col" : "4"
}
],
"viewportWidth" : 1272,
"tabs" : [
"IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools"
],
"description" : "I go to \"https://tools.keycdn.com/geo\"",
"currentTab" : 0,
"title" : "IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools",
"viewportHeight" : 876,
"url" : "https://tools.keycdn.com/geo",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"https://tools.keycdn.com/geo",
"{\"newTab\":false}"
],
"stepNum" : 10,
"cmd" : "goTo",
"time" : 3.009,
"idx" : 9,
"return" : true,
"status" : "success",
"timestamp" : 1647175987416
},
{
"beforeImg" : null,
"afterImg" : "10-see-endin-3HucXLMDKm8Tg41PNRwsqZ.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
"IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools"
],
"description" : "I see \"United Kingdom\"",
"currentTab" : 0,
"title" : "IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools",
"viewportHeight" : 876,
"url" : "https://tools.keycdn.com/geo",
"mode" : "warn",
"file" : "country-test.test.js",
"logLevel" : "normal",
"arg" : [
"United Kingdom",
"{\"label\":null,\"silent\":false,\"signpost\":false,\"seeNext\":false}"
],
"stepNum" : 11,
"cmd" : "see",
"time" : 0.211,
"idx" : 10,
"return" : true,
"status" : "success",
"timestamp" : 1647175990973
},
{
"beforeImg" : null,
"afterImg" : "11-TEST.log.info-endin-P4QCrHFiu1TYhL9kBpZXwW.png",
"runStack" : null,
"viewportWidth" : 1272,
"tabs" : [
"IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools"
],
"description" : "[end of test]",
"currentTab" : 0,
"title" : "IP Location Finder - IP Lookup With Detailed Geolocation Data | KeyCDN Tools",
"viewportHeight" : 876,
"url" : "https://tools.keycdn.com/geo",
"mode" : "fetch",
"file" : null,
"logLevel" : "normal",
"arg" : [
"[end of test]"
],
"stepNum" : 12,
"final" : true,
"cmd" : "TEST.log.info",
"time" : 0.001,
"idx" : 11,
"status" : "success",
"timestamp" : 1647175991587
}
],
"integrations" : { },
"testEngineVersion" : "e3e246497dcb6074364b0e0345ca273c4cdb44bc",
"status" : "success"
},
"createdAt" : 1647175995,
"jobID" : null,
"webhookSent" : 1,
"browser" : "chrome",
"environmentDataID" : null,
"createdTime" : 1647175995,
"id" : "8JWGHaqm1ovYYvR2G54oam",
"runTime" : 1647175995,
"abandoned" : false,
"projectID" : "SdACNUP3dhtHhBn7aVkwtP",
"updatedAt" : 1647176057,
"testRunRequestID" : "SfNLP8HaUpCxGVNDq6Fj29",
"_oid" : "8JWGHaqm1ovYYvR2G54oam",
"filePath" : "country-test.test.js",
"userAgent" : null,
"ownerID" : null,
"testRunSetID" : null,
"timeTaken" : 0,
"emailSent" : 1,
"name" : "country-test",
"environmentDataId" : null,
"region" : "default",
"status" : "success"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment