- Last Updated: [[2020-12-04]] - [[Load Testing]] - # General - Visual Studio is a bit like JMeter in that it starts out with an interface that you can manipulate to your liking. Also like JMeter, you can also code plugins that will allow you to extend the limited functionality of the interface. Where it departs from JMeter is that if at any point you need to write code that can't be written as part of a separate plugin, you'll need to click Generate Code on the toolbar, which will turn the whole interface into C# code. This is a one-way process; once you edit the code, you can't then revert to the interface. For this reason, it's very important to script as much as you can via the interface before turning to the code and to make it clear (via comments in the code) which parts of the code have been added, just in case you have to change the test later and need to generate the code again. - # Versions - Make sure you install the Visual Studio Enterprise 2015 or Visual Studio Ultimate 2013 editions. They are the only ones with web performance capability. - # Creating a new project - When creating a new project, select Templates > Visual C# > Test > Web Performance and Load Test Project. - # Recording - Recording should be automatically turned on, and the default browser used is Internet Explorer, although this can be changed. During recording, you can make comments about the actions taken. - # Transactions - Right click on a request and click Insert Transaction.