Skip to content

FuncCase

Test Case Information Management - Centralized control for maintaining test case details (steps, expected results, preconditions)


Query the list of functional test cases

GET
/api/v1/func/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

查询参数

id
类型integer
格式"int64"
projectId*

Project id

类型integer
必填
格式"int64"
planId
类型integer
格式"int64"
moduleId
类型integer
格式"int64"
apisId
类型integer
格式"int64"
tagId
类型integer
格式"int64"
name
类型string
code
类型string
softwareVersion
类型string
testerId
类型integer
格式"int64"
developerId
类型integer
格式"int64"
unplanned
类型boolean
priority
类型string
有效值
"HIGHEST""HIGH""MEDIUM""LOW""LOWEST"
overdue
类型boolean
deadlineDate
类型string
格式"date-time"
reviewerId
类型integer
格式"int64"
reviewDate
类型string
格式"date-time"
reviewStatus
类型string
有效值
"PENDING""PASSED""FAILED"
reviewNum
类型integer
格式"int32"
testNum
类型integer
格式"int32"
testFailNum
类型integer
格式"int32"
testResult
类型string
有效值
"PENDING""PASSED""NOT_PASSED""BLOCKED""CANCELED"
testResultHandleDate
类型string
格式"date-time"
protocol
类型string
有效值
"http""https""ws""wss"
method
类型string
有效值
"GET""HEAD""POST""PUT""PATCH""DELETE""OPTIONS""TRACE"
endpoint
类型string
createdBy
类型integer
格式"int64"
createdDate
类型string
格式"date-time"
lastModifiedBy
类型integer
格式"int64"
lastModifiedDate
类型string
格式"date-time"
favouriteBy
类型integer
格式"int64"
followBy
类型integer
格式"int64"
commentBy
类型integer
格式"int64"
pageNo

Page data size, default 1, maximum 100000

类型integer
格式"int32"
最大值100000
最小值1
pageSize

Page data size, default 10, maximum 2000

类型integer
格式"int32"
最大值2000
最小值1
orderBy

Sort field

类型string
orderSort

Sorting method

类型string
有效值
"ASC""DESC"
filters[0].key

Filter field name

类型string
filters[0].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[0].value

Filter value

filters[1].key

Filter field name

类型string
filters[1].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[1].value

Filter value

filters[2].key

Filter field name

类型string
filters[2].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[2].value

Filter value

infoScope

Query information scope

类型string
有效值
"BASIC""DETAIL"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Replace functional test cases

PUT
/api/v1/func/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"id": 0,
"name": "string",
"planId": 0,
"moduleId": 0,
"softwareVersion": "string",
"priority": "string",
"deadlineDate": "string",
"evalWorkload": 0,
"actualWorkload": 0,
"precondition": "string",
"stepView": "string",
"steps": [
{
"step": "string",
"expectedResult": "string"
}
],
"description": "string",
"developerId": 0,
"testerId": 0,
"tagIds": [
0
],
"attachments": [
{
"name": "string",
"url": "string"
}
],
"refTaskIds": [
0
],
"refCaseIds": [
0
]
}
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Add functional test cases

POST
/api/v1/func/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"name": "string",
"planId": 0,
"moduleId": 0,
"softwareVersion": "string",
"priority": "string",
"deadlineDate": "string",
"evalWorkload": 0,
"precondition": "string",
"stepView": "string",
"steps": [
{
"step": "string",
"expectedResult": "string"
}
],
"description": "string",
"developerId": 0,
"testerId": 0,
"tagIds": [
0
],
"attachments": [
{
"name": "string",
"url": "string"
}
],
"refTaskIds": [
0
],
"refCaseIds": [
0
]
}
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Delete functional test cases

DELETE
/api/v1/func/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
0
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Update functional test cases

PATCH
/api/v1/func/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"id": 0,
"name": "string",
"moduleId": 0,
"softwareVersion": "string",
"priority": "string",
"deadlineDate": "string",
"evalWorkload": 0,
"actualWorkload": 0,
"precondition": "string",
"stepView": "string",
"steps": [
{
"step": "string",
"expectedResult": "string"
}
],
"description": "string",
"developerId": 0,
"testerId": 0,
"tagIds": [
0
],
"attachments": [
{
"name": "string",
"url": "string"
}
],
"refTaskIds": [
0
],
"refCaseIds": [
0
]
}
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Replace the tester of case

PUT
/api/v1/func/case/{id}/tester

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Task id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"testerId": 0
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Replace the tags of functional test cases

PUT
/api/v1/func/case/{id}/tag

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"tagIds": [
0
]
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Replace the software version of functional test case

PUT
/api/v1/func/case/{id}/software/version

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"softwareVersion": "string"
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Replace the priority of functional test cases

