Chilkat Online Tools

PowerBuilder / Datadog API Collection / Create a browser test

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_Json
oleobject loo_Resp
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_Description
string ls_StrVal
integer li_Day
string ls_From
string ls_V_to
integer li_AllowFailure
integer li_IsCritical
integer li_NoScreenshot
integer li_Timeout
integer li_Allow_insecure
string ls_Password
string ls_Username
string ls_V_Type
string ls_Body
string ls_BodyType
string ls_CallType
string ls_Content
string ls_Filename
string ls_UpdatedAt
string ls_KeyContent
string ls_KeyFilename
string ls_KeyUpdatedAt
string ls_CompressedJsonDescriptor
string ls_DnsServer
integer li_DnsServerPort
integer li_Follow_redirects
string ls_Nulla_735
string ls_Nulla_b_
string ls_Host
string ls_Message
string ls_Eub0d
string ls_Exercitation1
string ls_Method
integer li_NoSavingResponseBody
integer li_NumberOfPackets
integer li_PersistCookies
integer li_Port
string ls_V_Url
string ls_Ipsum83a
string ls_Irure_8
string ls_Esse67f
string ls_Servername
string ls_Service
integer li_ShouldTrackHops
string ls_Timeout
string ls_RequestUrl
string ls_SetCookie
string ls_Name
integer li_Accept_self_signed
integer li_OptionsAllow_insecure
integer li_CheckCertificateRevocation
string ls_ExecutionRule
integer li_DisableCors
integer li_DisableCsp
integer li_OptionsFollow_redirects
string ls_HttpVersion
integer li_IgnoreServerCertificateError
integer li_InitialNavigationTimeout
integer li_Min_failure_duration
integer li_Min_location_failed
string ls_Monitor_name
integer li_Renotify_interval
integer li_Monitor_priority
integer li_NoScreenshot
integer li_Count
string ls_Interval
string ls_ApplicationId
integer li_ClientTokenId
integer li_IsEnabled
string ls_Timezone
integer li_Tick_every
string ls_V_type
string ls_Message
integer li_Monitor_id
string ls_Public_id
string ls_Status
integer i
integer li_Count_i

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Http = create oleobject
li_rc = loo_Http.ConnectToNewObject("Chilkat_9_5_0.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

// Use this online tool to generate code from sample JSON: Generate Code to Create JSON

// The following JSON is sent in the request body.

// {
//   "config": {
//     "request": {
//       "allow_insecure": false,
//       "basicAuth": {
//         "password": "PaSSw0RD!",
//         "username": "my_username",
//         "type": "web"
//       },
//       "body": "dolore",
//       "bodyType": "text/plain",
//       "callType": "unary",
//       "certificate": {
//         "cert": {
//           "content": "dolor mollit id eu",
//           "filename": "enim ",
//           "updatedAt": "ad labore d"
//         },
//         "key": {
//           "content": "anim ut consequat eiusmod",
//           "filename": "non consectetur voluptate",
//           "updatedAt": "proi"
//         }
//       },
//       "compressedJsonDescriptor": "velit cillum",
//       "dnsServer": "sint irure sit commodo",
//       "dnsServerPort": 63263,
//       "follow_redirects": true,
//       "headers": {
//         "nulla_735": "esse enim velit",
//         "nulla_b_": "laboris ut"
//       },
//       "host": "aliquip nostrud",
//       "message": "Lorem laboris",
//       "metadata": {
//         "eub0d": "sint",
//         "exercitation1": "ut Duis"
//       },
//       "method": "dolo",
//       "noSavingResponseBody": false,
//       "numberOfPackets": 1,
//       "persistCookies": true,
//       "port": 82704033,
//       "proxy": {
//         "url": "https://example.com",
//         "headers": {
//           "ipsum83a": "ea laborum",
//           "irure_8": "dolor eiusmod aliqua ",
//           "esse67f": "veniam qui in"
//         }
//       },
//       "query": {},
//       "servername": "Duis sed minim quis",
//       "service": "Greeter",
//       "shouldTrackHops": false,
//       "timeout": 48414705.45711616,
//       "url": "https://example.com"
//     },
//     "configVariables": [
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       },
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       }
//     ],
//     "setCookie": "anim",
//     "variables": [
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       },
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       }
//     ]
//   },
//   "locations": [
//     "aws:eu-west-3"
//   ],
//   "name": "Example test name",
//   "options": {
//     "accept_self_signed": true,
//     "allow_insecure": false,
//     "checkCertificateRevocation": false,
//     "ci": {
//       "executionRule": "skipped"
//     },
//     "device_ids": [
//       "laptop_large",
//       "laptop_large"
//     ],
//     "disableCors": true,
//     "disableCsp": false,
//     "follow_redirects": true,
//     "httpVersion": "http2",
//     "ignoreServerCertificateError": false,
//     "initialNavigationTimeout": -93160400,
//     "min_failure_duration": 9338007,
//     "min_location_failed": -22553383,
//     "monitor_name": "nostrud dolor ullamco",
//     "monitor_options": {
//       "renotify_interval": 261
//     },
//     "monitor_priority": 3,
//     "noScreenshot": false,
//     "restricted_roles": [
//       "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
//     ],
//     "retry": {
//       "count": 67368482,
//       "interval": 59042710.53770983
//     },
//     "rumSettings": {
//       "applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
//       "clientTokenId": 12345,
//       "isEnabled": true
//     },
//     "scheduling": {
//       "timeframes": [
//         {
//           "day": 1,
//           "from": "07:00",
//           "to": "16:00"
//         },
//         {
//           "day": 3,
//           "from": "07:00",
//           "to": "16:00"
//         }
//       ],
//       "timezone": "America/New_York"
//     },
//     "tick_every": 427884
//   },
//   "type": "browser",
//   "message": "",
//   "monitor_id": -23388126,
//   "public_id": "cupidatat ipsum",
//   "status": "live",
//   "steps": [
//     {
//       "allowFailure": false,
//       "isCritical": true,
//       "name": "proident dolore ex",
//       "noScreenshot": true,
//       "params": {},
//       "timeout": 70509439,
//       "type": "assertElementContent"
//     },
//     {
//       "allowFailure": true,
//       "isCritical": true,
//       "name": "adipisicing volupt",
//       "noScreenshot": false,
//       "params": {},
//       "timeout": -22942790,
//       "type": "assertElementContent"
//     }
//   ],
//   "tags": [
//     "env:prod"
//   ]
// }

