VariableTarget
Test Variable Bindings - Management interface for mapping defined variables to specific test resources (APIs/scenarios)
Query the list of target variables
GET
/api/v1/target/{targetId}/{targetType}/variable
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, API_CASE, SCENARIO
类型string
必填响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Add target variable
POST
/api/v1/target/{targetId}/{targetType}/variable
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, API_CASE, SCENARIO
类型string
必填请求体
application/json
JSON
[
0
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Delete target variables
DELETE
/api/v1/target/{targetId}/{targetType}/variable
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, API_CASE, SCENARIO
类型string
必填请求体
application/json
JSON
[
0
]
响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
Query the list of variable targets
Preview the values of target variables
GET
/api/v1/target/{targetId}/{targetType}/variable/value/preview
授权
UserHttpBearer
Use existing opaque tokens for authentication
类型HTTP (bearer)
参数
路径参数
targetId*
Target id
类型integer
必填format
"int64"
targetType*
Target type, allowable values : API, API_CASE, SCENARIO
类型string
必填响应
OK
*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}