Getting error in replay the script after parameterize username and password
Error:
Action.c(165): Error -26547: Authentication required, please use web_set_user, e.g. web_set_user("domain\\user", "password", "host:port"); [MsgId: MERR-26547]
Action.c(165): Error -26630: HTTP Status-Code=401 (Unauthorized) for "abc some url" [MsgId: MERR-26630]
I tried with this code still getting error.
my_host = lr_get_host_name( );
web_set_user("{Username}", "{Password}", "my_host:8080");