loo_Json = create oleobject
li_rc = loo_Json.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_Json.UpdateBool("config.request.allow_insecure",0)
loo_Json.UpdateString("config.request.basicAuth.password","PaSSw0RD!")
loo_Json.UpdateString("config.request.basicAuth.username","my_username")
loo_Json.UpdateString("config.request.basicAuth.type","web")
loo_Json.UpdateString("config.request.body","dolore")
loo_Json.UpdateString("config.request.bodyType","text/plain")
loo_Json.UpdateString("config.request.callType","unary")
loo_Json.UpdateString("config.request.certificate.cert.content","dolor mollit id eu")
loo_Json.UpdateString("config.request.certificate.cert.filename","enim ")
loo_Json.UpdateString("config.request.certificate.cert.updatedAt","ad labore d")
loo_Json.UpdateString("config.request.certificate.key.content","anim ut consequat eiusmod")
loo_Json.UpdateString("config.request.certificate.key.filename","non consectetur voluptate")
loo_Json.UpdateString("config.request.certificate.key.updatedAt","proi")
loo_Json.UpdateString("config.request.compressedJsonDescriptor","velit cillum")
loo_Json.UpdateString("config.request.dnsServer","sint irure sit commodo")
loo_Json.UpdateInt("config.request.dnsServerPort",63263)
loo_Json.UpdateBool("config.request.follow_redirects",1)
loo_Json.UpdateString("config.request.headers.nulla_735","esse enim velit")
loo_Json.UpdateString("config.request.headers.nulla_b_","laboris ut")
loo_Json.UpdateString("config.request.host","aliquip nostrud")
loo_Json.UpdateString("config.request.message","Lorem laboris")
loo_Json.UpdateString("config.request.metadata.eub0d","sint")
loo_Json.UpdateString("config.request.metadata.exercitation1","ut Duis")
loo_Json.UpdateString("config.request.method","dolo")
loo_Json.UpdateBool("config.request.noSavingResponseBody",0)
loo_Json.UpdateInt("config.request.numberOfPackets",1)
loo_Json.UpdateBool("config.request.persistCookies",1)
loo_Json.UpdateInt("config.request.port",82704033)
loo_Json.UpdateString("config.request.proxy.url","https://example.com")
loo_Json.UpdateString("config.request.proxy.headers.ipsum83a","ea laborum")
loo_Json.UpdateString("config.request.proxy.headers.irure_8","dolor eiusmod aliqua ")
loo_Json.UpdateString("config.request.proxy.headers.esse67f","veniam qui in")
loo_Json.UpdateNewObject("config.request.query")
loo_Json.UpdateString("config.request.servername","Duis sed minim quis")
loo_Json.UpdateString("config.request.service","Greeter")
loo_Json.UpdateBool("config.request.shouldTrackHops",0)
loo_Json.UpdateNumber("config.request.timeout","48414705.45711616")
loo_Json.UpdateString("config.request.url","https://example.com")
loo_Json.UpdateString("config.configVariables[0].description","Example for the variable.")
loo_Json.UpdateString("config.configVariables[0].type","string")
loo_Json.UpdateString("config.configVariables[1].description","Example for the variable.")
loo_Json.UpdateString("config.configVariables[1].type","string")
loo_Json.UpdateString("config.setCookie","anim")
loo_Json.UpdateString("config.variables[0].description","Example for the variable.")
loo_Json.UpdateString("config.variables[0].type","string")
loo_Json.UpdateString("config.variables[1].description","Example for the variable.")
loo_Json.UpdateString("config.variables[1].type","string")
loo_Json.UpdateString("locations[0]","aws:eu-west-3")
loo_Json.UpdateString("name","Example test name")
loo_Json.UpdateBool("options.accept_self_signed",1)
loo_Json.UpdateBool("options.allow_insecure",0)
loo_Json.UpdateBool("options.checkCertificateRevocation",0)
loo_Json.UpdateString("options.ci.executionRule","skipped")
loo_Json.UpdateString("options.device_ids[0]","laptop_large")
loo_Json.UpdateString("options.device_ids[1]","laptop_large")
loo_Json.UpdateBool("options.disableCors",1)
loo_Json.UpdateBool("options.disableCsp",0)
loo_Json.UpdateBool("options.follow_redirects",1)
loo_Json.UpdateString("options.httpVersion","http2")
loo_Json.UpdateBool("options.ignoreServerCertificateError",0)
loo_Json.UpdateInt("options.initialNavigationTimeout",-93160400)
loo_Json.UpdateInt("options.min_failure_duration",9338007)
loo_Json.UpdateInt("options.min_location_failed",-22553383)
loo_Json.UpdateString("options.monitor_name","nostrud dolor ullamco")
loo_Json.UpdateInt("options.monitor_options.renotify_interval",261)
loo_Json.UpdateInt("options.monitor_priority",3)
loo_Json.UpdateBool("options.noScreenshot",0)
loo_Json.UpdateString("options.restricted_roles[0]","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
loo_Json.UpdateInt("options.retry.count",67368482)
loo_Json.UpdateNumber("options.retry.interval","59042710.53770983")
loo_Json.UpdateString("options.rumSettings.applicationId","xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")
loo_Json.UpdateInt("options.rumSettings.clientTokenId",12345)
loo_Json.UpdateBool("options.rumSettings.isEnabled",1)
loo_Json.UpdateInt("options.scheduling.timeframes[0].day",1)
loo_Json.UpdateString("options.scheduling.timeframes[0].from","07:00")
loo_Json.UpdateString("options.scheduling.timeframes[0].to","16:00")
loo_Json.UpdateInt("options.scheduling.timeframes[1].day",3)
loo_Json.UpdateString("options.scheduling.timeframes[1].from","07:00")
loo_Json.UpdateString("options.scheduling.timeframes[1].to","16:00")
loo_Json.UpdateString("options.scheduling.timezone","America/New_York")
loo_Json.UpdateInt("options.tick_every",427884)
loo_Json.UpdateString("type","browser")
loo_Json.UpdateString("message","")
loo_Json.UpdateInt("monitor_id",-23388126)
loo_Json.UpdateString("public_id","cupidatat ipsum")
loo_Json.UpdateString("status","live")
loo_Json.UpdateBool("steps[0].allowFailure",0)
loo_Json.UpdateBool("steps[0].isCritical",1)
loo_Json.UpdateString("steps[0].name","proident dolore ex")
loo_Json.UpdateBool("steps[0].noScreenshot",1)
loo_Json.UpdateNewObject("steps[0].params")
loo_Json.UpdateInt("steps[0].timeout",70509439)
loo_Json.UpdateString("steps[0].type","assertElementContent")
loo_Json.UpdateBool("steps[1].allowFailure",1)
loo_Json.UpdateBool("steps[1].isCritical",1)
loo_Json.UpdateString("steps[1].name","adipisicing volupt")
loo_Json.UpdateBool("steps[1].noScreenshot",0)
loo_Json.UpdateNewObject("steps[1].params")
loo_Json.UpdateInt("steps[1].timeout",-22942790)
loo_Json.UpdateString("steps[1].type","assertElementContent")
loo_Json.UpdateString("tags[0]","env:prod")

loo_Http.SetRequestHeader("Content-Type","application/json")
loo_Http.SetRequestHeader("Accept","application/json")

loo_Resp = loo_Http.PostJson3("https://api.app.ddog-gov.com/api/v1/synthetics/tests/browser","application/json",loo_Json)
if loo_Http.LastMethodSuccess = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_Json
    return
end if

loo_SbResponseBody = create oleobject
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat_9_5_0.StringBuilder")

loo_Resp.GetBodySb(loo_SbResponseBody)

loo_JResp = create oleobject
li_rc = loo_JResp.ConnectToNewObject("Chilkat_9_5_0.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Resp.StatusCode
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Resp.Header
    Write-Debug "Failed."
    destroy loo_Resp
    destroy loo_Http
    destroy loo_Json
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

destroy loo_Resp

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "config": {
//     "request": {
//       "allow_insecure": false,
//       "basicAuth": {
//         "password": "PaSSw0RD!",
//         "username": "my_username",
//         "type": "web"
//       },
//       "body": "dolore",
//       "bodyType": "text/plain",
//       "callType": "unary",
//       "certificate": {
//         "cert": {
//           "content": "dolor mollit id eu",
//           "filename": "enim ",
//           "updatedAt": "ad labore d"
//         },
//         "key": {
//           "content": "anim ut consequat eiusmod",
//           "filename": "non consectetur voluptate",
//           "updatedAt": "proi"
//         }
//       },
//       "compressedJsonDescriptor": "velit cillum",
//       "dnsServer": "sint irure sit commodo",
//       "dnsServerPort": 63263,
//       "follow_redirects": true,
//       "headers": {
//         "nulla_735": "esse enim velit",
//         "nulla_b_": "laboris ut"
//       },
//       "host": "aliquip nostrud",
//       "message": "Lorem laboris",
//       "metadata": {
//         "eub0d": "sint",
//         "exercitation1": "ut Duis"
//       },
//       "method": "dolo",
//       "noSavingResponseBody": false,
//       "numberOfPackets": 1,
//       "persistCookies": true,
//       "port": 82704033,
//       "proxy": {
//         "url": "https://example.com",
//         "headers": {
//           "ipsum83a": "ea laborum",
//           "irure_8": "dolor eiusmod aliqua ",
//           "esse67f": "veniam qui in"
//         }
//       },
//       "query": {},
//       "servername": "Duis sed minim quis",
//       "service": "Greeter",
//       "shouldTrackHops": false,
//       "timeout": 48414705.45711616,
//       "url": "https://example.com"
//     },
//     "configVariables": [
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       },
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       }
//     ],
//     "setCookie": "anim",
//     "variables": [
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       },
//       {
//         "description": "Example for the variable.",
//         "type": "string"
//       }
//     ]
//   },
//   "locations": [
//     "aws:eu-west-3"
//   ],
//   "name": "Example test name",
//   "options": {
//     "accept_self_signed": true,
//     "allow_insecure": false,
//     "checkCertificateRevocation": false,
//     "ci": {
//       "executionRule": "skipped"
//     },
//     "device_ids": [
//       "laptop_large",
//       "laptop_large"
//     ],
//     "disableCors": true,
//     "disableCsp": false,
//     "follow_redirects": true,
//     "httpVersion": "http2",
//     "ignoreServerCertificateError": false,
//     "initialNavigationTimeout": -93160400,
//     "min_failure_duration": 9338007,
//     "min_location_failed": -22553383,
//     "monitor_name": "nostrud dolor ullamco",
//     "monitor_options": {
//       "renotify_interval": 261
//     },
//     "monitor_priority": 3,
//     "noScreenshot": false,
//     "restricted_roles": [
//       "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
//     ],
//     "retry": {
//       "count": 67368482,
//       "interval": 59042710.53770983
//     },
//     "rumSettings": {
//       "applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
//       "clientTokenId": 12345,
//       "isEnabled": true
//     },
//     "scheduling": {
//       "timeframes": [
//         {
//           "day": 1,
//           "from": "07:00",
//           "to": "16:00"
//         },
//         {
//           "day": 3,
//           "from": "07:00",
//           "to": "16:00"
//         }
//       ],
//       "timezone": "America/New_York"
//     },
//     "tick_every": 427884
//   },
//   "type": "browser",
//   "message": "",
//   "monitor_id": -23388126,
//   "public_id": "cupidatat ipsum",
//   "status": "live",
//   "steps": [
//     {
//       "allowFailure": false,
//       "isCritical": true,
//       "name": "proident dolore ex",
//       "noScreenshot": true,
//       "params": {},
//       "timeout": 70509439,
//       "type": "assertElementContent"
//     },
//     {
//       "allowFailure": true,
//       "isCritical": true,
//       "name": "adipisicing volupt",
//       "noScreenshot": false,
//       "params": {},
//       "timeout": -22942790,
//       "type": "assertElementContent"
//     }
//   ],
//   "tags": [
//     "env:prod"
//   ]
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

