[Webtest] [dev] Best way to set credentials
Marc Guillemot
webtest@lists.canoo.com
Tue, 02 Aug 2005 11:58:21 +0200
I think that it could be an additional possibility but it's not the most natural way: when you surf, you give your
username/password when you come to the page that request it, not before.
Marc.
Dierk Koenig wrote:
> How about putting this in the config instead of into each step?
>
> cheers
> Mittie
>
>
>>-----Original Message-----
>>From: webtest-admin@lists.canoo.com
>>[mailto:webtest-admin@lists.canoo.com]On Behalf Of Marc Guillemot
>>Sent: Dienstag, 2. August 2005 10:49
>>To: webtest@lists.canoo.com
>>Subject: [Webtest] [dev] Best way to set credentials
>>
>>
>>Hi,
>>
>>I've seen that many steps have now userName and password
>>attributes to receive pages that require basic authorization.
>>This feature is still missing on some steps (like setRadioButton)
>>and doesn't make any sense on others like followFrame
>>at this one doesn't perform any request.
>>
>>What about changing these attributes to a nested step like:
>><authorization username="..." password=".." [host="..."
>>[port="..."] ...]/>
>>
>>This would:
>>- avoid to add too many attributes to all steps making them
>>easier to understand
>>- allow to have many credential provider in one step for
>>different hosts (unlikely to happen, but who knows)
>>- allow to specify the type of authorization (basic, NTLM, ...)
>>
>>What do you think?
>>
>>Marc.
>>_______________________________________________
>>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
>