Transactions created using lr_set_transaction() are not displayed in BPM

  • KM00991412
  • 10-Jun-2014
  • 11-Jun-2014

Summary

For transactions created using lr_set_transaction(), the transaction names are not included in the .usr file of the script and BSM and BAC cannot find and display them. A workaround is provided to overcome this issue.

Error

HP Business Service Management (BSM) 9.x transactions list does not display the transactions defined with

lr_set_transaction("tName", duration, LR_PASS); 

in VuGen versions 11.5x.

Cause

Transactions defined with lr_set_transaction("tName", duration, LR_PASS);  are not added to the VuGen script USR file.
BSM and BAC read the transactions included in the .usr file in the Vugen script folder. If transactions are not saved in the .usr file and BSM and BAC cannot find and display them. 

Fix

A possible workaround is to manually add the transaction names in the .usr file in sections [Transactions] and [TransactionsOrder].

  1. Open the .usr file (in the script folder) with Notepad
  2. Add the transactions in the [TransactionsOrder] and [Transactions] section of the .usr file.
    For example if the transactions in the script are: “Transaction1” and “Transaction2”, the corresponding sections in the .usr file should look as follows:

    [TransactionsOrder]
    Order="Transaction1__*delimiter*__Transaction2"

    [Transactions]
    Transaction1=
    Transaction2=

Related articles that may be of interest:

Document ID KM00645817 - BSM and BAC display a partial or empty list of transactions for a VuGen 11.51 Web (HTTP/HTML) protocol script

Document ID KM00777633 - How to use the TransactionWriterAddin to specify dynamic transaction names for VuGen scripts used in a BSM/BPM monitoring environment