文档
测试

运行场景用例

POST
api//run-scenario-case/

请求头

参数名
类型
描述
必填
application/x-www-form-urlencoded
application/x-www-form-urlencoded
必填

请求参数

参数名
类型
描述
必填
case_group_id
int
场景用例组的id
必填

响应参数

参数名
类型
描述
必填
0
object
数据字典
必填
id
int
示例:1
必填
case_name
string
示例:获取手机号
必填
request_method
string
示例:get
必填
request_params
string
示例:
必填
request_header
string
示例:{'Content-Type':'application/x-www-form-urlencoded'}
必填
request_body_type
string
示例:
必填
request_body
string
示例:
必填
expected_results
string
示例:13028240617
必填
reality_results
string
示例:13028240617
必填
pass_results
boolean
示例:true
必填
assertion_mode
string
示例:包含
必填
excute_env
string
示例:http://127.0.0.1:8000/
必填
wait_time
object
示例:null
必填
regular_expression
string
示例:开启
必填
regular_variable
string
示例:不开启
必填
regular_template
string
示例:{'phone':'13028240617'}
必填
response_code
string
示例:200
必填
create_time
string
示例:2020-12-08T08:17:57.541327Z
必填
update_time
string
示例:2020-12-08T08:17:57.541327Z
必填
request_parameter_variable
object
示例:null
必填
request_variable
string
示例:
必填
order
int
示例:1
必填
case_group
object
示例:null
必填
interface_address
object
示例:null
必填
1
object
数据字典
必填
id
int
示例:2
必填
case_name
string
示例:个人信息
必填
request_method
string
示例:post
必填
request_params
string
示例:
必填
request_header
string
示例:{'Content-Type':'application/x-www-form-urlencoded'}
必填
request_body_type
string
示例:
必填
request_body
string
示例:phone=${phone}
必填
expected_results
string
示例:我的手机号是13028240617
必填
reality_results
string
示例:我的手机号是13028240617
必填
pass_results
boolean
示例:true
必填
assertion_mode
string
示例:包含
必填
excute_env
string
示例:http://127.0.0.1:8000/
必填
wait_time
object
示例:null
必填
regular_expression
string
示例:不开启
必填
regular_variable
string
示例:开启
必填
regular_template
string
示例:
必填
response_code
string
示例:200
必填
create_time
string
示例:2020-12-08T08:18:16.158729Z
必填
update_time
string
示例:2020-12-08T08:18:16.158729Z
必填
request_parameter_variable
string
示例:${phone}
必填
request_variable
string
示例:
必填
order
int
示例:2
必填
case_group
object
示例:null
必填
interface_address
object
示例:null
必填