User Impersonation and Load Testing RRS feed

  • Question

  • Does anyone have any experience or examples of load testing using user impersonation?


    I need to perform a test against a website that has a lot of user personalisation, and to do this I would expect that I would create a load test and pass it a list of people that I want it to pretend to be...


    Any help or pointers much appreciated

    Thursday, September 25, 2008 10:20 PM


All replies

  • Hit the pinned thread at the top of the forum with a list of blog postings etc..  there's demo videos and such in the index it links to that demonstrate this kind of thing, and specific blog articles on how to parameterize stuff in webtests and a lot of resources to get you started..


    it's really pretty easy to define a datasource (database or csv file containing things like usernames, login credentials etc) and then bind that to values that were used when the webtest was recorded..


    however, the phrase 'user impersonation' is more often associated with how the website itself is setup, what accounts are used to run services and execute server side scripts and actions.  typically that kind of stuff is set when the website is setup and does not change after that.


    Friday, September 26, 2008 4:36 PM
  • Here is a help link on setting credentials when you are using windows authentication: http://msdn.microsoft.com/en-us/library/ms182548.aspx



    If you are using forms auth, then you can databind a list of users/passwords to the form fields in the web test.  Here is a help link on databinding: http://msdn.microsoft.com/en-us/library/ms404707.aspx

    Tuesday, September 30, 2008 5:34 PM