Add variables to a test suite

Adds new variables to a test suite. You can use variables in a test request's URL or request headers and in condition expression, as a substitute of placeholders. To learn more, see Variables. 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

Generated variables referenced in a test case's testRequestUrl, headerName, headerValue, requestBody, or conditionExpression as a substitute for placeholders. To learn more, see Variables.

Headers
string
enum
Defaults to application/json

Generated from available response content types

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