Creating an Endpoint Test
POST https://{{base_url}}/v6/endpoint-tests/{{testType}}/new.json
Creating an Endpoint Test
Creates a new Endpoint test in ThousandEyes, based on properties provided in the POST data. In order to create a new test, the user attempting the creation must be an Account Admin.
Regular users are blocked from using any of the POST-based methods.
Request
- {testType} corresponds to any of the following options:
- agent-to-server - endpoint network test
- http-server - endpoint http test
- Request body should contain fields to be set during creation.
Request Body
{"authType"=>"NONE", "flagPing"=>true, "flagTraceroute"=>true, "groupId"=>1, "httpTimeLimit"=>5000, "maxMachines"=>5, "interval"=>3600, "sslVersion"=>0, "targetResponseTime"=>5000, "testName"=>"Postman HTTP test DevNet", "url"=>"developer.cisco.com", "verifyCertHostname"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |