TransactionBegin Command

Description:

This command lets you specify the beginning of the script transaction. When the script is run with several iterations, the commands which are located before the "TransactionBegin" command, are only executed during the first iteration. The commands which are located  between the "TransactionBegin" and the "TransactionEnd" commands are executed in all iterations. The commands which are located after the "TransactionEnd" are only executed during the last iteration.

Typical use of the TransactionBegin and TransactionEnd commands:

Begin;
   Web site login commands...
    TransactionBegin;
        Transaction commands...
    TransactionEnd;
    Web site logout commands...
End;

Format:

TransactionBegin;
 

Example:

Begin
    log "Login phase";
    TransactionBegin;
        log "Transaction Phase";
    TransactionEnd;
    log "Logout phase";
End

 

See Also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap