Skip to main content
POST
Add cases to a test set

Authorizations

Authorization
string
header
required

An org API key (gh_live_…) from Settings → API keys in the console.

Path Parameters

test_set_id
string
required

The test set’s id (ts_…).

Body

application/json
test_case_ids
string[]
required

Test case ids or keys.

repeat
integer | null

Tries for these cases; null: the set’s repeat.

Required range: 1 <= x <= 20

Response

OK

A list of test cases to run together.

object
any
test_set_id
string
Example:

"ts_3nV0qR7cWb1e"

name
string
Example:

"Lenovo Win10 benchmark"

description
string
repeat
integer

Tries per case unless the case or the run says otherwise (1 to 20).

Required range: 1 <= x <= 20
customer
object | null

The simulated customer for its cases that have none of their own.

cases
object[]
case_count
integer
metadata
object

Your own ids and labels (e.g. a ticket or customer id), returned as given.

Example:
created_at
string<date-time>
updated_at
string<date-time>