|
录制loadrunner自带的实例,然后手动添加检查点,回放时候报错,如下图
web_reg_find("Text=jojo",
LAST );
web_submit_data("login.pl",
"Action=http://127.0.0.1:1080/WebTours/login.pl",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://127.0.0.1:1080/WebTours/nav.pl?in=home",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=userSession", "Value={username}", ENDITEM,
"Name=username", "Value=jojo", ENDITEM,
"Name=password", "Value=bean", ENDITEM,
回放之后,错误提示如下:
Action.c(30): Error -26366: "Text=jojo" not found for web_reg_find [MsgId: MERR-26366]
Action.c(30): web_submit_data("login.pl") highest severity level was "ERROR", 795 body bytes, 225 header bytes [MsgId: MMSG-26388] |
|