Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

LoadRunner 12.53 : lr_xml_get_values not able to find matched item from xml

$
0
0

Hi ,

I am using Silverlight Protocol.I am having a problem while executing the script I had prepared on LR12.00.The function lr_xml_get_values was generated simply by right clicking on the response.

To simplify I am just posting step where the issue is happening.

	lr_xml_get_values("XML=<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">"
	                  "<s:Body><GetTaskListResponse xmlns=\"http://www.clicksoftware.com\">" 
	                  "<OrderedTasksKeys><Key>985553452</Key><Key>985553461</Key></OrderedTasksKeys>" 
	                  "<PageType>Last</PageType><DatabaseCaseSensitive>1</DatabaseCaseSensitive>" 
	                  "<TotalTasks>0</TotalTasks></GetTaskListResponse></s:Body></s:Envelope>",
	                  "Query=/Envelope[1]/Body[1]/GetTaskListResponse[1]/OrderedTasksKeys[1]/Key[1]/text()[1]",
	                  "ValueParam=p_out",
	                  LAST);

 

In LoadRunner 12.00 version this is working fine but this is not working in LR 12.53 and giving error as :

Starting action Action.
Action.c(4): Error: No matches were found for the specified query: "/Envelope[1]/Body[1]/GetTaskListResponse[1]/OrderedTasksKeys[1]/Key[1]/text()[1]".
Action.c(4): Error: "lr_xml_get_values" execution failed
Ending action Action.

I am not able to find the cause.

I am using LR 12.53 Patch 1 on Windows Server 2012 R2.

While creating a new Silverlight script it just includes globals.h (same is there for LR12..00).Do I require any more header file to include ? Please help.

Attaching the screenshots from both 12.00 and 12.53 Versions.

 

 

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>