li_Allow_insecure = loo_JResp.BoolOf("config.request.allow_insecure")
ls_Password = loo_JResp.StringOf("config.request.basicAuth.password")
ls_Username = loo_JResp.StringOf("config.request.basicAuth.username")
ls_V_Type = loo_JResp.StringOf("config.request.basicAuth.type")
ls_Body = loo_JResp.StringOf("config.request.body")
ls_BodyType = loo_JResp.StringOf("config.request.bodyType")
ls_CallType = loo_JResp.StringOf("config.request.callType")
ls_Content = loo_JResp.StringOf("config.request.certificate.cert.content")
ls_Filename = loo_JResp.StringOf("config.request.certificate.cert.filename")
ls_UpdatedAt = loo_JResp.StringOf("config.request.certificate.cert.updatedAt")
ls_KeyContent = loo_JResp.StringOf("config.request.certificate.key.content")
ls_KeyFilename = loo_JResp.StringOf("config.request.certificate.key.filename")
ls_KeyUpdatedAt = loo_JResp.StringOf("config.request.certificate.key.updatedAt")
ls_CompressedJsonDescriptor = loo_JResp.StringOf("config.request.compressedJsonDescriptor")
ls_DnsServer = loo_JResp.StringOf("config.request.dnsServer")
li_DnsServerPort = loo_JResp.IntOf("config.request.dnsServerPort")
li_Follow_redirects = loo_JResp.BoolOf("config.request.follow_redirects")
ls_Nulla_735 = loo_JResp.StringOf("config.request.headers.nulla_735")
ls_Nulla_b_ = loo_JResp.StringOf("config.request.headers.nulla_b_")
ls_Host = loo_JResp.StringOf("config.request.host")
ls_Message = loo_JResp.StringOf("config.request.message")
ls_Eub0d = loo_JResp.StringOf("config.request.metadata.eub0d")
ls_Exercitation1 = loo_JResp.StringOf("config.request.metadata.exercitation1")
ls_Method = loo_JResp.StringOf("config.request.method")
li_NoSavingResponseBody = loo_JResp.BoolOf("config.request.noSavingResponseBody")
li_NumberOfPackets = loo_JResp.IntOf("config.request.numberOfPackets")
li_PersistCookies = loo_JResp.BoolOf("config.request.persistCookies")
li_Port = loo_JResp.IntOf("config.request.port")
ls_V_Url = loo_JResp.StringOf("config.request.proxy.url")
ls_Ipsum83a = loo_JResp.StringOf("config.request.proxy.headers.ipsum83a")
ls_Irure_8 = loo_JResp.StringOf("config.request.proxy.headers.irure_8")
ls_Esse67f = loo_JResp.StringOf("config.request.proxy.headers.esse67f")
ls_Servername = loo_JResp.StringOf("config.request.servername")
ls_Service = loo_JResp.StringOf("config.request.service")
li_ShouldTrackHops = loo_JResp.BoolOf("config.request.shouldTrackHops")
ls_Timeout = loo_JResp.StringOf("config.request.timeout")
ls_RequestUrl = loo_JResp.StringOf("config.request.url")
ls_SetCookie = loo_JResp.StringOf("config.setCookie")
ls_Name = loo_JResp.StringOf("name")
li_Accept_self_signed = loo_JResp.BoolOf("options.accept_self_signed")
li_OptionsAllow_insecure = loo_JResp.BoolOf("options.allow_insecure")
li_CheckCertificateRevocation = loo_JResp.BoolOf("options.checkCertificateRevocation")
ls_ExecutionRule = loo_JResp.StringOf("options.ci.executionRule")
li_DisableCors = loo_JResp.BoolOf("options.disableCors")
li_DisableCsp = loo_JResp.BoolOf("options.disableCsp")
li_OptionsFollow_redirects = loo_JResp.BoolOf("options.follow_redirects")
ls_HttpVersion = loo_JResp.StringOf("options.httpVersion")
li_IgnoreServerCertificateError = loo_JResp.BoolOf("options.ignoreServerCertificateError")
li_InitialNavigationTimeout = loo_JResp.IntOf("options.initialNavigationTimeout")
li_Min_failure_duration = loo_JResp.IntOf("options.min_failure_duration")
li_Min_location_failed = loo_JResp.IntOf("options.min_location_failed")
ls_Monitor_name = loo_JResp.StringOf("options.monitor_name")
li_Renotify_interval = loo_JResp.IntOf("options.monitor_options.renotify_interval")
li_Monitor_priority = loo_JResp.IntOf("options.monitor_priority")
li_NoScreenshot = loo_JResp.BoolOf("options.noScreenshot")
li_Count = loo_JResp.IntOf("options.retry.count")
ls_Interval = loo_JResp.StringOf("options.retry.interval")
ls_ApplicationId = loo_JResp.StringOf("options.rumSettings.applicationId")
li_ClientTokenId = loo_JResp.IntOf("options.rumSettings.clientTokenId")
li_IsEnabled = loo_JResp.BoolOf("options.rumSettings.isEnabled")
ls_Timezone = loo_JResp.StringOf("options.scheduling.timezone")
li_Tick_every = loo_JResp.IntOf("options.tick_every")
ls_V_type = loo_JResp.StringOf("type")
ls_Message = loo_JResp.StringOf("message")
li_Monitor_id = loo_JResp.IntOf("monitor_id")
ls_Public_id = loo_JResp.StringOf("public_id")
ls_Status = loo_JResp.StringOf("status")
i = 0
li_Count_i = loo_JResp.SizeOfArray("config.configVariables")
do while i < li_Count_i
    loo_JResp.I = i
    ls_Description = loo_JResp.StringOf("config.configVariables[i].description")
    ls_V_type = loo_JResp.StringOf("config.configVariables[i].type")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("config.variables")
