BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Getting Started   |   Topic List   |   Previous   |   Next   |   Contents

   Tutorials for Developing a BEA Tuxedo Application

Step 4: How to Test bankapp Services

  1. If you are logging in cold to a running system, you must set your environment for bankapp. To do so, enter the following command.

        . ./bankvar

  2. Run the audit client program. To execute the audit client program, enter the following command.

        audit {-a | -t} [branch_id]

    specifying either -a for account balances or -t for teller balances. If you specify a branch_id, the report is limited to the branch specified; if you do not, the report includes data for all branches. For sample account numbers, branch IDs, and other values that you can provide as input to audit, use values listed in pop.out, the output of the populate program.

  3. Run auditcon. To start the conversational version of the audit program, enter the following command.

        auditcon

    The program displays the following message on your terminal.

        to request a TELLER or ACCOUNT balance for a branch,
    type the letter t or a, followed by the branch id,
    followed by <return>
    for ALL TELLER or ACCOUNT balances, type t or a <return>
    q <return> quits the program

    When you have typed your request and pressed return, the requested information is displayed on your terminal followed by the following message.

        another balance request ??

  4. The program continues to offer you this service until you enter a q.

  5. Use the driver program. By default, the driver program generates 300 transactions. You can change that number with the -n option, as in the following example. The command

        driver -n1000

    specifies that the program should run for 1,000 loops.

    driver is a script that generates a series of transactions to simulate activity on the system. It is included as part of bankapp so you can get realistic-looking statistics by running tmadmin commands.

See Also