Skip to content

ExecutionResult

User Test Results API - End-user access to test artifacts: services, interfaces, executions, scripts, scenarios


Query the execution test result

GET
/api/v1/exec/{execId}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

execId*

Execution id

类型integer
必填
format"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution apis test result of services

GET
/api/v1/exec/service/{serviceId}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

serviceId*

Service id

类型integer
必填
format"int64"

查询参数

creatorObjectType

Query organization type, default USER

类型string
枚举
"USER""DEPT""GROUP"
creatorObjectId

Query organization id

类型integer
format"int64"
createdDateStart

Resources creation start date

类型string
format"date-time"
createdDateEnd

Resources creation end date

类型string
format"date-time"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the scenario execution test result by script type

GET
/api/v1/exec/scenario/{scenarioId}/{scriptType}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

scenarioId*

Scenario id

类型integer
必填
format"int64"
scriptType*

Script type

类型string
必填

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution test result of scenario

GET
/api/v1/exec/scenario/{scenarioId}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

scenarioId*

Scenario id

类型integer
必填
format"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution scenario test result of project

GET
/api/v1/exec/project/{projectId}/scenario/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

projectId*

Project id

类型integer
必填
format"int64"

查询参数

creatorObjectType

Query organization type, default USER

类型string
枚举
"USER""DEPT""GROUP"
creatorObjectId

Query organization id

类型integer
format"int64"
createdDateStart

Resources creation start date

类型string
format"date-time"
createdDateEnd

Resources creation end date

类型string
format"date-time"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution apis test result of project

GET
/api/v1/exec/project/{projectId}/apis/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

projectId*

Project id

类型integer
必填
format"int64"

查询参数

creatorObjectType

Query organization type, default USER

类型string
枚举
"USER""DEPT""GROUP"
creatorObjectId

Query organization id

类型integer
format"int64"
createdDateStart

Resources creation start date

类型string
format"date-time"
createdDateEnd

Resources creation end date

类型string
format"date-time"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution result of case

GET
/api/v1/exec/case/{caseId}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

caseId*

Case id

类型integer
必填
format"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the apis execution test result by script type

GET
/api/v1/exec/apis/{apiId}/{scriptType}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

apiId*

Apis id

类型integer
必填
format"int64"
scriptType*

Script type

类型string
必填

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the execution test result of apis

GET
/api/v1/exec/apis/{apiId}/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

apiId*

Apis 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.