Previous Topic: Review the TutorialNext Topic: Using CA Application Test


CA Continuous Application Insight Tutorial

In this tutorial, you generate transactions by using the LISA Bank demo application. You then view the transactions in the Analyze Transactions window of the DevTest Portal.

Prerequisites

This section contains the following topics:

Step 1 - Increase the Default Capture Levels

Step 2 - Generate Transactions from the Demo Application

Step 3 - View the Transactions in the Analyze Transactions Window

Step 1 - Increase the Default Capture Levels

Each protocol that the DevTest Java Agent can capture has a capture level.

The default capture level is Counts. To view the transactions later in this tutorial, you must set the capture level for the relevant protocols to Full Data.

The following graphic shows the Adjust Captures for Protocol pane in the Agents window.

Screen capture of Adjust Captures for Protocol pane.

Follow these steps:

  1. Open the DevTest Portal. If the portal is running on a local computer, the URL is http://localhost:1507/devtest.
  2. Select Settings, Agents from the left navigation menu.

    The Agents window opens.

  3. In the Agents pane, select the JBoss_LISABank agent.
  4. If the Adjust Captures for Protocol pane is collapsed, expand the pane.
  5. If some of the protocols do not appear, click Edit and select Show All Protocols.
  6. Ensure that the capture levels for the following protocols are set to Full Data:

    To change a capture level, select the check box of the protocol and select Full Data from the capture level drop-down list.

Step 2 - Generate Transactions from the Demo Application

DevTest Solutions includes a demo application named LISA Bank.

In this procedure, you log in to the demo application, create an account, and log out.

Follow these steps:

  1. In a web browser, enter http://localhost:8080/lisabank. If the demo server is running on another computer, replace localhost with the host name or IP address of the remote computer.

    The login page opens.

  2. In the Name field, type lisa_simpson.
  3. In the Password field, type golisa.
  4. Click Login.

    The welcome page opens. The left side contains buttons for various actions that you can perform.

  5. Create an account by performing these steps:
    1. Click New Account.
    2. In the Account Name field, type My Checking.
    3. In the Initial Balance field, replace the default value with 500.
    4. Click Add Account.
  6. Click Log Out.

Step 3 - View the Transactions in the Analyze Transactions Window

The Analyze Transactions window lets you do the following tasks:

The following graphic shows a set of transactions in the Analyze Transactions window. The transactions are displayed in the List view. The transactions appear in reverse chronological order.

Screen capture of Results pane.

The following graphic shows a path graph for one of the transactions.

Screen capture of path graph.

Follow these steps:

  1. Return to the DevTest Portal.
  2. Select Application Insight, Analyze Transactions from the left navigation menu.

    The Analyze Transactions window opens.

  3. Locate the transaction that has the name /lisabank/createaccount.do.
  4. Click the Open transaction details button in the Actions column.

    The transactions details dialog opens. The upper area contains the path graph. The lower area contains information about the selected node.

  5. Click an EJB node in the path graph.
  6. Review the information that appears in each of the tabs.
  7. Close the dialog.