LR录制脚本包含无用的脚本
录制脚本时有下面这段内容,不知道是不是无用的脚本,帮忙看下哈web_custom_request("URSTelemetry.asmx",
"URL=https://telemetry.urs.microsoft.com/URSTelemetry.asmx?MSTel-Client-Key=dxk7SGibUl0LfFkuTtZA/Q%3d%3d&MSTel-Patented-Lock=n%2bHZbGckgxE%3d",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=text/xml",
"Referer=",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=text/xml; charset=utf-8",
"Body=<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"><soap:Body><TelRep xmlns=\"http://Microsoft.Live.URSTelemetry/\"><Guid>{2CEDBFBC-DBA8-43AA-B1FD-CC8E6316E3E2}</Guid><DV>8.0.6001.9</DV><FV>8.00.6001.18669</FV><OSV>5.1.2600.3.0</OSV><CN>zh-cn</CN><PRG>{1FEF950A-30F6-4F70-B199-A284FFC8B7F9}</PRG><RType>POST</"
"RType><CID>7FD2BDD7-F492-4513-8339-3EB064BCAA17</CID><CTU>http://222.189.216.110/wfms/login.jsp</CTU><CWIp>NULL</CWIp><TUIp>222.189.216.110</TUIp><CS>64</CS><IB soapenc:arrayType=\"xsd:double\"><double>100</double><double>100</double><double>75</double><double>100</double><double>6.5</double></IB><Frames xmlns:q1=\"http://Microsoft.Live.URSTelemetry/\" soapenc:arrayType=\"q1:Frame\"><Frame><FUrl>http://222.189.216.110/wfms/login.jsp</FUrl><Z>KVHN</Z><CR>32D32000|2830015|0|80001064|FC0|0</CR>"
"<Kwds>3a003a00</Kwds><UType>TOP</UType><HIP>222.189.216.110</HIP></Frame></Frames></TelRep></soap:Body></soap:Envelope>",
LAST); 键盘上的舞蹈? 回复 2# qiqiloveyunyun
嗯 你是帝企鹅? 代码是否必要,最粗糙的方法是注销,再回放。(ps:当然有些代码注销是不会影响回放的最后结果) 没用的可以remove掉的。。{:3_74:} 一般来说不推荐删除,这个东西不是没有用的 回复 6# 云层
能具体解释下这块代码的作用吗? 是否影响到程序本身功能的调用,还是只会影响性能,没有反应用户实际操作?如果注释掉会有哪些影响? silverlight_soap_request("StepName=TelRep",
"URL=https://telemetry.urs.microsoft.com/URSTelemetry.asmx?"
"MSTel-Client-Key=xPXiRYpn9hS%2beKeNyZvrMw%3d%3d&MSTel-Patented-Lock="
"LWyEYfwHFyY%3d",
"SOAPEnvelope=<?xml version=\"1.0\" encoding=\"GBK\" standalone=\"no\"?"
"><soap:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/"
"encoding/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi="
"\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:soap=\"http://"
"schemas.xmlsoap.org/soap/envelope/\"><soap:Body><TelRep xmlns=\"http:/"
"/Microsoft.Live.URSTelemetry/\"><Guid>"
"{2CEDBFBC-DBA8-43AA-B1FD-CC8E6316E3E2}</Guid><DV>8.0.6001.9</DV><FV"
">8.00.6001.18669</FV><OSV>5.1.2600.3.0</OSV><CN>zh-cn</CN><PRG>"
"{348B0B0A-87A5-490A-9D9A-D3ACA4FB016C}</PRG><RType>POST</RType><CID"
">DEA36CC1-6834-4789-8340-ABCCF4343D84</CID><CTU>http://192.168.20.53/"
"testcrm/embbedcrmpage.aspx</CTU><CWIp>NULL</CWIp><TUIp>192.168.20.53</"
"TUIp><CS>65</CS><IB soapenc:arrayType=\"xsd:double\"><double>100</"
"double><double>100</double><double>5.0000000000000001e-003</double>"
"<double>100</double><double>6</double></IB><Frames soapenc:arrayType="
"\"q1:Frame\" xmlns:q1=\"http://Microsoft.Live.URSTelemetry/\">"
"<Frame><FUrl>http://crm.snail.com/default.aspx?tel=13065608078&ext"
"=</FUrl><Z>XFHN</Z><CR>10510000|F0015|0|2000027C|FC0|0</CR><Kwds"
">3a003a00</Kwds><UType>FRAME</UType><HIP>192.168.20.53</HIP></Frame>"
"<Frame><FUrl>http://canonicalizer.ucsuri.tcs/"
"610062006f00750074003a0062006c0061006e006b00</FUrl><Z>ASHN</Z><CR"
">D10000|0|0|0|0|0</CR><Kwds>3a003a00</Kwds><UType>FRAME</UType><HIP"
">202.102.110.204</HIP></Frame><Frame><FUrl>http://192.168.20.53/"
"testcrm/embbedcrmpage.aspx</FUrl><Z>KVHN</Z><CR>32D32000|F0015|0|"
"2000027C|F80|0</CR><Kwds>3a003a00</Kwds><UType>TOP</UType><HIP"
">192.168.20.53</HIP></Frame></Frames></TelRep></soap:Body></soap"
":Envelope>",
"Snapshot=t22.inf",
"ResponseParam=response",
LAST);
每次回放这段都报错,提示调用失败,执行中断 这个应该是系统业务吧,总是什么原因去读了一下微软的服务器,如果你能知道干什么的,就知道可以不可以删除了 删掉也没关系,如果你是在一个和外网隔离的环境里面录制脚本,是不会出现这些的
页:
[1]