我使用Loadrunner Siebel Web协议录制了Siebel CRM。 我在录制脚本时使用了Siebel关联库。 重播对于单次迭代来说是成功的。
但是当我们运行多次迭代时,脚本只会在后续迭代中传递第一次迭代和faling。
我的代码:
web_submit_data("start.swe_28",
"Action=https://IP_siebel/oa/start.swe",
"Method=POST",
"TargetFrame=",
"RecContentType=text/html",
"Referer=",
"Snapshot=t30.inf",
"Mode=HTML",
ITEMDATA,
"Name=SWER", "Value=0", ENDITEM,
"Name=SWEVI", "Value=", ENDITEM,
"Name=SWERowId", "Value={Siebel_Star_Array_Op87_rowid}", ENDITEM,
"Name=SWEMethod", "Value=PickRecord", ENDITEM,
"Name=SWEC", "Value={Siebel_SWECount}", ENDITEM,
"Name=SWEReqRowId", "Value=1", ENDITEM,
"Name=SWERPC", "Value=1", ENDITEM,
"Name=SWENeedContext", "Value=false", ENDITEM,
"Name=SWEApplet", "Value=ATC Cash Product Pick Applet", ENDITEM,
"Name=SWEView", "Value=ATC Opty Cash CC View", ENDITEM,
"Name=SWEField", "Value=s_8_1_73_0", ENDITEM,
"Name=SWECmd", "Value=InvokeMethod", ENDITEM,
"Name=SWESP", "Value=false", ENDITEM,
"Name=SWEBID", "Value=-1", ENDITEM,
"Name=SWETS", "Value={SiebelTimeStamp}", ENDITEM,
"Name=SWEDIC", "Value=true", ENDITEM,
"Name=SWEP", "Value=26_ATC Cash Credit Calculator Form Applet9_EditField{Siebel_Star_Array_Op73_rowid_Length}_{Siebel_Star_Array_Op73_rowid}9_s_5_1_7_02_16", ENDITEM,
"Name=SWERowIds", "Value=SWERowId0={Siebel_Star_Array_Op73_rowid}", ENDITEM,
LAST);
Siebel错误(SBL-UIF-00313)
错误文字:
Step2.c(450):错误-26372:ContentCheck规则 " Status_Error1"在申请" Siebel"触发。文本 "
Status
Error`"匹配(计数= 1)[MsgId:MERR-26372] Step2.c(450):web_submit_data(" start.swe_28")最高 严重性级别是" ERROR",474个主体字节,259个头字节[MsgId: MMSG-26388]结束行动Step2_CreateZajavka。
我认为错误"名称= SWEP","值= 26_ATC现金积分计算器表单Applet9_EditField {Siebel_Star_Array_Op73_rowid_Length} _ {Siebel_Star_Array_Op73_rowid} 9_s_5_1_7_02_16",ENDITEM,
在第一次迭代中 {Siebel_Star_Array_Op73_rowid} = 3-1FGSAY3 在第二次迭代中 {Siebel_Star_Array_Op73_rowid} = [ID] =" 3-1FGEAY8"
我如何关联这个或删除错误的符号([ID] =)? 拜托,帮助我!
答案 0 :(得分:0)
然后你有一些额外的动态元素要解决。
http://www.perfbytes.com/dynamic-data-correlation
在没有手动技能的情况下,不要依赖自动化来解决自动化无法解决的任何差距。或者,用一枚银弹来做短手,你仍然需要知道如何确定你的目标是否是狼人。