|
loadrunner录入脚本,创建一个申请页面时,页面上会自动生成一个application code(CN1920161000555),这个code每次创建新的页面时,后面的数值都会自动增加1,请问下,我的脚本提交页面信息时,怎么能让这个code 也动态增加,而不是第一次录制的那个code。
web_url("ajaxChangeMonth",
"URL=http://58.2.221.193:18080/BMT/process/ajaxChangeMonth? applicationCode=CN092016100569&month=9&lastMonth=9&taskSummary=undefined&approveOrNo=undefined&status=0&callback=jQuery172020533801295511322_1473325818378&_=1473325819533",
"TargetFrame=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://58.2.221.193:18080/BMT/process/newDraft?businessYear=2016®ionCode=BUNE&plantCode=CN09",
"Snapshot=t7.inf",
"Mode=HTML",
EXTRARES,
"URL=../resources/img/tagleft.gif", "Referer=http://58.2.221.193:18080/BMT/process/newDraft?businessYear=2016®ionCode=BUNE&plantCode=CN09", ENDITEM,
"URL=../resources/img/bg.gif", "Referer=http://58.2.221.193:18080/BMT/process/newDraft?businessYear=2016®ionCode=BUNE&plantCode=CN09", ENDITEM,
"URL=../resources/img/tagright.gif", "Referer=http://58.2.221.193:18080/BMT/process/newDraft?businessYear=2016®ionCode=BUNE&plantCode=CN09", ENDITEM,
LAST);
web_add_header("UA-CPU",
"AMD64");
web_url("iecompatviewlist.xml",
"URL=https://iecvlist.microsoft.com/IE11/1434748155000/iecompatviewlist.xml",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t8.inf",
"Mode=HTML",
LAST);
lr_end_transaction("new",LR_AUTO);
/* submit */
lr_start_transaction("submit");
web_submit_data("applicationSubmit",
"Action=http://58.2.221.193:18080/BMT/process/applicationSubmit",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=http://58.2.221.193:18080/BMT/process/newDraft?businessYear=2016®ionCode=BUNE&plantCode=CN09",
"Snapshot=t9.inf",
"Mode=HTML",
ITEMDATA,
"Name=processInstanceId", "Value=", ENDITEM,
"Name=taskInitiatorName", "Value=", ENDITEM,
"Name=taskId", "Value=", ENDITEM,
"Name=status", "Value=0", ENDITEM,
"Name=methodFlag", "Value=draft", ENDITEM,
"Name=taskInitiatorId", "Value=", ENDITEM,
"Name=id", "Value=", ENDITEM,
"Name=taskLogId", "Value=", ENDITEM,
"Name=bottleType", "Value=", ENDITEM,
"Name=taskSummary", "Value=", ENDITEM,
"Name=approveOrNo", "Value=1", ENDITEM,
"Name=newstatus", "Value=", ENDITEM,
"Name=applyCode", "Value=", ENDITEM,
"Name=applicationId", "Value=ba825d415707c7400157090fad782b2f", ENDITEM,
"Name=applicationCode", "Value=CN092016100569", ENDITEM,
"Name=applicationTitle", "Value=BMT0908", ENDITEM,
"Name=regionName", "Value=BUNE", ENDITEM,
|
|