- Log in to bank application
- Check balance
- Transfer amount
- Log out
So in the above ativities you can measure how long it takes to log into application, how long it takes to check balance, transfer amount and log out.To measure the time taken we need to insert transactions. To measure the time you insert the transaction at the beginning of the activity and end the transaction at the end of the activity. You can have any number of transactions in your script. Its always useful to follow proper naming convention for your transactions so that it will be useful for tracking purposes. You will appreciate the use of transaction during load executions in the controller. You can create transaction when you are recording the script or you can insert manually after recording. You can inser transactions manually using the below function:
lr_start_transaction("Transfer_Amount");
{Transfer amount activity details………….…………………………………………….…………………………………………….}
lr_end_transaction("Transfer_Amount ", LR_AUTO);
No comments:
Post a Comment