加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
通用脚本.csv 2.72 KB
一键复制 编辑 原始数据 按行查看 历史
wuhuhuan 提交于 2023-05-10 10:32 . һύ
casetitle,casename,caseType(用例类型),agreement(参数http\https)/初始条件,ip(域名)/操作步骤,port(端口号)/预期结果,uri(路径)实际结果,method(参数有GET\POST\PUT等)/备注,type(参数1|2)1:json2:formdata,param(json格式参数)/回归测试,hearder,"filePath({""ParameterName"":""文件名|参数名|MIME类型""})",reponse,exp,expHeader,relationParam,isEncoded(参数y/n)/备注,encryptionName,packageName,encryptionMethod,"encryptPostion(1:header,2:body\param,3:全部替换)",encryptionNameRes,packageNameRes,encryptionMethodRes,variable,sleep,recommend,version,json全断言,过滤字段用(多个用||分割)
测试项名1,get响应解密-aes解密,,http,localhost,8877,/v1/reponseEncrypt,GET,2,"{""param1"": ""707106129"",""param2"":""1043835281""}","{""content-type"": ""application/json;charset=UTF-8""}",,,,,,n,,,,,响应解密,com.testcomTemple.util.AESCoder,decrypt[qwertyuiop@12345|response_data],,,,4.1.2,,
测试项名1,get参数md5加密,,http,localhost,8877,/v1/paramEncrypt,GET,2,"{""param1"": ""707106129"",""param2"":""1043835281""}","{""content-type"": ""application/json;charset=UTF-8""}",,,,,,n,参数加密,com.testcomTemple.util.paramEncryptUtil,paramsEncrypts[param1|param2],"2,1",,,,,,,4.1.2,,
测试项名1,上传图片接口,,http,localhost,8877,/v1/editMovieInfo,POST,1,,,"{""ParameterName"":""C:\\Users\\wuhuhuan\\Pictures\\timg.jpg|file|MultipartFile/form-data""}","{""code"":""200"",""message"":""上传成功1!""}",,,"{""message"":""message1"",""code"":""message6""}",n,,,,,,,,,,,,,
测试项名1,关联测试-get请求测试是否关联生效,,http,www.baidu.com,80,/,GET,2,"{""isVIP"": ""${message1}顶顶顶顶${message1}"",""chinese"": ""chinese顶顶顶顶""}","{""appId"":""${message6}"",""appId1"":""${message1}""}",,,,,,n,,,,,,,,,,,4.1.2,,
测试项名1,关联测试-post请求测试是否关联生效,,http,www.baidu.com,80,/,POST,1,"{""isVIP"": ""${message1}顶顶顶顶${message1}"",""chinese"": ""chinese顶顶顶顶""}","{""appId"":""${message1}"",""appId3"":""${message3}""}",,,,,,n,,,,,,,,"{""message2"":""message2"",""message3"":""message3""}",,,4.1.2,,
测试项名1,variable变量赋值,,http,www.baidu.com,80,/,POST,1,"{""isVIP"": ""${message1}顶顶顶顶${message1}""}","{""appId"":""${message1}""}",,,,,,n,,,,,,,,,2000,,4.1.2,,
测试项名1,sleep参数测试,,http,www.baidu.com,80,/,POST,1,"{""isVIP"": ""${message2}顶顶顶顶${message1}""}","{""appId"":""${message1}""}",,,,,,n,,,,,,,,,,,4.1.2,,
测试项名1,测试isEncoded-post,,http,www.baidu.com,80,/,POST,1,"{""isVIP"": ""${message1}顶顶顶顶"",""chinese"": ""chinese顶顶顶顶""}","{""appId"":""${message1}""}",,,,,,y,,,,,,,,,,,4.1.2,,
测试项名1,测试isEncoded-get,,http,www.baidu.com,80,/,GET,2,"{""isVIP"": ""${message1}顶顶顶顶"",""chinese"": ""chinese顶顶顶顶""}","{""appId"":""${message1}""}",,,,,,y,,,,,,,,,,,4.1.2,,
测试项名1,用例名,1,初始条件,操作步骤,预期结果,实际结果,备注,,回归测试,,,,,,,备注,,,,,,,,,,,4.1.2,,
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化