Re: Truclient Manual proxy configuration authentication (724 Views)
Reply
Occasional Contributor
LR_Travis
Posts: 4
Registered: ‎10-12-2011
Message 1 of 6 (1,615 Views)

Truclient Manual proxy configuration authentication

Hi All

 
I am trying to run Performance tests with AJAX Truclient. We are testing the application from withing the internal network. The application does external calls to a stats server that track hits etc.

These external call require a Proxy configuration to be entered, however our proxy requires authentication, AJAX Truclient "Manual Proxy Configuration" under Runtime settings does not supply a Username and Password field for Proxy Authetication.

Does anyone know how to set Manual Proxy Configuration with Authetication? i.e with A USERNAME, DOMAIN and PASSWORD?

I have attached a screenshot of the proxy setting for AJAX Trueclient.

Occasional Advisor
Ashutosh Gupta_1
Posts: 10
Registered: ‎02-16-2009
Message 2 of 6 (1,605 Views)

Re: Truclient Manual proxy configuration authentication

Try using the web_set_user function in the starting of script and provide the credentials. This may help.
Occasional Contributor
LR_Travis
Posts: 4
Registered: ‎10-12-2011
Message 3 of 6 (1,600 Views)

Re: Truclient Manual proxy configuration authentication

Ok I have found a solution:

 

1. In the url address field in Firefox, enter about:config.
2. Click the I'll be careful, I promise! button.
3. In the Filter field, enter network.negotiate-auth.allow-proxies.
4. Right click network.negotiate-auth.allow-proxies and select Toggle. This changes the value to false.
5. Record the initial navigation step again. You also need to record entering the Proxy Authetication username and password, you will notice this is recorded as "sub steps" under the navigation step. You record authentication as you will be prompted on every iteration of the "Action".

Hope this helps you as it has helped me :)

Established Member
Kwame McIntyre
Posts: 1
Registered: ‎07-31-2010
Message 4 of 6 (1,474 Views)

Re: Truclient Manual proxy configuration authentication

This saved me big time with an Authentication Prompt. Thanks!!! 

Visitor
SP_LR
Posts: 1
Registered: ‎12-04-2013
Message 5 of 6 (732 Views)

Re: Truclient Manual proxy configuration authentication

Hello ,

 

I have a situation where I need to select proxy based on a condition(IF-ELSE) present in the Truclient script.

Is there any way to achieve this?

 

Regards

Sudheer

HP Expert
Guy_Rosenthal
Posts: 231
Registered: ‎10-24-2011
Message 6 of 6 (724 Views)

Re: Truclient Manual proxy configuration authentication

Hi,

There is no such capability in TC.

You can always ask the customer to write C code to use the machine proxy instead (thru Eval C) but it might be cumbersome and not all of our customers has this knowledge.

It is a nice ER, can you please open an ER case for that?

Guy Rosenthal
TruClient RnD Team Manager
TruClient-STORM RnD
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.