Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: WEB(HTTP/HTML) + Cookie + Parameter

$
0
0

Hi, 

 

I think the problem here is in the order of the steps. It should be:

 

1. Correlation step

 web_reg_save_param_regexp(

"ParamName=CorrelationParameter",

........
);

2. Step on which the CorrelationParameter value is returned from server for example:

web_url("nav.pl",
...... 
LAST);

 

3. Step on which the correlated value should be used
web_add_cookie("SESS={CorrelationParameter}; DOMAIN=127.0.0.1"); 

 

If the order is: 


1. Correlation step

2. web_add_cookie("SESS={CorrelationParameter}; DOMAIN=127.0.0.1"); 

You are trying to use the value of CorrelationParameter before any  value was assigned to it and it will not work. 

 

Kind regards, 

Vesela


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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