Just before recording is completed for...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

V

Vinod AR

Guest
Just before recording is completed for web(HTTP/HTML) script I am getting one prompt message as "Provide User Name and Password to play back the script" (NTLM Authentication) In the script it recorded as very first script as web_set_user("{UserName}",lr_decrypt("{DecriptedPassword"}),{url}); However when I a play back the script in VuGen am getting below error Error name is "Error -26630: HTTP Status-Code=401 (Unauthorized)" against URL mentioned in web_set_user function web_set_user("{UserName}",lr_decrypt("{DecriptedPassword"}),{url}); Can you please help me by suggesting a fix to this problem Note : LR used : 11.52
 
If the username and password you used are parameters taken from parameter list... then it would need lr_eval_string Web_set_user(lr_eval_string("{username}"),lr_decrypt(lr_eval_string("{decriptedpassword}")),lr_eval_string("{url}")); If its not taken from the parameter list ..check whether the password is decrypted properly. Hope this helps..
 
Delete or comment Web_set_user and set proxy as no proxy.
 
Go to Run time settings-->Proxy-->select Use custom proxy-->Authentication-->Enter the credentials present in web_set_user function. It should replay fine now