do while i < li_Count_i
    loo_JResp.I = i
    ls_Description = loo_JResp.StringOf("config.variables[i].description")
    ls_V_type = loo_JResp.StringOf("config.variables[i].type")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("locations")
do while i < li_Count_i
    loo_JResp.I = i
    ls_StrVal = loo_JResp.StringOf("locations[i]")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("options.device_ids")
do while i < li_Count_i
    loo_JResp.I = i
    ls_StrVal = loo_JResp.StringOf("options.device_ids[i]")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("options.restricted_roles")
do while i < li_Count_i
    loo_JResp.I = i
    ls_StrVal = loo_JResp.StringOf("options.restricted_roles[i]")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("options.scheduling.timeframes")
do while i < li_Count_i
    loo_JResp.I = i
    li_Day = loo_JResp.IntOf("options.scheduling.timeframes[i].day")
    ls_From = loo_JResp.StringOf("options.scheduling.timeframes[i].from")
    ls_V_to = loo_JResp.StringOf("options.scheduling.timeframes[i].to")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("steps")
do while i < li_Count_i
    loo_JResp.I = i
    li_AllowFailure = loo_JResp.BoolOf("steps[i].allowFailure")
    li_IsCritical = loo_JResp.BoolOf("steps[i].isCritical")
    ls_Name = loo_JResp.StringOf("steps[i].name")
    li_NoScreenshot = loo_JResp.BoolOf("steps[i].noScreenshot")
    li_Timeout = loo_JResp.IntOf("steps[i].timeout")
    ls_V_type = loo_JResp.StringOf("steps[i].type")
    i = i + 1