PUT
/api/v1/func/case/{id}/priority/{priority}

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"
priority*

Case priority

类型string
必填
有效值
"HIGHEST""HIGH""MEDIUM""LOW""LOWEST"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Replace the name of functional test cases

PUT
/api/v1/func/case/{id}/name

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

name*

New case name

类型string
必填

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Replace the eval workload of functional test cases

PUT
/api/v1/func/case/{id}/evalWorkload

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"workload": 0
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Replace the deadline of functional test cases

PUT
/api/v1/func/case/{id}/deadline/{deadline}

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"
deadline*

Case deadline

类型string
必填
格式"date-time"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Replace attachment the functional test cases

PUT
/api/v1/func/case/{id}/attachment

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"attachments": [
{
"name": "string",
"url": "string"
}
]
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Associate the tasks of the case

PUT
/api/v1/func/case/{id}/association/task

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

assocTaskIds*
类型array
必填
最大项数200
最小项数0
唯一项true

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Cancel the association tasks of the case

PUT
/api/v1/func/case/{id}/association/task/cancel

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

assocTaskIds*
类型array
必填
最大项数200
最小项数0
唯一项true

响应

Cancel successfully

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Associate the cases of the case

PUT
/api/v1/func/case/{id}/association/case

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

assocCaseIds*
类型array
必填
最大项数200
最小项数0
唯一项true

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Cancel the association cases of the case

PUT
/api/v1/func/case/{id}/association/case/cancel

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

assocCaseIds*
类型array
必填
最大项数200
最小项数0
唯一项true

响应

Cancel successfully

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Replace the actual workload of functional test cases

PUT
/api/v1/func/case/{id}/actualWorkload

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

请求体

application/json
JSON
{
"workload": 0
}

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Replace the result of functional test cases

PUT
/api/v1/func/case/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"id": 0,
"testResult": "string",
"evalWorkload": 0,
"actualWorkload": 0,
"testRemark": "string"
}
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Update the result of functional test cases

PATCH
/api/v1/func/case/result

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
{
"id": 0,
"testResult": "string",
"evalWorkload": 0,
"actualWorkload": 0,
"testRemark": "string"
}
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Import the functional test cases

POST
/api/v1/func/case/import

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

multipart/form-data
object

Import plan id

格式"int64"

Strategy for handling duplicate apis. The COVER value overrides the local api, and the IGNORE value ignores the synchronization current api

有效值"COVER""IGNORE"

Import task file, only support excel file

格式"binary"

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Import the functional test cases example

POST
/api/v1/func/case/example/import

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

查询参数

projectId*

Project id

类型integer
必填
格式"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Clone the functional test cases

POST
/api/v1/func/case/clone

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
0
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Retest functional test cases, set the test as pending and skip the review when there is a review

PATCH
/api/v1/func/case/result/retest

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
0
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Reset the result of test result

PATCH
/api/v1/func/case/result/reset

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
[
0
]

响应

OK

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

试验场

授权
主体

示例

cURL
JavaScript
PHP
Python

Move the case to another plan

PATCH
/api/v1/func/case/move

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

查询参数

targetPlanId*

Target plan id

类型integer
必填
格式"int64"

请求体

application/json
JSON
[
0
]

响应

OK

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

试验场

授权
变量
主体

示例

cURL
JavaScript
PHP
Python

Query the detail of functional test cases

GET
/api/v1/func/case/{id}

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case ID

类型integer
必填
格式"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the not associated tasks list of task

GET
/api/v1/func/case/{id}/task/notAssociated

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

moduleId

Module id

类型integer
格式"int64"
taskType

Task type

类型string
有效值
"REQUIREMENT""STORY""TASK""BUG""API_TEST""SCENARIO_TEST"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the functional case info list of review

GET
/api/v1/func/case/{id}/review

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case ID

类型integer
必填
格式"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Query the not associated cases list of task

GET
/api/v1/func/case/{id}/case/notAssociated

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

路径参数

id*

Case id

类型integer
必填
格式"int64"

查询参数

moduleId

Module id

类型integer
格式"int64"

响应

OK

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

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python

Fulltext search the list of functional test cases

GET
/api/v1/func/case/search
UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

查询参数

id
类型integer
格式"int64"
projectId*

Project id

