Commit 6ce9f3f2 authored by 王超's avatar 王超

更新

parent 9ac02f1c
......@@ -40,6 +40,7 @@
#获取随机数的方法
def get_random_number(self,min,max):
return random.randint(int(min),int(max))
引用格式:${函数名(参数1,参数2)}
6.断言:
1)实际值等于预期值,关键字:equals
用法: equals: {status_code: 200}
......@@ -79,5 +80,12 @@
1. 读取yaml文件报:expected ',' or '}', but got '{'
解决方式:格式异常,需改为yaml格式
10、典型示例:
1)上传文件:testcase/A3_9_API_Interconnection/import_apilist.yml,导入api接口
testcase/A3_9_API_Interconnection/create_tunnel.yml,导入变量
2)数据驱动:testcase/3_VariableManagement/creat_io_variable.yml
3)断言:testcase/3_VariableManagement/creat_io_variable.yml
testcase/1_EngineeringManagement/data_check(data_clear).yml.yml
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment