loadrunnr获取XML返回值的问题求教
服务器返回的是一个XML文件形式的页面,我想获取其中的某个属性或者节点值,在loadrunner上应该怎么操作? 不是有一些XML函数可用么回复 2# 的帖子
能不能给个参考的文档之类的东西,我刚进该行业,不大知道门路 lr_get_xml_value好像是这个函数吧。 使用的是什么协议录制的?
回复 5# 的帖子
HTTP/HTML这个 lr_get_xml_value是不是只在9.5里面才有? 函数打错了应该是lr_xml_get_values int lr_xml_get_values ( <List of specifications> [, <List of optional specifications> ] [, LAST]);
List of specificationsFor the following list of required specifications, use the following string format:
"Specification=value"
XML: the XML Input String to query
ValueParam: the name of the output parameter which stores the result of the query. If it does not exist, it is created.
Query: the XML Query or Fast Query on the input string XML. You can specify elements or attributes.
List of optional specificationsFor the following list of optional specifications, use the following string format:
"Specification=value"
SelectAll: If "yes", all elements matching the query will be processed. If "no", only the first match will be processed. Default is "no". See Multiple Query Matching
NotFound: See Continuing on Error
LASTA marker which indicates the end of the List of optional specifications
页:
[1]