Skip to content

TaskTest

Task Associations Resource Query - Query resources and test results associated with specific task


Query the test results of task

GET
/api/v1/task/{taskType}/{targetId}/{testType}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

taskType*

Task type

类型string
必填
枚举
"REQUIREMENT""STORY""TASK""BUG""API_TEST""SCENARIO_TEST"
targetId*

Associated api or scenario id

类型integer
必填
format"int64"
testType*

Test type

类型string
必填
枚举
"PERFORMANCE""FUNCTIONAL""STABILITY""CUSTOMIZATION"

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the associated target list of task

GET
/api/v1/task/{taskType}/{targetId}/test/association

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

taskType*

Task type

类型string
必填
枚举
"REQUIREMENT""STORY""TASK""BUG""API_TEST""SCENARIO_TEST"
targetId*

Associated api or scenario id

类型integer
必填
format"int64"

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Released under the GPL-3.0 License.