question

acappadonia avatar image
acappadonia asked motsu answered

Multiple users proxy auth with Avalanche

Hello :),

I need an hint with Avalanche configuration. I'm creating a basic HTTP test that requires Proxy authentication. I was able to configure it by relying on Avalanche settings in the Client->Profile.

Under HTTP:User I enabled Proxy authentication and user/pwd

Under Proxy, I enabled proxy usage plus "Enable Persistence" and "Enable Proxy headers".

My test is working but I need to use different user credential in my test (~2500) and I found no option to load a file containing the username/pwd. I tried also to do authentication directly from the action list by using:

1 get http://1.1.1.1 <PROXY AUTH: BASIC USER=myUser PASSWD=myPwd>

as in this way I would be able to load a file containing user credentials...but this is not working at all (even if the traces look the same)!

Any suggestion?

Thanks in advance!

Alberto

Avalancheproxyauthentication
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

motsu avatar image
motsu answered

Hi @acappadonia, proxy auth should work with the use of a formDB.

  1. Make sure you still select "Proxy Authentication" and "Force Proxy Authentication" under Client > Profiles > HTTP:User tab (while leaving the username and password empty there.)
  2. Action syntax should use the FormDB such as:
    1 get http://www.spirent.com <PROXY AUTH: BASIC USER=proxyDB.$1 PASSWD=proxyDB.$2>
    (where proxyDB form contains username and password separated by comma.)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bgraham avatar image
bgraham answered acappadonia edited

Hi

Please take a look at Forms DB as this is exactly what you need to build variables that contain usernames and passwords . @acappadonia

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

acappadonia avatar image acappadonia commented ·

As said in my post, Forms DB are not available for authentication under HTTP:User! and authentication by relying on action list (where forms DB are available) is not working in my case and I'm still debugging it... @bgraham

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.