The time taken by a section of the test to run can
be measured by defining Transaction.
A transaction represents the business process that
you are interested in measuring. You define transactions within your test by
enclosing the appropriate sections of the test with start and end transaction
statements.
Inserting Transactions
You define the beginning of a transaction in the
Start Transaction dialog box.
To insert a transaction:
· In the test tree, click the step where you want the
transaction timing to
begin. The page is
displayed in the Active Screen tab.
· Click the Start Transaction button or choose Insert
> Start Transaction. The
Start Transaction dialog
box opens.
· Enter a meaningful name in the Name box.
· Decide where you want the transaction timing to
begin:
To insert a
transaction before the current step, select Before current step.
To insert a
transaction after the current step, select After current step.
· Click OK. A tree item with the Start Transaction
icon is added to the test tree
Ending Transactions
You define the end of a transaction in the End
Transaction dialog box.
To end a transaction:
· In the test tree, click the step where you want the
transaction timing to end. The page opens in the Active Screen.
· Click the End Transaction button or choose Insert
> End Transaction. The End Transaction dialog box opens.
- The Name box contains a list of the
transaction names you defined in the
current test. Select the
name of the transaction you want to end.
- Decide where to insert the end of the
transaction:
To insert
a transaction before the current step, select Before current step.
To insert a
transaction after the current step, select After current step.
- Click OK. A tree item with the End Transaction
icon is added to the test tree.


No comments:
Post a Comment