51Testing软件测试论坛
标题:
LR11回放无检测到错误,但数据库未生成新数据
[打印本页]
作者:
MelodyJJ
时间:
2016-1-18 16:07
标题:
LR11回放无检测到错误,但数据库未生成新数据
LR11回放无检测到错误,但数据库未生成新数据,以下为关联部分脚本,回放无误,但不懂是否正确,求指导
,万分感激
web_reg_save_param("acc",
"RB=\"",
"LB=\"access_token\":\"",
"Search=Body",
"ORD=1",
LAST);
web_custom_request("accessToken",
"URL=http://120.132.154.76:8888/wlpt/v1/accessToken",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/json",
"Referer=",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=application/json;charset=UTF-8;",
"Body={\"clientId\":\"c1ebe466-1cdc-4bd3-ab69-77c3561b9dee\",\"clientSecret\":\"d8346ea2-6017-43ed-ad68-19c0f971738b\",\"code\":\"143edda15df733f8acf1ef89eafe2c22\",\"grantType\":\"authorization_code\",\"clientType\":\"net\"}",
LAST);
web_custom_request("userInfo",
"URL=http://120.132.154.76:8888/wlpt/v1/userInfo",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/json",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=application/json;charset=UTF-8;",
"Body={\"accessToken\":\"{acc}\"}",
LAST);
作者:
远方的小企鹅
时间:
2016-1-18 17:38
日志里有没有提示Saving Parameter=多少?有的话在URL手动输入下看能不能找到
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2