Getting Authentication Error in LR9.0

116 views
Skip to first unread message

babu n

unread,
Jul 24, 2009, 11:39:50 AM7/24/09
to lr-loadrunner
Hi Gurus,
 
I am getting following error message for some iterations when i am executing my script in Vuser generator and Controller
 
1. Create_Event.c(204): Error -26630: HTTP Status-Code=401 (Unauthorized) for
 
2. Create_Event.c(204): Error -26547: Authentication required, please use web_set_user, e.g. web_set_user("domain\\user", "password", "host:port");
 
and i used the function web_set_user in my script in the following way before the error message function
 
web_set_user("guest1.dev", "dev", "10.1.30.2:80");
 
How ever, i am able to execute my test successfully for some iterations
 
Please give me some inputs in order to resolve this problem
 
Thanks,
Babu
 
 

Abdul

unread,
Jul 25, 2009, 7:27:37 AM7/25/09
to LoadRunner
Enter the proxy details in the RTE and try

On Jul 24, 6:39 pm, babu n <babu...@gmail.com> wrote:
> Hi Gurus,
>
> I am getting following error message for some iterations when i am executing
> my script in Vuser generator and Controller
>
> 1. Create_Event.c(204): Error -26630: HTTP Status-Code=401 (Unauthorized)
> for
> "http://10.1.30.2/SubcategoryService.asmx/GetSports"
>
> 2. Create_Event.c(204): Error -26547: Authentication required, please use
> web_set_user, e.g. web_set_user("domain\\user", "password", "host:port");
>
> and i used the function *web_set_user* in my script in the following way

James Pulley

unread,
Jul 25, 2009, 9:47:14 AM7/25/09
to LR-Loa...@googlegroups.com
Do you really want to performance test your proxy at the same time you test
your app? Will you not then impact all other users of your proxy and may
wind up with a proxy bottleneck impacting your scalability assessment versus
the actual scalability of your app?

babu n

unread,
Jul 26, 2009, 6:31:27 AM7/26/09
to LR-Loa...@googlegroups.com
James,
 
I don't want to performance test my proxy. i wanted to make sure my script works properly. But my script is failing due to authorization error some times.Please help me out in order to resolve the problem. You can see my errors below

1. Create_Event.c(204): Error -26630: HTTP Status-Code=401
> (Unauthorized) for
> "http://10.1.30.2/SubcategoryService.asmx/GetSports"
>
> 2. Create_Event.c(204): Error -26547: Authentication required, please
> use web_set_user, e.g. web_set_user("domain\\user", "password",
> "host:port");
Thanks,
Babu

Roland Jefferson JR

unread,
Jul 27, 2009, 11:58:20 AM7/27/09
to LR-Loa...@googlegroups.com
Hi,

This sounds like a case for authentication issue within the browser
run time settings.

Try setting for new user on each iteration and see if that helps.

Roland
>> > web_set_user("guest1.dev", "dev", "10.1.30.2:80 <http://10.1.30.2/>");
Reply all
Reply to author
Forward
0 new messages