TA的每日心情 | 开心 2015-5-5 13:21 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
NewParam和NewParam_3需要从数据库取数据,sql脚本如下
select flow_no,workitem_ins_id
from rt_workiteminst a,BUS_SER_COMPLAIN b
where a.current_state=1 and a.user_name = 'test'
and a.PROC_INSTANCE_ID=b.PROC_ID
order by b.flow_no
loadrunner脚本如下
web_link("{NewParam}",
"Text={NewParam}",
"Snapshot=t7.inf",
EXTRARES,
"Url=stylesheet/blue_style/images/head_bg1.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={{NewParam_3}}", ENDITEM,
"Url=stylesheet/blue_style/images/logo.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/line1.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/tab3.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/tab4.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/tab2.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/line3.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
"Url=stylesheet/blue_style/images/line2.gif", "Referer=http://192.168.217.187:8080/webbusiness/direction.do?wid={NewParam_3}", ENDITEM,
LAST);
现在存在flow_no相同但workitem_ins_id 不同的记录,但相同的记录中有一条执行不成功(但loadrunner提示成功)。该脚本实现选择如OA的代办件。 |
|