Copy{
"web": {
"test": {
"createdDate": "2019-11-15 16:29:55",
"modifiedDate": "2019-11-15 16:31:11",
"createdBy": "ThousandEyes (support@thousandeyes.com)",
"modifiedBy": "ThousandEyes (support@thousandeyes.com)",
"enabled": 1,
"savedEvent": 0,
"testId": 1161561,
"testName": "Google.com Web Transaction",
"type": "web-transactions",
"interval": 600,
"url": "https://google.com",
"protocol": "TCP",
"networkMeasurements": 1,
"mtuMeasurements": 1,
"bandwidthMeasurements": 0,
"bgpMeasurements": 1,
"usePublicBgp": 1,
"alertsEnabled": 0,
"liveShare": 0,
"timeLimit": 30,
"targetTime": 10,
"httpTimeLimit": 5,
"httpTargetTime": 1000,
"httpVersion": 2,
"followRedirects": 1,
"includeHeaders": 1,
"sslVersionId": 0,
"verifyCertificate": 1,
"useNtlm": 0,
"authType": "NONE",
"contentRegex": "",
"transactionScript": "import { By, Key, until } from 'selenium-webdriver';\nimport { driver, markers, credentials, downloads, transaction } from 'thousandeyes';\n\nrunScript();\n\nasync function runScript() {\n\n // Load page\n await driver.get('https://google.com');\n await driver.takeScreenshot();\n \n // Search\n markers.start('SearchForWebdriver');\n await driver.findElement(By.name('q')).sendKeys('webdriver', Key.RETURN);\n await driver.takeScreenshot();\n markers.stop('SearchForWebdriver');\n\n // Wait for full page load\n await driver.wait(until.titleIs('webdriver - Google Search'), 1000);\n await driver.takeScreenshot();\n};\n ",
"probeMode": "AUTO",
"pathTraceMode": "classic",
"numPathTraces": 3,
"credentials": [],
"apiLinks": [
{
"rel": "self",
"href": "https://api.thousandeyes.com/v6/tests/1161561"
},
{
"rel": "data",
"href": "https://api.thousandeyes.com/v6/net/metrics/1161561"
},
{
"rel": "data",
"href": "https://api.thousandeyes.com/v6/net/path-vis/1161561"
},
{
"rel": "data",
"href": "https://api.thousandeyes.com/v6/net/bgp-metrics/1161561"
}
],
"sslVersion": "Auto"
},
"webTransaction": [
{
"agentName": "Chicago, IL",
"countryId": "US",
"date": "2019-11-15 16:42:00",
"permalink": "https://app.thousandeyes.com/null?__a=75&testId=1161561&roundId=1573836000&agentId=31",
"roundId": 1573836000,
"agentId": 31,
"componentErrors": 6,
"markers": [
{
"name": "SearchForWebdriver",
"duration": 1360.0
}
],
"pages": [
{
"pageNum": 0,
"pageName": "Google",
"duration": 1117.5660001039505
},
{
"pageNum": 1,
"pageName": "webdriver - Google Search",
"duration": 1146.6330000162125
}
],
"transactionTime": 2341
}
]
}
}