Configuring Transactions

How do I get to the Transaction screen ?

 

Suite Manager >> Continue with Web Performance Testing >> click 'Load Test' from left tree.

 

Introduction

 

A transaction is defined as a set of actions the user performs in the web application which has meaning in a business context. It could be as simple as viewing a single page or as complicated as performing an entire web transaction.

 

For example, in a web-based banking application,

 

A simple transaction can contain two steps, i.e.,

A complicated transaction can have multiple steps such as

Creating/Recording Transactions

 

To create a transaction, all you need to do is to record the URLs which contain the set of user actions.

 

Follow the below given steps to do the same:

    1. Click either New Transaction link or Add Transaction to the Load Test link inside the load test screen. The 'Add Transactions' dialog opens up. You can either create a new Transaction or import a pre-defined transaction into the load test. If you choose to create a new transaction, specify the name of the new transaction and click the Create New button.  For example, enter "view_acct_balance" as transaction name.

    2. Upon clicking 'Create New' button, the Transaction recorder will start automatically within 5 seconds and the default browser will be launched. Specify a valid URL in the address bar of the launched browser to start recording the transactions (urls) in the Web application. For example, enter the Web application's home url, choose login option, then choose view account balance and finally choose logout.

    3. To stop recording events, click the Stop Record button from the QEngine Toolbar. The transaction is by default saved in <QEngine_Home>/projects/<Suite_Name>/webperfcases/<businesscase_name> directory.

    4. The newly created transaction can be seen inside the load test screen.

Repeat steps 1 to 4 to create more transactions.

 

Importing Transactions

 

If you have any recorded transactions available in other load tests, you can import them into a load test if required to avoid recording the same transaction again. Click the Import link adjacent to New Transaction link in the right panel of the load test screen. The 'Add Transactions' dialog with the Import tab opens up. The available transactions will be listed in the 'Available Transactions' list box. Select the appropriate transaction from this list, specify a new name for the transaction in the 'Import as' field and click 'Save As' button to import the transaction.

 

Editing Transactions

 

To edit a transaction, click the Transaction name listed under 'Transaction' in the load test screen. This opens up the Transaction script screen. Here you can manually edit the urls present in the transaction. You can also insert comments into the script, change the think time, etc. The 'Record More' option launches the recorder again and lets you add more urls to the transaction script.

 

Deleting Transactions

 

To delete a transaction, click the button under Action in the load test screen.



Copyright © 1999, AdventNet Inc. All Rights Reserved.