Highlighted
New Member.
584 views

Correlating Cookies in Loadrunner

Hi everyone,

 

We are trying to correlate a cookie because the Loadbalancer of the application uses it to distribute the load accross all servers, by correlating the cookies we will be able to properly distribute the load. I'm using LoadRunner v11.52, protocol is SAP Web

This is how the cookie looks:

I have already tried using the below correlation:

web_add_cookie("LtpaToken2=1JlCh5iR2/MkU5YmQsNVEomiIR9THY6FI73aPbzeho7HWlK95Li0aTLhUlhy7ILi6HE4kran8CiYD5gF+MYcmv4A/aK/6P8QEg5SFNJD3IKrgXgGwoTzBPIjK175IWiIf9/ZGvhXb8Akkl2Ian6rObqLidsxQAKrLqvpHvd1tyyDoQWl5l5NDzbS/TimnjI4Sn+GFPIDkHuHNM4wYFPtHy2EW7Eg74W/c28indKKzRx9cSp4R7hQx+UAIblTjw2vx3cjTJHayZIPRqAfiG4NLBe9QzHpTkPfuxbETRQ1V9RycElR0TD3TBt5I5JgA755RoXq5WnpzNKGruwKfxfkzFtAz9fs4Jyf93s4UhgM2Pl3PKFmnmH2S6a5fMDUP5QNYxdeykcj769yNdIRSfAC0P9nU1n0/+/wZN/f4uA1i5g=; Domain=****);

 

web_reg_save_param("LtpaToken2",         

"LB=LtpaToken2=",        

 "RB/IC=",

"RelFrameId=1",         

"Search=Headers",         

LAST);

Any support will be appreciated,

Regards,

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.