开发者社区> 问答> 正文

LoadRunner压力测试接收到的响应报文,调用解析函数报错:Action.c(102): Err

出错函数代码: lr_xml_get_values("XML={response}", "FastQuery=/Envelope/Body/receiveMessageResponse/return", "ValueParam=ResultCode", LAST); lr_save_string(lr_eval_string("{response}"), "ResultCode"); lr_output_message(lr_eval_string("{response}")); //获取并输出参数response的当前值

详细信息: Action.c(102): 通知: 参数替换:参数“response”=“--uuid:53d41ed6-3229-4952-a109-ac0ca6e9f57b\r\nContent-Type: application/xop+xml; charset=UTF-8; type="text/xml";\r\nContent-Transfer-Encoding: binary\r\nContent-ID: root.message@cxf.apache.org\r\n\r\n<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Body<ns0:receiveMessageResponse xmlns:ns0="http://impl.webservice.agri.adapter.ecif.picc.com/"> <?xml version="1.0" encoding="UTF-8"?><TCRMService xmlns="http://www.ibm.com/mdm/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ibm.com/mdm/schema MDMDomains.xsd"><ResponseControl><ResultCode>SUCCESS</ResultCode></ResponseControl><TxResponse><RequestType>processMessage</RequestType><TxResult><ResultCode>SUCCESS</ResultCode><ECIFCustomerNumber>10029301380112</ECIFCustomerNumber></TxResult></TxResponse></TCRMService> </ns0:receiveMessageResponse></soap:Body></soap:Envelope>\r\n--uuid:53d41ed6-3229-4952-a109-ac0ca6e9f57b--” Action.c(102): Error: Fast query failed - reason: Invalid document structure (line 1, col 1). [class:CLrXmlScriptFunc] Action.c(102): Error: "lr_xml_get_values" 执行失败

展开
收起
5abyqn7wigzqm 2021-10-20 23:13:10 394 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
移动互联网测试到质量的转变 立即下载
给ITer的技术实战进阶课-阿里CIO学院独家教材(四) 立即下载
F2etest — 多浏览器兼容性测试整体解决方案 立即下载

相关镜像