请各为什么我录制的脚本无法实现多个用户执行说说功能(类似博客的说说功能)
本帖最后由 叶子好 于 2011-10-4 14:26 编辑vuser_init()
{
web_url("BrokerLogin",
"URL=http://**/Account/BrokerLogin",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=../style/h-ie8.css", ENDITEM,
"Url=../images/ui-bg.png", ENDITEM,
"Url=../images/ui-bg.gif", ENDITEM,
LAST);
web_submit_form("BrokerLogin_2",
"Snapshot=t2.inf",
ITEMDATA,
"Name=emailAccount", "Value={NewParam}", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
"Name=IsAutoLogin", "Value=<OFF>", ENDITEM,
EXTRARES,
LAST);
return 0;
}
以上是登陆脚本
Action()
{
web_link("我的关注(10+)",
"Text=我的关注(10+)",
"Snapshot=t4.inf",
EXTRARES,
"URL=/images/bd-bg.png", ENDITEM,
"URL=/images/ui-bg.png", ENDITEM,
"URL=/images/ui-bg.gif", ENDITEM,
"URL=/images/content-bg.png", ENDITEM,
"URL=/BrokerHome/GetFollowerShortList?brokerId={NewParam_1}", ENDITEM,
"URL=/images/loading9.gif", ENDITEM,
LAST);
web_submit_data("AddShuoShuo",
"Action=http://**/BrokerHome/AddShuoShuo",
"Method=POST",
"RecContentType=application/json",
"Referer=http://**/b/{NewParam}/MyFollow",
"Mode=HTML",
ITEMDATA,
"Name=content", "Value=您好,我是小李1,请大家多多关注我", ENDITEM,
LAST);
web_url("MyFollow",
"URL=http://**/b/{NewParam}/MyFollow",
"Resource=0",
"RecContentType=text/html",
"Referer=http://**/b/{NewParam}",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"URL=/images/bd-bg.png", ENDITEM,
"URL=/images/ui-bg.png", ENDITEM,
"URL=/images/ui-bg.gif", ENDITEM,
"URL=/BrokerHome/GetFollowerShortList?brokerId={NewParam_1}", ENDITEM,
"URL=/images/content-bg.png", ENDITEM,
LAST);
return 0;
}
以上是说说的录制脚本
vuser_end()
{
web_link("注销",
"Text=注销",
"Snapshot=t6.inf",
EXTRARES,
LAST);
return 0;
}
以上是注销的录制脚本
我用场景执行以上脚本,用户群是10个,但是执行场景之后,发现只有第一个用户有执行说说,我是希望10个用户都能执行说说功能 一般来说应该是你参数化的问题 嗯,确实是参数化的问题,我问了位高手重新设置一下就行了 参数化 :Q正确的应该是什么样子哇? 路过
页:
[1]