Get test
GET/tests/:id
Retrieve test by unique test ID
Request
Path Parameters
A unique test ID
Responses
- 200
Test response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
Check id
Default value: true
Area ID
Name of check
URL of check
Check notice
Possible values: [homepage
, simple
, favicon
, robots
]
Possible values: [completed
, running
]
Test flags e.g. configured
status object
rules object[]
Possible values: [text html status header location title meta-description meta-og:title meta-og:description meta-og:image meta-og:image meta-og:image meta-og:type meta-og:url meta-og:site_name meta-og:locale meta-og:updated_time meta-og:logo meta-article:modified_time meta-article:published_time meta-article:publisher meta-article:section meta-article:tag meta-twitter:title meta-twitter:image meta-twitter:image meta-twitter:description meta-twitter:card meta-twitter:site meta-twitter:creator meta-itemprop:name meta-itemprop:author meta-itemprop:description meta-itemprop:image
]
Default value: text
Type of check
Possible values: [eq
, sub
, !sub
, match
, !match
, xpath
]
Operators can be: eq
is equal to, sub
contains, !sub
does not contains, match
for exact match, !match
for does not match and xpath
for Xpath checks.
Value that will be used for check
Original of the check
Optional parameter if check use a Template
Order of the check
response object
Size of response in case of check error
List of redirections
timing undefined[]
Template ID if any
Template variables if any
options object
Default value: false
Allow HTTP/1 requests only
Default value: false
Allow only IPv6 request
Default value: false
Do not accept gzip encoding
Default value: false
Do not follow redirects
Extra HTTP headers separated
{
"id": "50a9f73014db3ae812000234",
"enabled": true,
"areaId": "55ae166c25b395537a8b6030",
"name": "Homepage",
"url": "https://testomato.com",
"notice": "",
"type": "simple",
"run": "completed",
"flags": [
"configured"
],
"status": {
"status": "ok",
"failures": [
"string"
],
"rules": [
{
"type": "text",
"op": "sub",
"val": 123456,
"origin": "check",
"templateId": "string",
"order": 0
}
],
"response": {
"status": 200,
"httpStatus": 200,
"baseUrl": "https://testomato.com",
"contentType": "text/html",
"httpHeader": ":status: 200\r\nserver: nginx\r\ndate: Mon, 10 Oct 2022 15:04:05 GMT\r\ncontent-type: text/html;",
"processTime": 0.037,
"size": false,
"redirects": [
"string"
],
"timing": [
{
"metrics": "DNS Lookup",
"value": 1
}
]
}
},
"templateId": "",
"templateVars": [],
"options": {
"2": false,
"6": false,
"g": false,
"l": false,
"w": "string"
}
}