Automated testing of authorization scenarios implemented using AzMan

I have a web application that uses AzMan authorization to provide various functions to different users. I just started using WatiN to implement some automated web interface tests that run in Visual Studio Team System / TFS. I would like to be able to use it to test various authorization scenarios. To do this, although I would need to run different tests as different users who are granted different rights through AzMan (using dummy test accounts).

Does anyone have experience automating AzMan authorization testing?

How about running VS "unit" as different users in TFS?

0
source share
1 answer

The method you use for authentication will affect how you can do this.

If you use Integrated Security (Windows auth), then one way would be to run your WatiN tests, as well as other Windows users using impersonation.

If you use forms authentication, you can simply use WatiN to log in as different users, because it is just a "clean web" POST / GET.

+1
source

All Articles