loop
i = 0
li_Count_i = loo_JResp.SizeOfArray("tags")
do while i < li_Count_i
    loo_JResp.I = i
    ls_StrVal = loo_JResp.StringOf("tags[i]")
    i = i + 1
loop


destroy loo_Http
destroy loo_Json
destroy loo_SbResponseBody
destroy loo_JResp

Curl Command

curl -X POST
	-H "Content-Type: application/json"
	-H "Accept: application/json"
	-d '{
  "config": {
    "request": {
      "allow_insecure": false,
      "basicAuth": {
        "password": "PaSSw0RD!",
        "username": "my_username",
        "type": "web"
      },
      "body": "dolore",
      "bodyType": "text/plain",
      "callType": "unary",
      "certificate": {
        "cert": {
          "content": "dolor mollit id eu",
          "filename": "enim ",
          "updatedAt": "ad labore d"
        },
        "key": {
          "content": "anim ut consequat eiusmod",
          "filename": "non consectetur voluptate",
          "updatedAt": "proi"
        }
      },
      "compressedJsonDescriptor": "velit cillum",
      "dnsServer": "sint irure sit commodo",
      "dnsServerPort": 63263,
      "follow_redirects": true,
      "headers": {
        "nulla_735": "esse enim velit",
        "nulla_b_": "laboris ut"
      },
      "host": "aliquip nostrud",
      "message": "Lorem laboris",
      "metadata": {
        "eub0d": "sint",
        "exercitation1": "ut Duis"
      },
      "method": "dolo",
      "noSavingResponseBody": false,
      "numberOfPackets": 1,
      "persistCookies": true,
      "port": 82704033,
      "proxy": {
        "url": "https://example.com",
        "headers": {
          "ipsum83a": "ea laborum",
          "irure_8": "dolor eiusmod aliqua ",
          "esse67f": "veniam qui in"
        }
      },
      "query": {},
      "servername": "Duis sed minim quis",
      "service": "Greeter",
      "shouldTrackHops": false,
      "timeout": 48414705.45711616,
      "url": "https://example.com"
    },
    "configVariables": [
      {
        "description": "Example for the variable.",
        "type": "string"
      },
      {
        "description": "Example for the variable.",
        "type": "string"
      }
    ],
    "setCookie": "anim",
    "variables": [
      {
        "description": "Example for the variable.",
        "type": "string"
      },
      {
        "description": "Example for the variable.",
        "type": "string"
      }
    ]
  },
  "locations": [
    "aws:eu-west-3"
  ],
  "name": "Example test name",
  "options": {
    "accept_self_signed": true,
    "allow_insecure": false,
    "checkCertificateRevocation": false,
    "ci": {
      "executionRule": "skipped"
    },
    "device_ids": [
      "laptop_large",
      "laptop_large"
    ],
    "disableCors": true,
    "disableCsp": false,
    "follow_redirects": true,
    "httpVersion": "http2",
    "ignoreServerCertificateError": false,
    "initialNavigationTimeout": -93160400,
    "min_failure_duration": 9338007,
    "min_location_failed": -22553383,
    "monitor_name": "nostrud dolor ullamco",
    "monitor_options": {
      "renotify_interval": 261
    },
    "monitor_priority": 3,
    "noScreenshot": false,
    "restricted_roles": [
      "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
    ],
    "retry": {
      "count": 67368482,
      "interval": 59042710.53770983
    },
    "rumSettings": {
      "applicationId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "clientTokenId": 12345,
      "isEnabled": true
    },
    "scheduling": {
      "timeframes": [
        {
          "day": 1,
          "from": "07:00",
          "to": "16:00"
        },
        {
          "day": 3,
          "from": "07:00",
          "to": "16:00"
        }
      ],
      "timezone": "America/New_York"
    },
    "tick_every": 427884
  },
  "type": "browser",
  "message": "",
  "monitor_id": -23388126,
  "public_id": "cupidatat ipsum",
  "status": "live",
  "steps": [
    {
      "allowFailure": false,
      "isCritical": true,
      "name": "proident dolore ex",
      "noScreenshot": true,
      "params": {},
      "timeout": 70509439,
      "type": "assertElementContent"
    },
    {
      "allowFailure": true,
      "isCritical": true,
      "name": "adipisicing volupt",
      "noScreenshot": false,
      "params": {},
      "timeout": -22942790,
      "type": "assertElementContent"
    }
  ],
  "tags": [
    "env:prod"
  ]
}'
https://api.app.ddog-gov.com/api/v1/synthetics/tests/browser

