|
web_submit_data("ybqkStudentInfAction.do_3",
"Action=http://192.168.10.70:8088/ybqk/ybqkStudentInfAction.do",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/html",
"Referer=http://192.168.10.70:8088/ybqk/ybqkStudentInfAction.do?act=forAll",
"Snapshot=t12.inf",
"Mode=HTML",
ITEMDATA,
"Name=act", "Value=importStudentall", ENDITEM,
"Name=file", "Value=D:\\test\\{filename}", "File=yes", ENDITEM,
LAST);
web_url("My97DatePicker.htm_7",
"URL=http://192.168.10.70:8088/ybqk/DatePicker/My97DatePicker.htm",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.70:8088/ybqk/ybqkStudentInfAction.do",
"Snapshot=t13.inf",
"Mode=HTML",
EXTRARES,
"Url=lang/zh-cn.js", ENDITEM,
"Url=skin/blue/datepicker.css", ENDITEM,
"Url=skin/default/datepicker.css", ENDITEM,
"Url=skin/whyGreen/datepicker.css", ENDITEM,
"Url=skin/default/img.gif", ENDITEM,
LAST);
lr_end_transaction("upload", LR_AUTO);
将上传文件进行参数化,用file,create table设置了30个参数;在脚本中也设置了集合点,没有设置迭代。
在controller中让此脚本跑半个小时,且设置30个user同时并发运行,如何让30个user取到的都是不同的文件名??? |
|