Active Screen asking for authentication

458 views
Skip to first unread message

dikshith

unread,
Aug 11, 2011, 5:56:53 AM8/11/11
to LoadRunner
Hi ,

Am facing issues with Active Screen asking for authentication. In my
script am using Web_Set_User() function ,But still when script runs,
at some point of time pops up with active screen authentication
window. If I don’t enter authentication username and password VuGen
hangs. If I enter the credentials then script runs. Please suggest me
some of the work around for this.Web_Set_user is not working
properly.

Thanks,
Adoor

Rashmi Mahalatkar

unread,
Aug 11, 2011, 6:16:40 AM8/11/11
to lr-loa...@googlegroups.com
Hi Dikshith,

There are 2 ways u can try solving this problem
1) Try adding Web_Set_User() function where ever u are asked for Authentication.

2) if this issue is only encountered during ur execution of the test,
they test data for Username and password to be feed as Unique.

Rashmi D

> --
> You received this message because you are subscribed to the Google "LoadRunner" group.
> To post to this group, send email to LR-Loa...@googlegroups.com
> To unsubscribe from this group, send email to
> LR-LoadRunne...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/LR-LoadRunner?hl=en

Oliver Lloyd

unread,
Aug 11, 2011, 8:30:52 AM8/11/11
to LoadRunner
Pops up when? In the Controller or with VUGen.

James Pulley

unread,
Aug 11, 2011, 8:58:38 AM8/11/11
to LoadRunner
Turn off your run time browser....

Vivek

unread,
Aug 11, 2011, 9:12:04 AM8/11/11
to lr-loa...@googlegroups.com
Did you pass valid credentials as parameters with in web_set_user() ?.



On Thu, Aug 11, 2011 at 3:26 PM, dikshith <dixit...@qwest.com> wrote:

dikshith

unread,
Aug 12, 2011, 2:01:51 AM8/12/11
to LoadRunner
In Vugen pops up,In controller am getting could not connect to server.

Rashmi -i didn't get you in this part "2) if this issue is only
encountered during ur execution of the test, they test data for
Username and password to be feed as Unique." please elaborate

dikshith

unread,
Aug 12, 2011, 2:44:45 AM8/12/11
to LoadRunner
Hi James,

I turned off my runtime browser but still am getting this in
controller when i run the test, Error message tells that
culd not Failed to connect to server "abc.com": [10060] Connection
timed out
Error -27791: Server "abc.com" has shut down the connection
prematurely
Could you please help me out in this?

Oliver Lloyd

unread,
Aug 12, 2011, 5:05:58 AM8/12/11
to LR-Loa...@googlegroups.com
You probably have 2 different issues. Can't connect != unauthorised.

Active screen popups are client side logic.
10060 connection errors are likely to be caused by another issue. This is a TCP level failure and probably caused by networking or proxy settings.

Note: web_set_user() solves 401 basic auth issues.

In short, your problem statement is weak and lacking in detail - try stepping through some root cause analysis.

kv

unread,
Aug 12, 2011, 6:07:39 AM8/12/11
to LoadRunner
Hi,

Try with this settings

1. Go to run-time-setting->prefereneces->Check-inWIninet replay
instead of Socket(Window only)

Or

2. Go to run-time-setting->preferenecs->options-> take value yes for
Authentication: use window native NTML implementation and override
credentials in window native implementation

Thanks
KV

Praveen Dama

unread,
Aug 12, 2011, 8:23:32 AM8/12/11
to lr-loa...@googlegroups.com
Contact IT support team and remove proxy from loadrunner machine to resolve below issue.


"abc.com": [10060] Connection timed out  Error -27791: Server "abc.com" has shut down the connection  prematurely

Thanks,
Praveen Dama

Vivek

unread,
Aug 12, 2011, 9:03:37 AM8/12/11
to lr-loa...@googlegroups.com
Make use of the "Obtain proxy from default browser" setting under proxy or use web_set_proxy() in script along with web_set_user() to redirect the requests through the proxy.


Rashmi Mahalatkar

unread,
Aug 17, 2011, 5:28:09 AM8/17/11
to lr-loa...@googlegroups.com
Hi Dikshith,

Issue 2 that authentication pop up coming during the execution of the
test ie nothing but while running that script in the controller.

Rashmi D

On Fri, Aug 12, 2011 at 11:31 AM, dikshith <dixit...@qwest.com> wrote:

Reply all
Reply to author
Forward
0 new messages