background image
<< Inserting Transactions | To mark the end of a transaction >>
<< Inserting Transactions | To mark the end of a transaction >>

To mark the start of a LoadRunner transaction

Working with VuGen · Enhancing Vuser Scripts
Creating Vuser Scripts
Chapter 4, page 41
To mark the start of a LoadRunner transaction:
1
While recording a Vuser script, click the Start Transaction button on the Recording
toolbar. The Start Transaction dialog box opens.
2
Type a transaction name in the Name box.
Click OK to accept the transaction name. LoadRunner inserts an
lr_start_transaction statement into the Vuser script. For example, the following
function indicates the start of the trans1 transaction:
Note
: You can insert transactions into your script after you complete a recording
session by selecting Insert > Start Transaction from the VuGen menu.
lr_start_transaction("trans1");