Create endpoint dynamic test

POST {{baseUrl}}/endpoint/tests/dynamic-tests/agent-to-server?aid=1234

Create a new endpoint dynamic test in ThousandEyes using properties specified in the POST data. Please note that only Account Admins have the authorization to create new tests; regular users are restricted from using POST-based methods.

Request Params

KeyDatatypeRequiredDescription
aidnumberA unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response.

Request Body

{"application"=>"webex", "testName"=>"Test name", "agentSelectorType"=>"all-agents", "agents"=>["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1", "66eec0f1-72b4-4755-aa83-3aed61d17f3c"], "endpointAgentLabels"=>["567", "214"], "interval"=>60, "maxMachines"=>25, "protocol"=>"icmp", "tcpProbeMode"=>"auto", "hasPathTraceInSession"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"aid":"1234","_links":{"self":{"href":"https://api.thousandeyes.com/v7/dynamic-tests/agent-to-server/281474976710706"},"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"}]},"agentSelectorConfig":{"agentSelectorType":"all-agents","maxMachines":25},"application":"webex","createdDate":"2022-07-17T22:00:54Z","interval":60,"isEnabled":true,"hasPathTraceInSession":true,"hasPing":true,"hasTraceroute":true,"modifiedDate":"2022-07-17T22:00:54Z","networkMeasurements":true,"protocol":"icmp","tcpProbeMode":"auto","testId":"281474976710706","testName":"Test name","labels":[{"labelId":"961","name":"Artem label","isBuiltin":false},{"labelId":"961","name":"Artem label","isBuiltin":false}]}