How to: Add a Transaction to a Web Test
This page is specific to:.NET Framework Version:2.03.54.0
Visual Studio Team System
How to: Add a Transaction to a Web Test

A transaction in a Web 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 tests in a load test, transaction response times are displayed in the transaction table of the Load Test Analyzer. For more information, see Working with Load Test Tables.

To add a transaction

  1. Open a test project that contains a Web test of at least three requests, and open the Web test.

  2. Select the request where you want to start the transaction. Right-click and select Insert Transaction.

  3. In the Add Transaction dialog box, type the name of your transaction in Transaction name.

  4. 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.

  5. 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.

  6. Click OK. After you have closed the Add Transaction dialog box, you see that your transaction is now indicated by an icon in the Web Test Editor.

See Also

Tasks

Other Resources

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View