类型integer
必填
格式"int64"
planId
类型integer
格式"int64"
moduleId
类型integer
格式"int64"
apisId
类型integer
格式"int64"
tagId
类型integer
格式"int64"
name
类型string
code
类型string
softwareVersion
类型string
testerId
类型integer
格式"int64"
developerId
类型integer
格式"int64"
unplanned
类型boolean
priority
类型string
有效值
"HIGHEST""HIGH""MEDIUM""LOW""LOWEST"
overdue
类型boolean
deadlineDate
类型string
格式"date-time"
reviewerId
类型integer
格式"int64"
reviewDate
类型string
格式"date-time"
reviewStatus
类型string
有效值
"PENDING""PASSED""FAILED"
reviewNum
类型integer
格式"int32"
testNum
类型integer
格式"int32"
testFailNum
类型integer
格式"int32"
testResult
类型string
有效值
"PENDING""PASSED""NOT_PASSED""BLOCKED""CANCELED"
testResultHandleDate
类型string
格式"date-time"
protocol
类型string
有效值
"http""https""ws""wss"
method
类型string
有效值
"GET""HEAD""POST""PUT""PATCH""DELETE""OPTIONS""TRACE"
endpoint
类型string
createdBy
类型integer
格式"int64"
createdDate
类型string
格式"date-time"
lastModifiedBy
类型integer
格式"int64"
lastModifiedDate
类型string
格式"date-time"
favouriteBy
类型integer
格式"int64"
followBy
类型integer
格式"int64"
commentBy
类型integer
格式"int64"
pageNo

Page data size, default 1, maximum 100000

类型integer
格式"int32"
最大值100000
最小值1
pageSize

Page data size, default 10, maximum 2000

类型integer
格式"int32"
最大值2000
最小值1
orderBy

Sort field

类型string
orderSort

Sorting method

类型string
有效值
"ASC""DESC"
filters[0].key

Filter field name

类型string
filters[0].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[0].value

Filter value

filters[1].key

Filter field name

类型string
filters[1].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[1].value

Filter value

filters[2].key

Filter field name

类型string
filters[2].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[2].value

Filter value

infoScope

Query information scope

类型string
有效值
"BASIC""DETAIL"

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}
授权
变量
cURL
JavaScript
PHP
Python

Export the functional test cases by conditions

GET
/api/v1/func/case/export

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

参数

查询参数

id
类型integer
格式"int64"
projectId*

Project id

类型integer
必填
格式"int64"
planId
类型integer
格式"int64"
moduleId
类型integer
格式"int64"
apisId
类型integer
格式"int64"
tagId
类型integer
格式"int64"
name
类型string
code
类型string
softwareVersion
类型string
testerId
类型integer
格式"int64"
developerId
类型integer
格式"int64"
unplanned
类型boolean
priority
类型string
有效值
"HIGHEST""HIGH""MEDIUM""LOW""LOWEST"
overdue
类型boolean
deadlineDate
类型string
格式"date-time"
reviewerId
类型integer
格式"int64"
reviewDate
类型string
格式"date-time"
reviewStatus
类型string
有效值
"PENDING""PASSED""FAILED"
reviewNum
类型integer
格式"int32"
testNum
类型integer
格式"int32"
testFailNum
类型integer
格式"int32"
testResult
类型string
有效值
"PENDING""PASSED""NOT_PASSED""BLOCKED""CANCELED"
testResultHandleDate
类型string
格式"date-time"
protocol
类型string
有效值
"http""https""ws""wss"
method
类型string
有效值
"GET""HEAD""POST""PUT""PATCH""DELETE""OPTIONS""TRACE"
endpoint
类型string
createdBy
类型integer
格式"int64"
createdDate
类型string
格式"date-time"
lastModifiedBy
类型integer
格式"int64"
lastModifiedDate
类型string
格式"date-time"
favouriteBy
类型integer
格式"int64"
followBy
类型integer
格式"int64"
commentBy
类型integer
格式"int64"
pageNo

Page data size, default 1, maximum 100000

类型integer
格式"int32"
最大值100000
最小值1
pageSize

Page data size, default 10, maximum 2000

类型integer
格式"int32"
最大值2000
最小值1
orderBy

Sort field

类型string
orderSort

Sorting method

类型string
有效值
"ASC""DESC"
filters[0].key

Filter field name

类型string
filters[0].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[0].value

Filter value

filters[1].key

Filter field name

类型string
filters[1].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[1].value

Filter value

filters[2].key

Filter field name

类型string
filters[2].op

Filter condition (EQUAL, NOT_EQUAL, GREATER_THAN, etc.)

类型string
有效值
"GREATER_THAN""LESS_THAN""GREATER_THAN_EQUAL""LESS_THAN_EQUAL""EQUAL""NOT_EQUAL""MATCH""MATCH_END""NOT_MATCH""NOT_MATCH_END""IN""NOT_IN""IS_NULL""IS_NOT_NULL"
filters[2].value

Filter value

infoScope

Query information scope

类型string
有效值
"BASIC""DETAIL"

响应

OK

*/*

试验场

授权
变量

示例

cURL
JavaScript
PHP
Python