RE: Help with AB and authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I already tried that. 

Didn't work.

Maybe it's another thing.

With wget, i does 3 request just to get one page. The first two return
401 and only the third is giving a 200. Maybe ab, for some reason, isn't
trying enough times to authenticate.

In AB with verbose active, I can see it only tries one time.


 
Regards,
Joel

-----Original Message-----
From: Graeme Fowler [mailto:graeme@xxxxxxxxxxx] 
Sent: quarta-feira, 12 de Dezembro de 2007 13:51
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  Help with AB and authentication

On Wed, 2007-12-12 at 11:30 +0000, Joel Carlos Martinho Alexandre (DSI)
wrote:
> I'm trying to use AB to benchmark a site within a IIS, but I'm having
> problems with authentication.
> 
> I'm currently using 
> 
> ab2 -A domain\user:password url 

Try

ab2 -A domain\\user:password url

The command line thinks you're escaping the first character of the
username since backslashed are used as escape markers. Pass a pair, and
the first backslash escapes the second one, thus passing it to the
application.

Alternatively, put the whole thing in single quotes:

'domain\user:password' and see if ab takes that.

Graeme


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux