Get HTTP server test results
GET {{baseUrl}}/test-results/:testId/http-server?aid=1234&window=12h&startDate=2022-07-17T22:00:54Z&endDate=2022-07-18T22:00:54Z&cursor=&expand=certificate
Returns results for requests made over HTTP. Components include DNS, Connect, Wait, Receive, and Fetch.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
aid | number | A 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. | |
window | string | A dynamic time interval up to the current time of the request. Specify the interval as a number followed by an optional type: s for seconds (default if no type is specified), m for minutes, h for hours, d for days, and w for weeks. | |
For a precise date range, use startDate and endDate . | |||
startDate | string | Use with the endDate parameter. Include the complete time (hours, minutes, and seconds) in UTC time zone, following the ISO 8601 date-time format. See the example for reference. Please note that this parameter can't be used with window . | |
endDate | string | Defaults to current time the request is made. Use with the startDate parameter. Include the complete time (hours, minutes, and seconds) in UTC time zone, following the ISO 8601 date-time format. See the example for reference. Please note that this parameter can't be used with window . | |
cursor | null | (Optional) Opaque cursor used for pagination. Clients should use next value from _links instead of this parameter. | |
expand | string | This parameter lets you decide if you want to see more details about test results. By default, no extra information is shown unless you use the query parameter. For instance, if you want more info about the "header," add ?expand=header to the query. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"date":"2022-07-17T22:00:54Z","roundId":1384309800,"_links":{"appLink":{"href":"https://app.thousandeyes.com/view/tests?__a=105\u0026testId=195\u0026roundId=1692916680\u0026agentId=125"}},"startTime":1384309800,"endTime":1384309800,"agent":{"agentId":"281474976710706","agentName":"thousandeyes-stg-va-254","countryId":"US","location":"San Francisco Bay Area"},"serverIp":"193.2.1.88","responseCode":200,"numRedirects":0,"redirectTime":10,"dnsTime":0,"sslTime":9,"connectTime":2,"waitTime":3,"receiveTime":1,"wireSize":9993,"responseTime":14,"throughput":123,"totalTime":15,"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"},"errorType":"None","errorDetails":"Connection error","sslCipher":"ut ex","sslVersion":"TLSv1.3","sslCertificates":[{"daysUntilExpiry":-13094099,"isFetchDateInValidCertDateRange":true,"hasValidSigningCert":false,"issuerName":"DigiCert SHA2 Extended Validation Server CA","validBefore":"2020-05-12T12:00:00Z","validAfter":"2018-03-27T00:00:00Z","subjectAlternativeNames":["www.thousandeyes.com","thousandeyes.com"],"subjectName":"www.thousandeyes.com"},{"daysUntilExpiry":-95607857,"isFetchDateInValidCertDateRange":true,"hasValidSigningCert":false,"issuerName":"DigiCert SHA2 Extended Validation Server CA","validBefore":"2020-05-12T12:00:00Z","validAfter":"2018-03-27T00:00:00Z","subjectAlternativeNames":["www.thousandeyes.com","thousandeyes.com"],"subjectName":"www.thousandeyes.com"}],"healthScore":0.98},{"date":"2022-07-17T22:00:54Z","roundId":1384309800,"_links":{"appLink":{"href":"https://app.thousandeyes.com/view/tests?__a=105\u0026testId=195\u0026roundId=1692916680\u0026agentId=125"}},"startTime":1384309800,"endTime":1384309800,"agent":{"agentId":"281474976710706","agentName":"thousandeyes-stg-va-254","countryId":"US","location":"San Francisco Bay Area"},"serverIp":"193.2.1.88","responseCode":200,"numRedirects":0,"redirectTime":10,"dnsTime":0,"sslTime":9,"connectTime":2,"waitTime":3,"receiveTime":1,"wireSize":9993,"responseTime":14,"throughput":123,"totalTime":15,"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"},"errorType":"None","errorDetails":"Connection error","sslCipher":"occaecat reprehenderit ut do","sslVersion":"TLSv1.3","sslCertificates":[{"daysUntilExpiry":70565780,"isFetchDateInValidCertDateRange":true,"hasValidSigningCert":false,"issuerName":"DigiCert SHA2 Extended Validation Server CA","validBefore":"2020-05-12T12:00:00Z","validAfter":"2018-03-27T00:00:00Z","subjectAlternativeNames":["www.thousandeyes.com","thousandeyes.com"],"subjectName":"www.thousandeyes.com"},{"daysUntilExpiry":24040343,"isFetchDateInValidCertDateRange":true,"hasValidSigningCert":false,"issuerName":"DigiCert SHA2 Extended Validation Server CA","validBefore":"2020-05-12T12:00:00Z","validAfter":"2018-03-27T00:00:00Z","subjectAlternativeNames":["www.thousandeyes.com","thousandeyes.com"],"subjectName":"www.thousandeyes.com"}],"healthScore":0.98}],"test":{"interval":60,"alertsEnabled":true,"enabled":true,"createdBy":"user@user.com","createdDate":"2022-07-17T22:00:54Z","description":"ThousandEyes Test","liveShare":false,"modifiedBy":"user@user.com","modifiedDate":"2022-07-17T22:00:54Z","savedEvent":true,"testId":"281474976710706","testName":"ThousandEyes Test","type":"agent-to-server","_links":{"self":{"href":"https://api.thousandeyes.com/v7/tests/{type}/281474976710706"},"testResults":[{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/network"},{"href":"https://api.thousandeyes.com/v7/test-results/281474976710706/path-vis"}]},"nisic43":true,"ipsum_08e":true,"Excepteur9e":true},"startDate":"2022-07-17T22:00:54Z","endDate":"2022-07-18T22:00:54Z","_links":{"previous":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"culpa e","deprecation":"ea ut consectetur voluptate","name":"dolor dolore ea","profile":"pariatur","title":"exercitation nulla","hreflang":"sed velit in exercitation et"},"next":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"dolore et cupidatat","deprecation":"sed do eu labore cillum","name":"culpa anim elit sunt officia","profile":"consequat veniam","title":"cillum","hreflang":"do ut anim dolore ad"},"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":false,"type":"labore","deprecation":"nulla","name":"cupidatat in quis in","profile":"aute amet","title":"id quis esse ullamco non","hreflang":"sunt consectetur fugiat Lorem dolore"}}}