lr 测试WebServices协议接口时怎么设置事务的结束点?怎么得到事务的响应时间?
如题LR测试WebServices时把已有的接口文件导入就行了,这样的话怎么设置事务的开始点和结束点呢(没有返回信息)?
不能设置事务怎么又能得到所要的响应时间? 寮虹儓鏀寔 寮虹儓鏀寔 LS的LSLS的
乱码啦!
:lol LS的LSLS的
乱码啦!
:lol 你要写web_service_call的,导入的只是web_service信息而已 有困难,找云层!
哈哈
每次都能看到云层老师的身影!
马上去看看web_service_call {:4_91:} 我使用了soap_request方法,在取返回值的时候有问题, lr_xml_get_values这个函数哪里用错了?
NumOfValues= lr_xml_get_values("XML={response}",
"Query=/SOAP:Envelope/SOAP:Body/m:callServiceResponse/m:SvcCont/root/body/",
"ValueParam=OutputParam",
"SelectAll=yes",
LAST);
-----------------------------请求XMl begin--------------------------------------------------------
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:callService xmlns:m="http://ws..com">
<m:SvcCont><![CDATA[
<root>
<head>
<bipcode>***</bipcode>
<actioncode>***</actioncode>
<ret_code/>
<ret_msg></ret_msg>
</head>
<body>
<login_no> </login_no>
<phone_no></phone_no>
<select_type></select_type>
<time_string></time_string>
<time_string1></time_string1>
<login_accept></login_accept>
<today></today>
<custType></custType>
<cust_flag></cust_flag>
<show_flag_str></show_flag_str>
<callName></callName>
<feeName></feeName>
<roamName></roamName>
</body>
</root>]]>
</m:SvcCont>
</m:callService>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-----------------------------请求XMl end--------------------------------------------------------
----------------------------错误日志---------------------------------------------------------------
Action.c(33): Error: The message was not found in the ICU resource bundle.
The message was not found in the ICU resource bundle.The message was not found in the ICU resource bundle.('/')
Action.c(33): Error: "lr_xml_get_values" execution failed
页:
[1]