[Webtest] [dev] Best way to set credentials

Dierk Koenig webtest@lists.canoo.com
Tue, 2 Aug 2005 11:43:23 +0200


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
>