Postman Collection Item JSON

{
  "name": "Create a browser test",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/json"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "raw",
      "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
      "options": {
        "raw": {
          "headerFamily": "json",
          "language": "json"
        }
      }
    },
    "url": {
      "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "v1",
        "synthetics",
        "tests",
        "browser"
      ]
    },
    "description": "Create a Synthetic browser test."
  },
  "response": [
    {
      "name": "OK - Returns the created test details.",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "synthetics",
            "tests",
            "browser"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}"
    },
    {
      "name": "- JSON format is wrong\n- Creation failed",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "synthetics",
            "tests",
            "browser"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Test quota is reached",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "synthetics",
            "tests",
            "browser"
          ]
        }
      },
      "status": "Payment Required",
      "code": 402,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Forbidden",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "synthetics",
            "tests",
            "browser"
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    },
    {
      "name": "Too many requests",
      "originalRequest": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          },
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "description": "Added as a part of security scheme: apikey",
            "key": "DD-API-KEY",
            "value": "<API Key>"
          }
        ],
        "body": {
          "mode": "raw",
          "raw": "{\n  \"config\": {\n    \"request\": {\n      \"allow_insecure\": false,\n      \"basicAuth\": {\n        \"password\": \"PaSSw0RD!\",\n        \"username\": \"my_username\",\n        \"type\": \"web\"\n      },\n      \"body\": \"dolore\",\n      \"bodyType\": \"text/plain\",\n      \"callType\": \"unary\",\n      \"certificate\": {\n        \"cert\": {\n          \"content\": \"dolor mollit id eu\",\n          \"filename\": \"enim \",\n          \"updatedAt\": \"ad labore d\"\n        },\n        \"key\": {\n          \"content\": \"anim ut consequat eiusmod\",\n          \"filename\": \"non consectetur voluptate\",\n          \"updatedAt\": \"proi\"\n        }\n      },\n      \"compressedJsonDescriptor\": \"velit cillum\",\n      \"dnsServer\": \"sint irure sit commodo\",\n      \"dnsServerPort\": 63263,\n      \"follow_redirects\": true,\n      \"headers\": {\n        \"nulla_735\": \"esse enim velit\",\n        \"nulla_b_\": \"laboris ut\"\n      },\n      \"host\": \"aliquip nostrud\",\n      \"message\": \"Lorem laboris\",\n      \"metadata\": {\n        \"eub0d\": \"sint\",\n        \"exercitation1\": \"ut Duis\"\n      },\n      \"method\": \"dolo\",\n      \"noSavingResponseBody\": false,\n      \"numberOfPackets\": 1,\n      \"persistCookies\": true,\n      \"port\": 82704033,\n      \"proxy\": {\n        \"url\": \"https://example.com\",\n        \"headers\": {\n          \"ipsum83a\": \"ea laborum\",\n          \"irure_8\": \"dolor eiusmod aliqua \",\n          \"esse67f\": \"veniam qui in\"\n        }\n      },\n      \"query\": {},\n      \"servername\": \"Duis sed minim quis\",\n      \"service\": \"Greeter\",\n      \"shouldTrackHops\": false,\n      \"timeout\": 48414705.45711616,\n      \"url\": \"https://example.com\"\n    },\n    \"configVariables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ],\n    \"setCookie\": \"anim\",\n    \"variables\": [\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      },\n      {\n        \"description\": \"Example for the variable.\",\n        \"type\": \"string\"\n      }\n    ]\n  },\n  \"locations\": [\n    \"aws:eu-west-3\"\n  ],\n  \"name\": \"Example test name\",\n  \"options\": {\n    \"accept_self_signed\": true,\n    \"allow_insecure\": false,\n    \"checkCertificateRevocation\": false,\n    \"ci\": {\n      \"executionRule\": \"skipped\"\n    },\n    \"device_ids\": [\n      \"laptop_large\",\n      \"laptop_large\"\n    ],\n    \"disableCors\": true,\n    \"disableCsp\": false,\n    \"follow_redirects\": true,\n    \"httpVersion\": \"http2\",\n    \"ignoreServerCertificateError\": false,\n    \"initialNavigationTimeout\": -93160400,\n    \"min_failure_duration\": 9338007,\n    \"min_location_failed\": -22553383,\n    \"monitor_name\": \"nostrud dolor ullamco\",\n    \"monitor_options\": {\n      \"renotify_interval\": 261\n    },\n    \"monitor_priority\": 3,\n    \"noScreenshot\": false,\n    \"restricted_roles\": [\n      \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n    ],\n    \"retry\": {\n      \"count\": 67368482,\n      \"interval\": 59042710.53770983\n    },\n    \"rumSettings\": {\n      \"applicationId\": \"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\",\n      \"clientTokenId\": 12345,\n      \"isEnabled\": true\n    },\n    \"scheduling\": {\n      \"timeframes\": [\n        {\n          \"day\": 1,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        },\n        {\n          \"day\": 3,\n          \"from\": \"07:00\",\n          \"to\": \"16:00\"\n        }\n      ],\n      \"timezone\": \"America/New_York\"\n    },\n    \"tick_every\": 427884\n  },\n  \"type\": \"browser\",\n  \"message\": \"\",\n  \"monitor_id\": -23388126,\n  \"public_id\": \"cupidatat ipsum\",\n  \"status\": \"live\",\n  \"steps\": [\n    {\n      \"allowFailure\": false,\n      \"isCritical\": true,\n      \"name\": \"proident dolore ex\",\n      \"noScreenshot\": true,\n      \"params\": {},\n      \"timeout\": 70509439,\n      \"type\": \"assertElementContent\"\n    },\n    {\n      \"allowFailure\": true,\n      \"isCritical\": true,\n      \"name\": \"adipisicing volupt\",\n      \"noScreenshot\": false,\n      \"params\": {},\n      \"timeout\": -22942790,\n      \"type\": \"assertElementContent\"\n    }\n  ],\n  \"tags\": [\n    \"env:prod\"\n  ]\n}",
          "options": {
            "raw": {
              "headerFamily": "json",
              "language": "json"
            }
          }
        },
        "url": {
          "raw": "{{baseUrl}}/api/v1/synthetics/tests/browser",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "v1",
            "synthetics",
            "tests",
            "browser"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n  \"errors\": [\n    \"Bad Request\",\n    \"Bad Request\"\n  ]\n}"
    }
  ]
}