> For the complete documentation index, see [llms.txt](https://webside.gitbook.io/webside/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://webside.gitbook.io/webside/api/test-runs.md).

# Testing

Endpoints to run tests and retrieve their results.

| Method | Path                                                         | Description                              | Parameters | Payload |
| :----: | ------------------------------------------------------------ | ---------------------------------------- | :--------: | ------- |
|  POST  | [/test-runs](/webside/api/test-runs/post.md)                 | Create and run of a test suite           |      -     | `suite` |
|   GET  | [/test-runs/{id}/status](/webside/api/test-runs/get.md)      | Retrieve the status of a given test run  |      -     | -       |
|   GET  | [/test-runs/{id}/results](/webside/api/test-runs/get-1.md)   | Retrieve the restuls of a given test run |      -     | -       |
|  POST  | [/test-runs/{id}/run](broken://pages/1RvhEBEu14LdioEpP9Us)   | Re-run a given test suite                |      -     | -       |
|  POST  | [/test-runs/{id}/debug](broken://pages/pBZSXEcbGBNRgSRpXDGX) | Debug a test withing a test run          |      -     | -       |
|  POST  | [/test-runs/{id}/stop](broken://pages/LDW7oJ3VFX9sQxwVQpR1)  | Stop an active test run                  |      -     | -       |
| DELETE | [/test-runs/{id}](broken://pages/rkJkkeWzNdbmwHeovAeg)       | Delete a test run                        |      -     | -       |
