How to: Add a Transaction to a Web Performance Test
A transaction in a web performance test is like a timer. You can encapsulate a set of actions in a transaction. You can think of a typical transaction as starting a timer, requesting a page, requesting another page, and then ending the timer. This series of actions, from start to end, constitutes a transaction.
When using web performance tests in a load test, transaction response times are displayed in the transaction table of the Load Test Analyzer. For more information, see Analyzing Load Test Results and Errors in the Tables View of the Load Test Analyzer.
Visual Studio Ultimate
To add a transaction
Open a test Web performance and load project that contains a web performance test and open the web performance test.
It is recommended that the web performance test contain several requests,
Select the request where you want to start the transaction. Right-click and select Insert Transaction.
In the Add Transaction dialog box, type the name of your transaction in Transaction name.
In the Choose first item for transaction drop-down box, you see the request on which you started the transaction. You can change the starting point if you want.
In the Choose last item for transaction drop-down box, you see the request on which you started the transaction. Change the ending point of the transaction by choosing a different request.
Choose OK. After you have closed the Add Transaction dialog box, you see that your transaction is now indicated by an icon in the Web Performance Test Editor.
After you create a transaction, you can drag requests in to or out of a transaction.