moyudong 发表于 2012-10-29 17:29:00

OA系统如何测试发送公文的性能呢?

本帖最后由 moyudong 于 2012-11-2 10:06 编辑

OA系统如何测试发送公文的性能呢?
还是像“查询”、“登录”事务一样么?
录制了在点击发送按钮时,发送公文事务的脚本
lr_rendezvous("send");
lr_start_transaction("send");
web_submit_data("waittingDoc.do",
"Action=http://172.16.28.9/missive/waittingDoc.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://172.16.28.9/missive/waittingDoc.do?op=process&type=common&workitemId=578976&instId=78554&isSms=0",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=checkRtx", "Value=", ENDITEM,
"Name=checkSms", "Value=", ENDITEM,
"Name=checkMail", "Value=", ENDITEM,
"Name=workitemId", "Value=578976", ENDITEM,
"Name=instId", "Value=78554", ENDITEM,
"Name=type", "Value=common", ENDITEM,
"Name=sendtarget", "Value=60115;345,杨旭辉,2;:", ENDITEM,
"Name=op", "Value=send", ENDITEM,
EXTRARES,
"Url=../common/styles/default/images/Gwcl_TopBarBg.gif", "Referer=http://172.16.28.9/missive/processing/workitem/Form.do?action=docInstToolsView&docInstId=0&workItemId=0&formSetId=2&nextWorkItemId=0", ENDITEM,
"Url=../common/styles/default/images/gwcl_toolbarbg.gif", "Referer=http://172.16.28.9/missive/processing/workitem/Form.do?action=docInstToolsView&docInstId=0&workItemId=0&formSetId=2&nextWorkItemId=0", ENDITEM,
"Url=../common/styles/default/images/SendBgline.gif", "Referer=http://172.16.28.9/missive/processing/workitem/Form.do?action=docInstToolsView&docInstId=0&workItemId=0&formSetId=2&nextWorkItemId=0", ENDITEM,
"Url=../common/styles/default/images/Gwcl_TopBarBlock.gif", "Referer=http://172.16.28.9/missive/processing/workitem/Form.do?action=docInstToolsView&docInstId=0&workItemId=0&formSetId=2&nextWorkItemId=0", ENDITEM,
LAST);
lr_end_transaction("send",LR_AUTO);

我觉得能录到脚本,说明已经捕捉到了发送这个功能传给服务器的请求了,是不是?
但是,我回放和运行这个脚本的时候,发送者的发件箱是有很多发送的公文,但是收件箱里面只有我录制时产生的那一份而已,怎么解释?

觉得这个“发送”和“下载”是不是有点儿类似?

ljj149850508 发表于 2012-10-31 14:30:25

需要关联一下~!

moyudong 发表于 2012-11-2 10:03:28

回复 2# ljj149850508


    关联?具体是什么?讲解下思路好么?
页: [1]
查看完整版本: OA系统如何测试发送公文的性能呢?