loadrunner Hi, I have 4 servers on which application is...

  • Thread starter Digvijaysinh Jebaliya
  • Start date
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

D

Digvijaysinh Jebaliya

Guest
Hi, I have 4 servers on which application is deployed. I want to send server machine address(IP address) in my load runner request to confirm request is hitting the desired server. How to add server address in LR request?
 
You will want to use the lr_get_vuser_ip() function in your script, as shown in the function reference. Good luck!
 
thanks shane....i am using web_add_auto_header("server1","ServerAdress") and web_add_header("server1","ServerAdress")......it works fine for 1st instance but it takes server2 or server3 or some other value in 2nd instance......any idea why it happen?