# coding: utf-8 """ Endpoint Test Results API Retrieve results for scheduled and dynamic tests on endpoint agents. Generated by OpenAPI Generator (https://openapi-generator.tech) Do not edit the class manually. """ # noqa: E501 import json from sdk_test_support.mock_server_types import ErrorResponseExpectation, OperationExpectation OPERATION_MANIFEST = { "get_http_server_scheduled_test_results": OperationExpectation( operation_id="get_http_server_scheduled_test_results", method="GET", path="/endpoint/test-results/scheduled-tests/{testId}/http-server", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "test" : { "server" : "www.example.com", "isSavedEvent" : false, "sslVersion" : "Auto", "useNtlm" : false, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "httpTimeLimit" : 5000, "type" : "http-server", "protocol" : "icmp", "httpVersion" : 2, "followRedirects" : true, "authType" : "none", "testName" : "Test name", "verifyCertificate" : true, "networkMeasurements" : true, "tcpProbeMode" : "auto", "url" : "https://example.com:443", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "httpTargetTime" : 100, "username" : "username", "sslVersionId" : "0" }, "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" }, "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_multi_test_filtered_http_server_scheduled_test_results": OperationExpectation( operation_id="get_multi_test_filtered_http_server_scheduled_test_results", method="POST", path="/endpoint/test-results/scheduled-tests/http-server/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" }, "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchSort" : [ { "sort" : "round-id", "order" : "desc" }, { "sort" : "round-id", "order" : "desc" } ], "searchFilters" : { "agentId" : [ "52455b09-ff1b-4849-8194-99026cc890e0", "52455b09-ff1b-4849-8194-99026cc890e0" ], "testId" : [ "5", "5" ], "userPrincipalName" : [ "joeblogs32@c.com", "joeblogs32@c.com" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "response-time", "value" : 10, "operator" : "gte" }, { "name" : "response-time", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_single_test_filtered_http_server_scheduled_test_results": OperationExpectation( operation_id="get_single_test_filtered_http_server_scheduled_test_results", method="POST", path="/endpoint/test-results/scheduled-tests/{testId}/http-server/filter", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" }, "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "numRedirects" : 0, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "errorType" : "connect", "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "responseCode" : 200, "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "connectTime" : 2, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "throughput" : 190, "roundId" : 1384309800, "headers" : { "requestHeaders" : "GET / HTTP/1.1\\r\\nHost: www.thousandeyes.com\\r\\nUser-Agent: curl/7.58.0-DEV\\r\\nAccept: */*\\r\\nAccept-Encoding: deflate, gzip\\r\\nX-ThousandEyes-Agent: yes\\r\\n", "responseHeaders" : "HTTP/1.1 200 OK\\r\\nContent-Type: text/html;charset=UTF-8\\r\\nContent-Length: 9993\\r\\nConnection: keep-alive\\r\\nDate: Mon, 04 May 2020 16:13:00 GMT\\r\\nServer: Apache\\r\\nContent-Language: en-US\\r\\nContent-Encoding: gzip\\r\\nX-Frame-Options: sameorigin\\r\\nCache-Control: max-age=600, must-revalidate\\r\\nStrict-Transport-Security: max-age=31536000\\r\\nX-Content-Type-Options: nosniff\\r\\nX-XSS-Protection: 1; mode=block\\r\\nVary: Accept-Encoding\\r\\nX-Cache: Hit from cloudfront\\r\\nVia: 1.1 7ba3caf71ae7a52dd411d1a543e80cd8.cloudfront.net (CloudFront)\\r\\nX-Amz-Cf-Pop: SFO5-C3\\r\\nX-Amz-Cf-Id: w4h42tkoJD-rEpkRDZUvnQBmy26GVGe6pUsuRr1Dphf7oajYbjXaOA==\\r\\nAge: 132\\r\\n" }, "redirectTime" : 10, "responseTime" : 14, "totalTime" : 15, "receiveTime" : 1, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "dnsTime" : 0, "serverIp" : "193.2.1.88", "testId" : "584739201", "sslTime" : 9, "aid" : "1234", "waitTime" : 3, "errorDetails" : "errorDetails", "wireSize" : 9993 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchSort" : [ { "sort" : "round-id", "order" : "desc" }, { "sort" : "round-id", "order" : "desc" } ], "searchFilters" : { "agentId" : [ "52455b09-ff1b-4849-8194-99026cc890e0", "52455b09-ff1b-4849-8194-99026cc890e0" ], "testId" : [ "5", "5" ], "userPrincipalName" : [ "joeblogs32@c.com", "joeblogs32@c.com" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "response-time", "value" : 10, "operator" : "gte" }, { "name" : "response-time", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_local_networks_test_results_topologies": OperationExpectation( operation_id="filter_local_networks_test_results_topologies", method="POST", path="/endpoint/test-results/local-networks/topologies/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "dnsServerTest" : { "resolutionTime" : 3 }, "isIcmpBlocked" : true, "gatewayScore" : { "score" : 100, "quality" : "great" }, "tcpConnect" : { "rtt" : 77.777, "errorCode" : "ERR_TIMED_OUT", "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "vpnScore" : { "score" : 100, "quality" : "great" }, "proxyScore" : { "score" : 100, "quality" : "great" }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "type" : "vpn", "targetPort" : 80, "platform" : "mac", "target" : "10.0.2.2", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "systemMetricDetails" : { "topCpuApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ], "topMemoryApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ] }, "connectionScore" : { "score" : 100, "quality" : "great" }, "icmpPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "roundId" : 1384309800, "agentScore" : { "score" : 100, "quality" : "great" } }, { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "dnsServerTest" : { "resolutionTime" : 3 }, "isIcmpBlocked" : true, "gatewayScore" : { "score" : 100, "quality" : "great" }, "tcpConnect" : { "rtt" : 77.777, "errorCode" : "ERR_TIMED_OUT", "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "vpnScore" : { "score" : 100, "quality" : "great" }, "proxyScore" : { "score" : 100, "quality" : "great" }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "type" : "vpn", "targetPort" : 80, "platform" : "mac", "target" : "10.0.2.2", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "systemMetricDetails" : { "topCpuApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ], "topMemoryApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ] }, "connectionScore" : { "score" : 100, "quality" : "great" }, "icmpPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49", "roundId" : 1384309800, "agentScore" : { "score" : 100, "quality" : "great" } } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchFilters" : { "agentId" : [ "3fde6422-f119-40e1-ae32-d08a1243c038", "236e6f18-9637-4a2f-b15f-7aa6a29c9fce" ], "bssid" : [ "8c:68:c8:a5:0a:8c", "0c:51:01:e4:3e:d0" ], "location" : [ "San Francisco Bay Area", "Germany" ], "connection" : [ "wireless", "wireless" ], "vpnTarget" : [ "78.153.54.204", "78.153.54.206" ], "networkId" : [ "660b34109d12", "660b34109d15" ], "type" : [ "vpn", "proxy" ], "ssid" : [ "wifi-name", "other-room-wifi" ], "platform" : [ "mac", "mac" ], "gateway" : [ "78.153.54.204", "78.153.54.206" ], "proxyTarget" : [ "78.153.54.204", "78.153.54.206" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "loss", "value" : 10, "operator" : "gte" }, { "name" : "loss", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_local_networks_test_results": OperationExpectation( operation_id="get_local_networks_test_results", method="GET", path="/endpoint/test-results/local-networks", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "localNetworks" : [ { "publicIpRange" : "178.216.56.0-178.216.63.255", "networkName" : "10.5.51.0 (in 178.216.56.0/21)", "networkId" : "006c4fa7a054", "localPrefix" : "10.5.51.0" }, { "publicIpRange" : "178.216.56.0-178.216.63.255", "networkName" : "10.5.51.0 (in 178.216.56.0/21)", "networkId" : "006c4fa7a054", "localPrefix" : "10.5.51.0" } ], "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } } } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_local_networks_test_results_topology": OperationExpectation( operation_id="get_local_networks_test_results_topology", method="GET", path="/endpoint/test-results/local-networks/topologies/{networkTopologyId}", path_param_examples={ "networkTopologyId": '00160:39c518560de9:1491651900:236e6f18', }, success_status=200, success_body=json.loads(""" { "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "dnsServerTest" : { "resolutionTime" : 3 }, "vpnScore" : { "score" : 100, "quality" : "great" }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "type" : "vpn", "targetPort" : 80, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "icmpTraceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "roundId" : 1384309800, "agentScore" : { "score" : 100, "quality" : "great" }, "isIcmpBlocked" : true, "gatewayScore" : { "score" : 100, "quality" : "great" }, "tcpConnect" : { "rtt" : 77.777, "errorCode" : "ERR_TIMED_OUT", "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "proxyScore" : { "score" : 100, "quality" : "great" }, "coordinates" : { "latitude" : 46.0552778, "location" : "Slovenia", "longitude" : 14.5144444 }, "icmpTraceroutes" : [ { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] } ], "target" : "10.0.2.2", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "systemMetricDetails" : { "topCpuApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ], "topMemoryApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ] }, "connectionScore" : { "score" : 100, "quality" : "great" }, "icmpPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49" }, { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "dnsServerTest" : { "resolutionTime" : 3 }, "vpnScore" : { "score" : 100, "quality" : "great" }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "type" : "vpn", "targetPort" : 80, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "icmpTraceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "roundId" : 1384309800, "agentScore" : { "score" : 100, "quality" : "great" }, "isIcmpBlocked" : true, "gatewayScore" : { "score" : 100, "quality" : "great" }, "tcpConnect" : { "rtt" : 77.777, "errorCode" : "ERR_TIMED_OUT", "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "proxyScore" : { "score" : 100, "quality" : "great" }, "coordinates" : { "latitude" : 46.0552778, "location" : "Slovenia", "longitude" : 14.5144444 }, "icmpTraceroutes" : [ { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] } ], "target" : "10.0.2.2", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "systemMetricDetails" : { "topCpuApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ], "topMemoryApplications" : [ { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 }, { "totalMemoryBytes" : 1023334, "processes" : [ { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 }, { "memoryBytes" : 1023334, "memoryPercentage" : 0.22, "name" : "Webex background", "cpu" : 0.5, "pid" : 15632 } ], "totalCpu" : 0.5, "name" : "Webex", "totalMemoryPercentage" : 0.22 } ] }, "connectionScore" : { "score" : 100, "quality" : "great" }, "icmpPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkTopologyId" : "00160:54c3a4b180c6:1490536500:c7a58c49" } ] } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_dynamic_test_network_results": OperationExpectation( operation_id="filter_dynamic_test_network_results", method="POST", path="/endpoint/test-results/dynamic-tests/{testId}/network/filter", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "test" : { "hasPing" : true, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "protocol" : "tcp", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "roundId" : 1384309800, "udpProbeMode" : "unknown", "isIcmpBlocked" : true, "avgLatency" : 167.04, "tcpProbeMode" : "auto", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "application" : "webex", "serverIp" : "185.199.108.153", "testId" : "584739201", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "errorDetails" : "Error" }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "protocol" : "tcp", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "roundId" : 1384309800, "udpProbeMode" : "unknown", "isIcmpBlocked" : true, "avgLatency" : 167.04, "tcpProbeMode" : "auto", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "application" : "webex", "serverIp" : "185.199.108.153", "testId" : "584739201", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "errorDetails" : "Error" } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchSort" : [ { "sort" : "round-id", "order" : "desc" }, { "sort" : "round-id", "order" : "desc" } ], "searchFilters" : { "agentId" : [ "52455b09-ff1b-4849-8194-99026cc890e0", "52455b09-ff1b-4849-8194-99026cc890e0" ], "webexConferenceId" : [ "719057112996612360", "719057112996612360" ], "webexLocalSipSessionId" : [ "c124ba2b012050008000aa0c26c4bf0f", "c124ba2b012050008000aa0c26c4bf0f" ], "userPrincipalName" : [ "joeblogs32@c.com", "joeblogs32@c.com" ], "webexCorrelationId" : [ "f7d73641-8673-4547-be62-9521f78d9888", "f7d73641-8673-4547-be62-9521f78d9888" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "loss", "value" : 10, "operator" : "gte" }, { "name" : "loss", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_dynamic_test_path_vis_agent_round_results": OperationExpectation( operation_id="get_dynamic_test_path_vis_agent_round_results", method="GET", path="/endpoint/test-results/dynamic-tests/{testId}/path-vis/agent/{agentId}/round/{roundId}", path_param_examples={ "testId": '202701', "agentId": '11', "roundId": '1384309800', }, success_status=200, success_body=json.loads(""" { "test" : { "hasPing" : true, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "udpProbeMode" : "unknown", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "tcpProbeMode" : "auto", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "protocol" : "tcp", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "application" : "webex", "pathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "vpnPathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "roundId" : 1384309800 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "udpProbeMode" : "unknown", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "tcpProbeMode" : "auto", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "protocol" : "tcp", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "application" : "webex", "pathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "vpnPathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "roundId" : 1384309800 } ] } """), success_content_type="application/json", request_body_example=None, error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_dynamic_test_path_vis_results": OperationExpectation( operation_id="get_dynamic_test_path_vis_results", method="GET", path="/endpoint/test-results/dynamic-tests/{testId}/path-vis", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "test" : { "hasPing" : true, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/dynamic-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "application" : "webex", "hasTraceroute" : true, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "endDate" : "2022-07-18T22:00:54Z", "totalHits" : 12, "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" }, "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "udpProbeMode" : "unknown", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "tcpProbeMode" : "auto", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "protocol" : "tcp", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "application" : "webex", "pathTraces" : [ { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "location" : "San Francisco Area", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "roundId" : 1384309800 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "udpProbeMode" : "unknown", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "tcpProbeMode" : "auto", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "protocol" : "tcp", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "application" : "webex", "pathTraces" : [ { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "location" : "San Francisco Area", "webex" : { "remoteSipSessionId" : "22581707460321454", "localSipSessionId" : "c124ba2b012050008000aa0c26c4bf0f", "conferenceId" : "225817074608419375", "correlationId" : "4e57c97e-abdf-4ec8-a78c-95bac9719896", "meetingApp" : "ZoomCRC" }, "aid" : "1234", "roundId" : 1384309800 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_scheduled_test_network_results": OperationExpectation( operation_id="filter_scheduled_test_network_results", method="POST", path="/endpoint/test-results/scheduled-tests/{testId}/network/filter", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "test" : { "server" : "www.example.com", "isSavedEvent" : false, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "type" : "agent-to-server", "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "isIcmpBlocked" : true, "avgLatency" : 167.04, "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800, "errorDetails" : "Error" }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "isIcmpBlocked" : true, "avgLatency" : 167.04, "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800, "errorDetails" : "Error" } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchSort" : [ { "sort" : "round-id", "order" : "desc" }, { "sort" : "round-id", "order" : "desc" } ], "searchFilters" : { "agentId" : [ "52455b09-ff1b-4849-8194-99026cc890e0", "52455b09-ff1b-4849-8194-99026cc890e0" ], "userPrincipalName" : [ "joeblogs32@c.com", "joeblogs32@c.com" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "loss", "value" : 10, "operator" : "gte" }, { "name" : "loss", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_scheduled_tests_network_results": OperationExpectation( operation_id="filter_scheduled_tests_network_results", method="POST", path="/endpoint/test-results/scheduled-tests/network/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "totalHits" : 12, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "isIcmpBlocked" : true, "avgLatency" : 167.04, "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800, "errorDetails" : "Error" }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "isIcmpBlocked" : true, "avgLatency" : 167.04, "minLatency" : 167, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "maxLatency" : 168, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "score" : { "applicationScore" : 100, "quality" : "great" }, "loss" : 0, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "jitter" : 0.076808, "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "ztaMetrics" : [ { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" }, { "loss" : 50, "jitter" : 5, "avgLatency" : 3, "errorMessage" : "ERR_NAME_NOT_RESOLVED", "type" : "zta_service" } ], "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800, "errorDetails" : "Error" } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchSort" : [ { "sort" : "round-id", "order" : "desc" }, { "sort" : "round-id", "order" : "desc" } ], "searchFilters" : { "agentId" : [ "52455b09-ff1b-4849-8194-99026cc890e0", "52455b09-ff1b-4849-8194-99026cc890e0" ], "testId" : [ "5", "5" ] }, "thresholdFilter" : { "conditionalOperator" : "and", "filters" : [ { "name" : "loss", "value" : 10, "operator" : "gte" }, { "name" : "loss", "value" : 10, "operator" : "gte" } ] } } """), error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_scheduled_test_path_vis_agent_round_results": OperationExpectation( operation_id="get_scheduled_test_path_vis_agent_round_results", method="GET", path="/endpoint/test-results/scheduled-tests/{testId}/path-vis/agent/{agentId}/round/{roundId}", path_param_examples={ "testId": '202701', "agentId": '11', "roundId": '1384309800', }, success_status=200, success_body=json.loads(""" { "test" : { "server" : "www.example.com", "isSavedEvent" : false, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "type" : "agent-to-server", "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "pathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "vpnPathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "pathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "vpnPathTraces" : [ { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "udpPathTraceMode" : "unknown", "hops" : [ { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" }, { "rdns" : "core-router1.cpt2.host-h.net", "prefix" : "196.40.96.0/20", "responseTime" : 1, "hop" : 1, "ipAddress" : "196.40.106.237", "location" : "Cape Town, South Africa", "network" : "HETZNER (Pty) Ltd (AS 37153)" } ], "pathId" : "4711301366345855606023718047703941305741293841502186803", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "aid" : "1234", "roundId" : 1384309800 } ] } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_scheduled_test_path_vis_results": OperationExpectation( operation_id="get_scheduled_test_path_vis_results", method="GET", path="/endpoint/test-results/scheduled-tests/{testId}/path-vis", path_param_examples={ "testId": '202701', }, success_status=200, success_body=json.loads(""" { "test" : { "server" : "www.example.com", "isSavedEvent" : false, "_links" : { "testResults" : [ { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/network/filter" }, { "href" : "https://api.thousandeyes.com/v7/endpoint/test-results/scheduled-tests/281474976710706/pathvis" } ], "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "isPrioritized" : false, "networkMeasurements" : true, "type" : "agent-to-server", "tcpProbeMode" : "auto", "labels" : [ { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false }, { "labelId" : "961", "name" : "Artem label", "isBuiltin" : false } ], "protocol" : "icmp", "createdDate" : "2022-07-17T22:00:54Z", "ipVersion" : "V4_ONLY", "port" : 443, "isEnabled" : true, "modifiedDate" : "2022-07-17T22:00:54Z", "interval" : 60, "testId" : "281474976710706", "aid" : "1234", "agentSelectorConfig" : { "agentSelectorType" : "all-agents", "maxMachines" : 25 }, "hasPathTraceInSession" : true, "testName" : "Test name" }, "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" }, "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "pathTraces" : [ { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "location" : "San Francisco Area", "aid" : "1234", "roundId" : 1384309800 }, { "originalTargetProfile" : { "protocol" : "tcp", "remotePort" : 80, "remoteIpAddress" : "120.98.134.7" }, "server" : "www.google.com:443", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "asnDetails" : { "asName" : "ThousandEyes, Inc", "asNumber" : 394101 }, "vpnProfile" : { "vpnClientNetworkRange" : [ "9.88.37.27", "9.88.37.27" ], "vpnGatewayAddress" : "120.98.134.7", "vpnType" : "cisco-anyconnect", "vpnClientAddresses" : [ "184.81.113.85", "13.129.91.62" ] }, "batteryMetrics" : { "batteryHealthNormalizedPercent" : 0.92, "batteryLevel" : "medium", "batteryLevelNormalizedPercent" : 0.3 }, "sourcePrefix" : "196.40.96.0/20", "userProfile" : { "userName" : "joeblogs32", "userPrincipalName" : "joeblogs32@c.com" }, "platform" : "mac", "cellularProfile" : { "rssi" : -10, "advertisedNetworkSubtype" : "LTE/HSPA", "carrierName" : "T-Mobile", "rsrq" : -30, "rsrp" : -30, "advertisedNetworkGen" : "2g, 3g, 4g, 5g", "rscp" : -30, "networkGen" : "2g, 3g, 4g, 5g", "networkSubtype" : "LTE/HSPA", "sinr" : 20 }, "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "sourceIp" : "196.40.106.237", "pathTraces" : [ { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" }, { "protocol" : "tcp", "numberOfHops" : 15, "responseTime" : 1500, "ipAddress" : "196.40.106.237", "udpPathTraceMode" : "unknown", "pathId" : "1230899668701775614109128428722974545787322404682781961521", "tcpPathTraceMode" : "syn-pcap" } ], "serverIp" : "185.199.108.153", "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "testId" : "584739201", "location" : "San Francisco Area", "aid" : "1234", "roundId" : 1384309800 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_real_user_tests_network_results": OperationExpectation( operation_id="filter_real_user_tests_network_results", method="POST", path="/endpoint/test-results/real-user-tests/networks/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "date" : "2022-07-17T22:00:54Z", "proxy" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "vpn" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "destination" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 }, { "date" : "2022-07-17T22:00:54Z", "proxy" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "vpn" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "destination" : { "loss" : 0.1, "jitter" : 46, "latency" : 150, "target" : "54.208.6.220" }, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchFilters" : { "agentId" : [ "3fde6422-f119-40e1-ae32-d08a1243c038", "236e6f18-9637-4a2f-b15f-7aa6a29c9fce" ], "bssid" : [ "8c:68:c8:a5:0a:8c", "0c:51:01:e4:3e:d0" ], "visitedSite" : [ "app.thousandeyes.com" ], "trigger" : [ "user" ], "ssid" : [ "wifi-name", "other-room-wifi" ], "platform" : [ "mac", "mac" ], "proxyTarget" : [ "78.153.54.204", "78.153.54.206" ], "destinationIp" : [ "84.255.241.1", "193.2.1.88" ], "domain" : [ "thousandeyes.com" ], "location" : [ "San Francisco Bay Area", "Germany" ], "connection" : [ "wireless", "wireless" ], "vpnTarget" : [ "78.153.54.204", "78.153.54.206" ], "networkId" : [ "660b34109d12", "660b34109d15" ], "gateway" : [ "78.153.54.204", "78.153.54.206" ] } } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_real_user_tests_results": OperationExpectation( operation_id="filter_real_user_tests_results", method="POST", path="/endpoint/test-results/real-user-tests/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "committed" : "2022-07-17T22:00:54Z", "experienceScore" : 0.5, "sourceAddress" : "84.255.241.1", "organizationName" : "T-2 Access Network", "visitedSite" : "www.thousandeyes.com", "pageId" : "C31gBrYJ", "protocol" : "https", "numberOfPages" : 2, "port" : 443, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 }, { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "committed" : "2022-07-17T22:00:54Z", "experienceScore" : 0.5, "sourceAddress" : "84.255.241.1", "organizationName" : "T-2 Access Network", "visitedSite" : "www.thousandeyes.com", "pageId" : "C31gBrYJ", "protocol" : "https", "numberOfPages" : 2, "port" : 443, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "searchFilters" : { "agentId" : [ "3fde6422-f119-40e1-ae32-d08a1243c038", "236e6f18-9637-4a2f-b15f-7aa6a29c9fce" ], "bssid" : [ "8c:68:c8:a5:0a:8c", "0c:51:01:e4:3e:d0" ], "visitedSite" : [ "app.thousandeyes.com" ], "trigger" : [ "user" ], "ssid" : [ "wifi-name", "other-room-wifi" ], "platform" : [ "mac", "mac" ], "proxyTarget" : [ "78.153.54.204", "78.153.54.206" ], "destinationIp" : [ "84.255.241.1", "193.2.1.88" ], "domain" : [ "thousandeyes.com" ], "location" : [ "San Francisco Bay Area", "Germany" ], "connection" : [ "wireless", "wireless" ], "vpnTarget" : [ "78.153.54.204", "78.153.54.206" ], "networkId" : [ "660b34109d12", "660b34109d15" ], "gateway" : [ "78.153.54.204", "78.153.54.206" ] } } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "filter_real_user_tests_visited_pages_results": OperationExpectation( operation_id="filter_real_user_tests_visited_pages_results", method="POST", path="/endpoint/test-results/real-user-tests/pages/filter", path_param_examples={ }, success_status=200, success_body=json.loads(""" { "endDate" : "2022-07-18T22:00:54Z", "_links" : { "next" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "responseTime" : 240, "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "id" : "07625:1490529480:aVDViw0i", "pageId" : "C31gBrYJ", "roundId" : 1384309800, "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 }, { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "responseTime" : 240, "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "id" : "07625:1490529480:aVDViw0i", "pageId" : "C31gBrYJ", "roundId" : 1384309800, "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 } ], "startDate" : "2022-07-17T22:00:54Z" } """), success_content_type="application/json", request_body_example=json.loads(""" { "agentId" : [ "3fde6422-f119-40e1-ae32-d08a1243c038", "236e6f18-9637-4a2f-b15f-7aa6a29c9fce" ], "bssid" : [ "8c:68:c8:a5:0a:8c", "0c:51:01:e4:3e:d0" ], "visitedSite" : [ "app.thousandeyes.com" ], "trigger" : [ "user" ], "ssid" : [ "wifi-name", "other-room-wifi" ], "platform" : [ "mac", "mac" ], "proxyTarget" : [ "78.153.54.204", "78.153.54.206" ], "destinationIp" : [ "84.255.241.1", "193.2.1.88" ], "domain" : [ "thousandeyes.com" ], "location" : [ "San Francisco Bay Area", "Germany" ], "connection" : [ "wireless", "wireless" ], "vpnTarget" : [ "78.153.54.204", "78.153.54.206" ], "networkId" : [ "660b34109d12", "660b34109d15" ], "gateway" : [ "78.153.54.204", "78.153.54.206" ] } """), error_responses={ "400": ErrorResponseExpectation( status=400, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "errors" : [ { "code" : "code", "field" : "field", "message" : "message" }, { "code" : "code", "field" : "field", "message" : "message" } ], "status" : 0 }"""), content_type="application/json", ), "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_real_user_test_page_results": OperationExpectation( operation_id="get_real_user_test_page_results", method="GET", path="/endpoint/test-results/real-user-tests/{id}/pages/{pageId}", path_param_examples={ "id": '07625:1490529480:h3qJQTpl', "pageId": '281474976710706', }, success_status=200, success_body=json.loads(""" { "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "har" : { "log" : { "browser" : { "name" : "Google Chrome", "version" : "57.0.2987.98" }, "creator" : { "name" : "ThousandEyes Endpoint Agent", "version" : "0.47.0" }, "entries" : [ { "pageref" : "page_1", "request" : { "headers" : [ { "name" : "Upgrade-Insecure-Requests", "value" : "1" }, { "name" : "User-Agent", "value" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36" }, { "name" : "Accept", "value" : "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8" }, { "name" : "Referer", "value" : "https://www.thousandeyes.com/" }, { "name" : "Accept-Encoding", "value" : "gzip, deflate, sdch, br" }, { "name" : "Accept-Language", "value" : "en-US,en;q=0.6" }, { "name" : "Cookie", "value" : "(removed)" } ], "method" : "GET", "queryString" : [ { "name" : "locale", "value" : "en-US" } ], "url" : "https://www.thousandeyes.com/resources" }, "response" : { "bodySize" : 17776, "content" : { "mimeType" : "text/html;charset=ISO-8859-1", "size" : 17776 }, "headers" : [ { "name" : "Content-Type", "value" : "text/html;charset=ISO-8859-1" }, { "name" : "Content-Length", "value" : "17776" }, { "name" : "Connection", "value" : "keep-alive" }, { "name" : "Date", "value" : "Sun, 26 Mar 2017 11:58:54 GMT" }, { "name" : "Server", "value" : "Apache" }, { "name" : "Cache-Control", "value" : "max-age=600, must-revalidate" }, { "name" : "Content-Language", "value" : "en-US" }, { "name" : "Content-Encoding", "value" : "gzip" }, { "name" : "X-Frame-Options", "value" : "sameorigin" }, { "name" : "Strict-Transport-Security", "value" : "max-age=31536000" }, { "name" : "Vary", "value" : "Accept-Encoding" }, { "name" : "X-Cache", "value" : "Miss from cloudfront" }, { "name" : "Via", "value" : "1.1 5dbe09af3a2c87121e31ffa67f174f66.cloudfront.net (CloudFront)" }, { "name" : "X-Amz-Cf-Id", "value" : "YkvlkBNKgHt5aMu9vcS22Z8kHn1MUr-8adupwhDk3j9vF-TpSyIxZA==" } ], "headersSize" : 527, "redirectURL" : "", "status" : 200, "statusText" : "OK" }, "serverIPAddress" : "13.32.22.80", "startedDateTime" : "2017-03-22T11:58:54.123+02:00", "time" : 177, "timings" : { "blocked" : -1, "connect" : -1, "dns" : -1, "receive" : 27, "send" : -1, "ssl" : -1, "wait" : 150 } }, { "pageref" : "page_1", "request" : { "headers" : [ { "name" : "User-Agent", "value" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36" }, { "name" : "Accept", "value" : "*/*" }, { "name" : "Referer", "value" : "https://www.thousandeyes.com/resources" }, { "name" : "Accept-Encoding", "value" : "gzip, deflate, sdch, br" }, { "name" : "Accept-Language", "value" : "en-US,en;q=0.6" } ], "method" : "GET", "queryString" : [ ], "url" : "https://use.typekit.net/cjy5myw.js" }, "response" : { "bodySize" : 0, "content" : { "mimeType" : "text/javascript;charset=utf-8", "size" : 7814 }, "headers" : [ { "name" : "status", "value" : "200" }, { "name" : "access-control-allow-origin", "value" : "*" }, { "name" : "cache-control", "value" : "public, max-age=600, stale-while-revalidate=604800" }, { "name" : "content-encoding", "value" : "gzip" }, { "name" : "content-type", "value" : "text/javascript;charset=utf-8" }, { "name" : "server", "value" : "nginx" }, { "name" : "status", "value" : "200 OK" }, { "name" : "timing-allow-origin", "value" : "*" }, { "name" : "vary", "value" : "Accept-Encoding" }, { "name" : "content-length", "value" : "7814" }, { "name" : "date", "value" : "Sun, 26 Mar 2017 11:58:43 GMT" } ], "headersSize" : 334, "redirectURL" : "", "status" : 200, "statusText" : "OK" }, "serverIPAddress" : "104.103.103.234", "startedDateTime" : "2017-03-22T11:58:54.123+02:00", "time" : 72, "timings" : { "blocked" : -1, "connect" : -1, "dns" : -1, "receive" : 10, "send" : -1, "ssl" : -1, "wait" : 62 } } ], "pages" : [ { "id" : "page_1", "pageTimings" : { "onContentLoad" : 874, "onLoad" : 3492 }, "responseCode" : 200, "startedDateTime" : "2017-03-22T11:58:54.123+02:00", "title" : "Network Performance Resources | ThousandEyes" } ], "version" : "1.2", "systemMetrics" : { "startTimeMs" : 1581508857327, "endTimeMs" : 1581508867333, "cpuUtilization" : { "min" : 0.30859375, "max" : 0.5625, "mean" : 0.38931831001805056, "median" : 0.353515625, "stdDev" : 0.08389194281742307, "count" : 10 }, "physicalMemoryUsedBytes" : { "min" : 12805128192, "max" : 12825530368, "mean" : 1.281914582109091E10, "median" : 12818219008, "stdDev" : 5741124.05691331, "count" : 11 }, "physicalMemoryTotalBytes" : 17069891584 } } } } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), "get_real_user_test_results": OperationExpectation( operation_id="get_real_user_test_results", method="GET", path="/endpoint/test-results/real-user-tests/{id}", path_param_examples={ "id": '07625:1490529480:h3qJQTpl', }, success_status=200, success_body=json.loads(""" { "_links" : { "self" : { "hreflang" : "hreflang", "templated" : true, "profile" : "profile", "name" : "name", "href" : "https://api.thousandeyes.com/v7/link/to/resource/id", "type" : "type", "deprecation" : "deprecation", "title" : "title" } }, "results" : [ { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "committed" : "2022-07-17T22:00:54Z", "experienceScore" : 0.5, "sourceAddress" : "84.255.241.1", "organizationName" : "T-2 Access Network", "visitedSite" : "www.thousandeyes.com", "coordinates" : { "latitude" : 46.0552778, "location" : "Slovenia", "longitude" : 14.5144444 }, "network" : { "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "isIcmpBlocked" : true, "vpnPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "ping" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "traceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "vpnTraceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "connectRtt" : 77.777, "gatewayPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "errors" : [ "ping: Request timed out before getting response" ] }, "protocol" : "https", "pages" : [ { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "pageId" : "C31gBrYJ", "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 }, { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "pageId" : "C31gBrYJ", "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 } ], "numberOfPages" : 2, "port" : 443, "browser" : { "name" : "Google Chrome", "version" : "116.0.0.0" }, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 }, { "date" : "2022-07-17T22:00:54Z", "agentId" : "861b7557-cd57-4bbb-b648-00bddf88ef49", "committed" : "2022-07-17T22:00:54Z", "experienceScore" : 0.5, "sourceAddress" : "84.255.241.1", "organizationName" : "T-2 Access Network", "visitedSite" : "www.thousandeyes.com", "coordinates" : { "latitude" : 46.0552778, "location" : "Slovenia", "longitude" : 14.5144444 }, "network" : { "systemMetrics" : { "cpuUtilization" : { "min" : 0.22, "median" : 0.61, "max" : 0.75, "mean" : 0.55, "count" : 150, "stdDev" : 0.01 }, "physicalMemoryTotalBytes" : 1024, "startTimeMs" : 1581508857327, "physicalMemoryUsedBytes" : { "min" : 1.2, "median" : 1.85, "max" : 2.5, "mean" : 1.77, "count" : 155, "stdDev" : 0.25 }, "endTimeMs" : 1581508867333 }, "isIcmpBlocked" : true, "vpnPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "ping" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "networkProfile" : { "previousInterface" : { "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "interfaceName" : "en0", "subnetMask" : "255.255.255.0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ] }, "ethernetProfile" : { "linkSpeed" : 860 }, "publicIpAddress" : "84.255.241.1", "publicIpRange" : "84.255.241.0-84.255.241.255", "ipAddress" : "10.0.0.13", "hardwareType" : "wireless", "localPrefix" : "10.0.0.0", "proxyProfile" : { "method" : "System", "proxies" : [ { "bypass" : "*.local;169.254/16", "proxy" : "" }, { "bypass" : "*.local;169.254/16", "proxy" : "" } ] }, "subnetMask" : "255.255.255.0", "error" : "An operation timed out.", "wirelessProfile" : { "rssi" : -38, "bssid" : "4c:ba:ba:f4:fa:fa", "snr" : 57, "vendor" : "Cisco", "txRate" : 130, "channel" : 1, "noise" : -95, "phyMode" : "802.11n", "ssid" : "Internet for the masses", "quality" : 100 }, "interfaceName" : "en0", "dnsServers" : [ "8.8.8.8", "8.8.8.4" ], "gateway" : "10.0.0.1" }, "traceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "vpnTraceroute" : { "destination" : "13.32.22.232", "hops" : [ { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 }, { "delay" : 5, "prefix" : "196.40.96.0/20", "hop" : 1, "ipAddress" : "196.40.106.237", "name" : "89-210-88-65.access.t-2.net", "mpls" : [ "L=301472,E=0,S=1,T=1" ], "asn" : 34779 } ], "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "internalErrors" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ] }, "connectRtt" : 77.777, "gatewayPing" : { "maxRtt" : 66, "loss" : 1, "pktsReceived" : 10, "avgRtt" : 7, "meanDevRtt" : 11, "minRtt" : 1, "error" : "An operation timed out.", "infoFlags" : [ "TE_INFO_ICMP_BLOCKED_BY_FIREWALL" ], "pktsSent" : 10 }, "errors" : [ "ping: Request timed out before getting response" ] }, "protocol" : "https", "pages" : [ { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "pageId" : "C31gBrYJ", "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 }, { "pageTimings" : { "onContentLoad" : 1483, "onLoad" : 4569 }, "pageTitle" : "Network Performance Resources | ThousandEyes", "pageUrl" : "https://app.thousandeyes.com/settings/integrations", "pageId" : "C31gBrYJ", "loadDate" : "2022-07-17T22:00:54Z", "responseCode" : 200 } ], "numberOfPages" : 2, "port" : 443, "browser" : { "name" : "Google Chrome", "version" : "116.0.0.0" }, "id" : "07625:1490529480:aVDViw0i", "roundId" : 1384309800 } ] } """), success_content_type="application/json", request_body_example=None, error_responses={ "401": ErrorResponseExpectation( status=401, body=json.loads(""" { "error_description" : "Invalid access token", "error" : "invalid_token" }"""), content_type="application/json", ), "403": ErrorResponseExpectation( status=403, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "404": ErrorResponseExpectation( status=404, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "429": ErrorResponseExpectation( status=429, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "500": ErrorResponseExpectation( status=500, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), "502": ErrorResponseExpectation( status=502, body=json.loads(""" { "instance" : "instance", "detail" : "detail", "type" : "type", "title" : "title", "status" : 0 }"""), content_type="application/json", ), }, ), }