Correlation -"No match found for the requested parameter"

691 views
Skip to first unread message

Priyanka

unread,
Nov 27, 2015, 11:57:30 AM11/27/15
to LoadRunner
Hi..


Im unable to capture a value by correlation(both automatic and manual correlation).. pls help

my script
web_custom_request("G1136764O", 
        "URL=http://119.151.20.229/API_SIT3/shopping/cart/G1136764O", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=application/json", 
        "Referer=http://119.151.20.229/inlis_sit3/#/POI/Detail", 
        "Snapshot=t54.inf", 
        "Mode=HTML", 
        "EncType=text/plain", 
        "Body=Service=LTR&Product=POI&SearchType=LAND_ADDRESS&Item=NA&SearchKey=2%20SINARAN%20DRIVE&NoProductItems=1&TitleNumber=CT%20VOL%20646%20FOL%2056&TitleStatus=L&LotStatus=L&Address=2%20SINARAN%20DRIVE%7CSingapore%20307467*4%20SINARAN%20DRIVE%7CSingapore%20307469*6%20SINARAN%20DRIVE%7CSingapore%20307468&LOTNumber=TS29-00931T&ReferenceNo=&IsEpiUser=false", 
        LAST);


I have to capture  the value "G1136764O" from the above URL.

Generation LOG related to that URL are :
2)web_custom_request("G1136764O",


I used both the LB and RB from the above two logs, but nothing is working why? Pls help

Pls let me know for more details


James Pulley

unread,
Nov 27, 2015, 12:03:29 PM11/27/15
to LoadRunner
Because you are capturing on the send format and not at the location where it is being sent to the client from the server.  You have a conceptual problem in how correlation works in that you attempting to correlate on the use of the value rather than the receipt of the value.

Speak with your mentor and your trainer to go through the standard training material/tutorial material on correlation once again

James Pulley

unread,
Nov 27, 2015, 12:38:53 PM11/27/15
to LoadRunner
Side note: Since revenue is at risk ( Shopping Cart based application ) you should be applying the most senior people to the testing of this interface, not the least experienced

Priyanka

unread,
Dec 1, 2015, 10:29:28 AM12/1/15
to LoadRunner
Hi James,

Can you please let me know what do you mean by " you are capturing on the send format and not at the location where it is being sent to the client from the server."

As you said I'm new to loadrunner correlation(but interested in learning). Please help. Thanks.

Priyanka

unread,
Dec 1, 2015, 10:29:31 AM12/1/15
to LoadRunner
Also to help you understanding, I'm able to correlate jsessionid in the same script but not this product specific dynamic value.

I tried with this value also from generation log {"CartId":"V6834832W"}

from this i have taken left and right boundaries and included a backward slash\ before double quotes. Please suggest. What I'm missing ??


On Saturday, November 28, 2015 at 1:03:29 AM UTC+8, James Pulley wrote:

James Pulley

unread,
Dec 1, 2015, 11:00:37 AM12/1/15
to LoadRunner
If your boss is asking you to perform in this role then your boss needs to send you to training, or at least have the time to go through the entire online tutorial, and provide you with a mentor.  No online forum is s substitute for the minimum support of training and a mentor.  

Anything else is setting you up for failure.  This is not your fault, it is the fault of your management.

Priyanka

unread,
Dec 3, 2015, 9:07:38 AM12/3/15
to LoadRunner
Would be happy if i could get a solution for this instead. Anyway thanks.

André Luyer

unread,
Dec 4, 2015, 9:50:40 AM12/4/15
to LoadRunner
Your question was how to capture (correlate) information you send yourself. That is silly.
The correlation functions only look for data that you receive. Hence no match.
Either create a LR parameter or look for the value in the previous steps -- maybe it is in a different format.

Correlation and parameterization is well covered in the LoadRunner training.

André

Kevyland

unread,
Dec 4, 2015, 9:51:26 AM12/4/15
to LoadRunner
Refer to this: http://motevich.blogspot.com/2007/11/loadrunner-webregsaveparam-boundaries.html

Tell us where you put your web_reg_save_param to G1136764O

Usually you have to do somewhere before the post request.   Like JsessionId correlation - where did that occur? 
It seems you expect these variables to be magically available when in fact they are typically generated in some web page prior to the post that needs them.

Priyanka

unread,
Dec 9, 2015, 9:10:07 AM12/9/15
to LoadRunner
Thanks for the replies.

 Kevyland, could you please share your email id, i will send you the script and generation log.  Please help.

Kevyland

unread,
Dec 9, 2015, 12:22:32 PM12/9/15
to LoadRunner
Sorry all conversation is done through the group.

Priyanka

unread,
Dec 10, 2015, 9:59:08 AM12/10/15
to LoadRunner
Okay no problem.. thanks
Reply all
Reply to author
Forward
0 new messages