DCSIMG

 Subscribe in a reader

Using multiple scenarios in a load test - Guy kolbis
Tuesday, February 05, 2008 1:03 PM kolbis

Using multiple scenarios in a load test

In Visual Studio Team Tester you can create a load test. The load test contains al least one scenario. In each scenario you define the think time, the number of users, the patterns and etc.

It is possible to create multiple scenarios per load test. Doing so it simple, all you need to do is right click on the scenario folder and select "Add Scenario", then follow the wizard and you have got yourself a load test with two scenarios.

image

So, the question is why would you do that? why do you need multiple scenarios per load test?

The main reason for that is model user load for different groups. To explain that I will use an example. Lets say that you have a certain number of users executing one set of tests and another set of users executing another set of tests. To further explain it lets assume that we have two groups for our web site, administrators and guests. You are more likely to have more guests then administrators and the targeted tests should also vary. So, to solve that issue you will create two scenarios one for the administrator group and the other for the guest.

תגים:, ,

תוכן התגובה

אין תגובות

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: