LoadRunner lr_xml_get_values和ORD = All

问题描述 投票:0回答:1

有一个Web服务soap请求我想要关联soap响应中的值我使用:

lr_xml_get_values("XML={response}", "Value=myvalue", "Query=//someplaceinthexmlresponse", LAST);

但我想用上面的语句保存几个参数。有没有办法说

"Ord=All" in the lr_xml_get_values function?

我的soap响应通常存在3个嵌套值,我想保存以供以后关联。

使用regualt web_custom_request我通过说:

web_reg_save_param("helloworld", "LB=<id>", "RB=</id>", Search=Body", "Ord=All", LAST);

如何使用lr_xml_get_values函数向Ord=All说肥皂请求?

correlation loadrunner
1个回答
0
投票
lr_xml_get_values("XML={response}", 
              "Value=myvalue", 
              "Query=//someplaceinthexmlresponse",
              "SelectAll=yes",
LAST);
© www.soinside.com 2019 - 2024. All rights reserved.