开发者

Visual studio 2010 Ultimate Web Test Concurrent Users

I am trying to do a performance test on an asp.net website. I have recorded a simple scenario with user login. I have created a data file containing 500 login ids and passwords. The application database also has this information. My intention is to run the test to analyze how the system behaves when 500 users tries to login and logout together. I want to run this scenario repeatedly for 1 hour. I am not sure how to achieve this using Visual studio 2010 ultimate edition. If anybo开发者_如何学Cdy has an idea on this. Please do share.

Thanks in advance

Joe


You need a WebTestPlugin to achieve that.

Basically, in the PreWebTest method, you can do something like this :

e.WebTest.Context ["Login"] = "Random login from file"; e.WebTest.Context ["Password"] = "Corresponding password";

Then, in your webTest, you can plug the value from the context in the form post parameters using {{Login}} and {{Password}} in the value field.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