Test series


List test series

GET /{website-id}/testseries

This gives you a list of the latest test series run on your website.

200 OK
{
"result": {
"list": [
{
"id": "laketgppkw",
"created": "2023-06-28T01:00:40.136Z",
"initiative": "Scheduled",
"status": "completed",
"count": 10,
"failed_tests": 0
},
{
"id": "siiq2abiyt",
"created": "2023-06-26T01:00:52.329Z",
"initiative": "Scheduled",
"status": "completed",
"count": 10,
"failed_tests": 0
},
...
]
}
}

List tests within one test series

GET /{website-id}/testseries/{series-id}

The result looks like this:

200 OK
{
"id": "laketgppkw",
"website": "k4gcm39k5l",
"created": "2023-06-28T01:00:40.136Z",
"initiative": "Scheduled",
"count": 10,
"status": "completed",
"failed_tests": 0,
"result": {
"list": [
{
"id": "fl73t71fgxnpxx9l",
"created": "2023-06-28T01:25:23.754Z",
"page": {
"url": "/",
"alias": "Home",
"id": "pnu2bpyaqy"
},
"device": "desktop",
"url": "https://pagevitals.com/",
"performance_score": 100,
"accessibility_score": 100,
"best_practices_score": 100,
"seo_score": 100,
"opportunity_count": 3,
"budget_issues": 0,
"status": "completed"
},
{
"id": "r69t1jiu639ce83j",
"created": "2023-06-28T01:25:21.455Z",
"page": {
"url": "/",
"alias": "Home",
"id": "pnu2bpyaqy"
},
"device": "mobile",
"url": "https://pagevitals.com/",
"performance_score": 100,
"accessibility_score": 100,
"best_practices_score": 100,
"seo_score": 100,
"opportunity_count": 4,
"budget_issues": 0,
"status": "completed"
},
...
]
}
}

Run tests

POST /{website-id}/testseries

This will trigger a new test run and return this result:

200 OK
{
"seriesId": "l4ke8gppkw",
"message": "Tests triggered"
}