51Testing软件测试论坛
标题:
loadrunner12web_reg_find()只检查URL内容,不检查请求到的内容为什么
[打印本页]
作者:
佛爷
时间:
2019-8-12 09:27
标题:
loadrunner12web_reg_find()只检查URL内容,不检查请求到的内容为什么
web_reg_find(“Fail=NotFound”,
“Search=Body”,
“SaveCount=count”,
“Text=****” ,
LAST);
web_custom_request("login",
"URL=http://192.168.1.63:10081/****/web/login/login", //我录制的脚本中检查点都只检查这个地址中的内容,没有响应的内容,就是我浏览器把这个地址贴出来显示的什么,就只会查到什么
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://192.168.1.63:10081/******/pages/login/login.html",
"Snapshot=t12.inf",
"Mode=HTTP",
"EncType=application/json;charset=UTF-8",
"Body={\"userName\":\"bwxx\",\"userPassword\":\"1234567\"}",
LAST);
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2