|
设置了五个虚拟用户,每次都找不到检查点,求大神帮忙看看,谢谢你们了,Action()
{
lr_rendezvous("同时登陆注册");
lr_start_transaction("登陆注册事务");
web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST);
web_link("sign up now",
"Text=sign up now",
"Snapshot=t2.inf",
LAST);
web_submit_form("login.pl",
"Snapshot=t3.inf",
ITEMDATA,
"Name=username", "Value={username}", ENDITEM,
"Name=password", "Value={passward}", ENDITEM,
"Name=passwordConfirm", "Value={password2}", ENDITEM,
"Name=firstName", "Value={firstname}", ENDITEM,
"Name=lastName", "Value={LastName}", ENDITEM,
"Name=address1", "Value={address1}", ENDITEM,
"Name=address2", "Value={address2}", ENDITEM,
"Name=register.x", "Value=55", ENDITEM,
"Name=register.y", "Value=12", ENDITEM,
LAST);
web_find("检查点","What={username}",LAST);
lr_end_transaction("登陆注册事务", LR_AUTO);
return 0;
} |
|