Add test cases to a test suite

Adds a list of new functional test cases to a test suite. Each test case consists of a test request, client profile, and condition. If you want to use variables within a condition or test request's URL or request header, create the needed variables first. The operation responds with a partial-success 207 response.

Path Params
integer
required

Identifies a test suite. To get this value, run the List test suites operation.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
clientProfile
object
required

Specifies a client profile included in the test case.

condition
object
required

Specifies a condition included in the test case.

setVariables
array of objects
length ≥ 0

Test case variables to resolve at runtime. To learn more, see Variables.

setVariables
testRequest
object
required

Specifies a test request included in the test case.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json