|
9#
楼主 |
发表于 2010-5-20 15:26:17
|
只看该作者
也有本地路径,下面是刚录的脚本,比之前的清楚点:
lr_start_transaction("发送");
web_custom_request("smartweb2.showRPCLoadingTip.d_2",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t179.inf",
"Mode=HTTP",
"Body=skin=liquidblue",
LAST);
web_custom_request("smartweb2.loadFile.d_52",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.loadFile.d?file=/skins/liquidblue/loading.gif",
"Method=GET",
"Resource=1",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Body=file=/skins/liquidblue/loading.gif",
LAST);
web_custom_request("smartweb2.showRPCSubmitter.d_2",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCSubmitter.d",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Snapshot=t180.inf",
"Mode=HTTP",
LAST);
// [WCSPARAM WCSParam_Text1 32 40288a7a28b3c5650128b42455e50046] Parameter {WCSParam_Text1} created by Correlation Studio
web_reg_save_param("WCSParam_Text1",
"LB= value=\"",
"RB=\"",
"Ord=2",
"RelFrameId=1",
"Search=Body",
"IgnoreRedirections=Yes",
LAST);
web_custom_request("marmot.update.d",
"URL=http://192.168.10.250:8081/p/marmot.update.d?__rpc=true&__rpcAgent=true",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCSubmitter.d",
"Snapshot=t181.inf",
"Mode=HTTP",
"Body=__type=updateData&__xml=%3Crpc+transaction%3D%2210%22+method%3D%22insertRecord%22%3E%3Cdef%3E%3Cdataset+type%3D%22wrapper%22+id%3D%22datasetUserMail%22%3E%3Cf+name%3D%22select%22+type%3D%229%22%2F%3E%3Cf+name%3D%22ID%22%2F%3E%3Cf+name%3D%22MAIL_ID%22%2F%3E%3Cf+name%3D%22SENDER_ID%22%2F%3E%3Cf+name%3D%22ADDRESSEE_ID%22%2F%3E%3Cf+name%3D%22STYLE%22%2F%3E%3Cf+name%3D%22CREATED_BY%22%2F%3E%3Cf+name%3D%22CREATION_DATE%22+type%3D%2210%22%2F%3E%3Cf+name%3D%22LAST_UPDATED_BY%22%2F%3E%3Cf+name%3D%22LAST_UPDATE_DATE%22+type%3D%2210%22%2F%3E%3Cf+name%3D%22LAST_UPDATE_IP%22%2F%3E%3Cf+name%3D%22VALID_FLAG%22%2F%3E%3Cf+name%3D%22VERSION%22+type%3D%225%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_01%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_02%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_03%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_04%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_05%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_06%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_07%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_08%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_09%22%2F%3E%3Cf+name%3D%22ATTRIBUTE_10%22%2F%3E%3Cf"
"+name%3D%22MID%22%2F%3E%3Cf+name%3D%22TITLE%22%2F%3E%3Cf+name%3D%22CONTENT%22%2F%3E%3Cf+name%3D%22ADDRESSEELIST_ID%22%2F%3E%3Cf+name%3D%22CREATEDATE%22+type%3D%2210%22%2F%3E%3Cf+name%3D%22COPIERLIST_ID%22%2F%3E%3Cf+name%3D%22SENDER_NAME%22%2F%3E%3Cf+name%3D%22ADDRESSEE_NAME%22%2F%3E%3Cf+name%3D%22ADDRESSEELIST_NAME%22%2F%3E%3Cf+name%3D%22COPIERLIST_NAME%22%2F%3E%3Cf+name%3D%22attachFile%22%2F%3E%3Cf+name%3D%22SECRET_LEVEL%22%2F%3E%3Cps%3E%3Cp+name%3D%22mode%22%3Esubmit%3C%2Fp%3E%3C%2Fps%3E%3C%2Fdataset%3E%3C%2Fdef%3E%3Cdata%3E%3Crs+dataset%3D%22datasetUserMail%22%3E%3Cr+id%3D%2210020%22+state%3D%22insert%22%3E%3Cn%3E%3Cv+s%3D%223%22%3EF88B6279E7F740A78FA6590B33EDDBC0%3C%2Fv%3E%3Cv+s%3D%221%22%3E1%3C%2Fv%3E%3Cv+s%3D%225%22%3E1%3C%2Fv%3E%3Cv+s%3D%2212%22%3Eperformance%3C%2Fv%3E%3Cv%3E%253CP%253Eperformance%253C%2FP%253E%3C%2Fv%3E%3Cv%3EF88B6279E7F740A78FA6590B33EDDBC0%3C%2Fv%3E%3Cv%3E1274332536016%3C%2Fv%3E%3Cv+s%3D%223%22%3E%25u738B%25u9F99%25u5764%3C%2Fv%3E%3Cv+s%3D%222%22%3E1%3C%2Fv%3E%3C%2Fn%3E%3C%2Fr%3E%"
"3C%2Frs%3E%3C%2Fdata%3E%3Cps%3E%3Cp+name%3D%22_resolver%22%3EoaUserMailAction%3C%2Fp%3E%3C%2Fps%3E%3C%2Frpc%3E&__viewInstanceId=avicit.oa.module.pi.userMail.view.oaUserMailSendAdd%7Eorg.marmot.security.dorado.SecurityViewModel",
LAST);
web_custom_request("smartweb2.loadFile.d_53",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.loadFile.d?file=/skins/liquidblue/loading.gif",
"Method=GET",
"Resource=1",
"Referer=http://192.168.10.250:8081/p/oa/module/pi/userMail/oa_user_mail_send_add.jsp",
"Body=file=/skins/liquidblue/loading.gif",
LAST);
web_custom_request("uploadController.d",
"URL=http://192.168.10.250:8081/p/uploadController.d",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/oa/module/pi/userMail/oa_user_mail_send_add.jsp",
"Snapshot=t182.inf",
"Mode=HTTP",
"EncType=multipart/form-data; boundary=---------------------------7da39a21a06da",
"Body=-----------------------------7da39a21a06da\r\n"
"Content-Disposition: form-data; name=\"attach_form\"\r\n"
"\r\n"
"OA_USERMAIL\r\n"
"-----------------------------7da39a21a06da\r\n"
"Content-Disposition: form-data; name=\"attach_formId\"\r\n"
"\r\n"
"{WCSParam_Text1}\r\n"
"-----------------------------7da39a21a06da\r\n"
"Content-Disposition: form-data; name=\"autoattach_file_null_0\"; filename=\"E:\总结\测试工具相关\LR网络收集\http代码说明.txt\"\r\n"
"Content-Type: text/plain\r\n"
"\r\n"
"{附件内容,比较长,删掉了}\r\n"
......
"-----------------------------7da39a21a06da\r\n"
"Content-Disposition: form-data; name=\"autoattach_file_null_1\"; filename=\"\"\r\n"
"Content-Type: application/octet-stream\r\n"
"\r\n"
"\r\n"
"-----------------------------7da39a21a06da",
LAST);
web_custom_request("smartweb2.showRPCLoadingTip.d_3",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t183.inf",
"Mode=HTTP",
"Body=skin=liquidblue",
LAST);
web_custom_request("smartweb2.loadFile.d_54",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.loadFile.d?file=/skins/liquidblue/loading.gif",
"Method=GET",
"Resource=1",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Body=file=/skins/liquidblue/loading.gif",
LAST);
web_custom_request("smartweb2.showRPCSubmitter.d_3",
"URL=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCSubmitter.d",
"Method=GET",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCLoadingTip.d?skin=liquidblue",
"Snapshot=t184.inf",
"Mode=HTTP",
LAST);
web_custom_request("marmot.rpc.d_2",
"URL=http://192.168.10.250:8081/p/marmot.rpc.d?__rpc=true&__rpcAgent=true",
"Method=POST",
"Resource=0",
"RecContentType=text/html",
"Referer=http://192.168.10.250:8081/p/dorado/smartweb2.showRPCSubmitter.d",
"Snapshot=t185.inf",
"Mode=HTTP",
"Body=__type=base&__xml=%3Crpc+method%3D%22dealMailAttach%22%3E%3Cps%3E%3Cp+name%3D%22mail_id%22%3E{WCSParam_Text1}%3C%2Fp%3E%3Cp+name%3D%22STYLE%22%3E1%3C%2Fp%3E%3Cp+name%3D%22_resolver%22%3EoaUserMailAction%3C%2Fp%3E%3C%2Fps%3E%3C%2Frpc%3E&__viewInstanceId=avicit.oa.module.pi.userMail.view.oaUserMailSendAdd%7Eorg.marmot.security.dorado.SecurityViewModel",
LAST);
web_custom_request("UserMailAction!getMailNumber.action_3",
"URL=http://192.168.10.250:8081/p/oa/module/pi/userMail/UserMailAction!getMailNumber.action?randnum=0.21907190332867615",
"Method=POST",
"Resource=0",
"RecContentType=text/xml",
"Referer=http://192.168.10.250:8081/p/oa/module/pi/userMail/oa_user_mail_menu.jsp",
"Snapshot=t186.inf",
"Mode=HTTP",
LAST);
lr_end_transaction("发送", LR_AUTO); |
|