[Webtest] Authorization
Jan Schroeder
webtest@lists.canoo.com
Tue, 06 Jan 2004 15:37:04 -0500
Sorry, I think I was wrong. It is possible that the username:password in
the url is just a shortcut that the browsers understand.
The browser might then just issue a regular http request and put the
username + password in the request header.
Not sure about this but it sounds reasonable, doesn't it?
Just use the 'username' and 'password' attribute of the 'invoke' element
in your web test.
http://webtest.canoo.com/webtest/manual/syntax.html#5
This should be the right way to do this anyway....
Jan
Tate Austin wrote:
>that should work but for some reason canoo still pitches an error. If I do
>that in a browser everything is fine, but somehow canoo still sniffs the
>page as needing authorization and throws an exception it seems. That is
>useful information though, thanks.
>----- Original Message -----
>From: "Jan Schroeder" <jan-schroeder@gmx.net>
>To: <webtest@gate2.canoo.com>
>Sent: Tuesday, January 06, 2004 1:33 PM
>Subject: Re: [Webtest] Authorization
>
>
>
>
>>Just prepend username:password@ before the server name.
>>For instance if the page 'http://myServer.com/someProtectedPage.html'
>>causes the gray pop up box to come up
>>(this means it is protected using BASIC authentication), send a request
>>
>>
>like
>
>
>>http://myUserName:myPassword@myServer.com/someProtectedPage.html
>>
>>hope this helps.
>>
>>Jan
>>Tate Austin wrote:
>>
>>
>>
>>>Hello everyone, I was wondering if any of you have had experience with
>>>authorization and canoo? The situation is that I have a page I have a
>>>
>>>
>login
>
>
>>>and password setup in such a way that a box pops up for the user to
>>>
>>>
>submit
>
>
>>>their username and password. I sort of assumed this is a common scenario
>>>and that canoo has a means of submitting information to one of these
>>>
>>>
>boxes?
>
>
>>>_______________________________________________
>>>WebTest mailing list
>>>WebTest@lists.canoo.com
>>>http://lists.canoo.com/mailman/listinfo/webtest
>>>
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>WebTest mailing list
>>WebTest@lists.canoo.com
>>http://lists.canoo.com/mailman/listinfo/webtest
>>
>>
>>
>
>_______________________________________________
>WebTest mailing list
>WebTest@lists.canoo.com
>http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
>