Run http server instant scheduled test

POST {{baseUrl}}/endpoint/tests/scheduled-tests/http-server/instant?aid=1234

Creates and runs a new endpoint http server instant scheduled test in ThousandEyes.

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

{"testName"=>"Test name", "url"=>"www.example.com", "agentSelectorType"=>"all-agents", "agents"=>["0a3b9998-dc3a-4ff2-b50d-ac4a7cd986e1", "66eec0f1-72b4-4755-aa83-3aed61d17f3c"], "endpointAgentLabels"=>["567", "214"], "maxMachines"=>25, "port"=>80, "authType"=>"none", "hasPathTraceInSession"=>true, "httpTimeLimit"=>5000, "protocol"=>"icmp", "username"=>"username", "sslVersionId"=>"0", "tcpProbeMode"=>"auto", "verifyCertificate"=>true, "hasPing"=>true, "hasTraceroute"=>true, "networkMeasurements"=>true, "targetResponseTime"=>1000, "password"=>"password"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"type":"agent-to-server","aid":"1234","_links":{"self":{"href":"https://api.thousandeyes.com/v7/endpoint/tests/{type}/281474976710706"},"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"}]},"agentSelectorConfig":{"agentSelectorType":"all-agents","maxMachines":25},"createdDate":"2022-07-17T22:00:54Z","interval":60,"isEnabled":true,"isSavedEvent":false,"hasPathTraceInSession":true,"modifiedDate":"2022-07-17T22:00:54Z","networkMeasurements":true,"port":80,"protocol":"icmp","server":"www.example.com","testId":"281474976710706","testName":"Test name","tcpProbeMode":"auto","authType":"none","httpTimeLimit":5000,"url":"www.example.com","username":"username","sslVersionId":"0","verifyCertificate":true,"followRedirects":true,"httpTargetTime":100,"httpVersion":2,"sslVersion":"Auto","useNtlm":false,"labels":[{"labelId":"961","name":"Artem label","isBuiltin":false},{"labelId":"961","name":"Artem label","isBuiltin":false}]}