📜 ⬆️ ⬇️

Load Testing with Visual Studio 2010

Based on the conference, MS QA Day decided to create a post about load testing using Visual Studio 2010.
For many testers, having this feature becomes a revelation. Apparently, this is due to the fact that such an opportunity is provided only with the Ultimate edition.

So let's get down to business. First select Test - New Test. Before us the following window opens:



')
We select the type LoadTest and see that our test can be stored as a C #, C ++ or VB project. Choose any type and continue. Then the Wizard will lead us, during the passage of which steps we will be asked to install Think Time between the execution of requests, select the Load Pattern:


At once I will make a reservation that not all load models are presented in Wizard. The most unusual is the “Goal” load pattern, in which the number of active VUser automatically increases or decreases depending on the CPU load of the target machine (the server on which the tested web application runs).

Then the Wizard offers to choose Test Mix Model, that is, in what order the VUser will perform test scripts, which may be more than one.


In the next step, we are just invited to choose the scenarios that will be executed by virtual users. After that we can choose connections through which networks we will emulate (or rather, their bandwidth).


The next step is to choose in what percentage the User Agents of the sent requests will be distributed.

Then we select the computers whose status will be monitored. After setting all the parameters, we finally get into the project we created. It looks like this:


Here you can change everything that we installed with the help of Wizard.

On this, perhaps, I will stop. If the topic is interesting to the public - in the future, you can consider creating and recording a specific load testing script using the Test Manager, collecting and analyzing metrics from a loaded machine, or you can parse the script with msdn.

Thanks for attention!

Source: https://habr.com/ru/post/141690/


All Articles