Monday, May 07, 2007 1:03 PM
kolbis
Logon once and perform a number of tests
Here is a question that I have been asked a lot.
"How can you simulate a scenario where a user logon once to the web site and performs several tests?"
Let me explain the problem. If your web site uses authentication such as Form authentication, the user must logon to the site before he can perform any actions. That means that any test you create will have to logon to the site before performing the actual test case. The issue about it is that for each test case you create, you continue testing the logon process.
There is a work-around for this problem. You can choose one of the two options:
- Using Plug-In
- Using Coded Web test
You can find an excellent article about it here. The article gives a detailed example and a walkthrough.
תגים:Tests, Team System, .NET Framework, Load Test, Web Test