Transaction Name and SLA using

Hi,

GIVEN:

1. There is script in TRUCLIENT with several transactions in the format:

<Index>.<TransactionName>

00.Login_ModernUI_Time
01.001K_1K_from_PROMPT_to_LOTSTODAY_Lots_Table_Display_Time_01Lot
02.001K_1K_from_LOTSTODAY_to_LOTREPORT_SummaryTable_Display_Time_01of01Lot
03.001K_1K_from_LOTSTODAY_to_LOTREPORT_Lots_WMG_Display_Time_01of01Lot
04.001K_1K_from_LOTSTODAY_to_LOTREPORT_Lots_Total_KPI_Display_Time_01of01Lot
05.001K_1K_from_LOTSTODAY_to_LOTREPORT_Lots_SWM_Display_Time_01of01Lot
06.001K_1K_from_LOTSTODAY_to_LOTREPORT_Lots_Legent_Display_Time_01of01Lot

....

REQ:

1. As part of anylisis summary.html content, should be result table in format:

Transaction Name

SLA

Minimum

Average

Maximum

Std_Deviation

90_Percent

Pass

Fail

Stop

The Problem:

1. There is a problem with SLA Goal definition creation. Wizard does not see correct transaction names. Available Transaction cut <Index> in the name and read in following fromat:

As result, impossible to use SLA as expected in summary.html report.

Q:

is there any way to manage different transaction names formats or another way to create a report in the format I need (above)?

  • 0  

    ,

    In LRP/LRE you can use main and sub-transactions. (lr_start_transaction() / lr_start_sub_transaction()). In this help page can the following note be found: "Do not use the period character (.) in a transaction name. The period character delimits transactions and sub-transactions. In analysis, a transaction name with a period will be interpreted as two transactions."

    So use a different separator than a period character.

    How to ask questions

    Reward contributions via likes or 'verified answers'

  • 0 in reply to   

    OK. Thanks!

    Is it possible to change Transaction Names by editing files in the folder of Virtual User Generator, not in the Develop Script Mode?

    I found 2 files: 

        TruClient<Name>.usr

        Action.c - (Read-Only)

    and changed in Notepad++ preffix in format 01. --> 01_

    But, Develop Script Mode transaction names are still written in the old form  (XX.) and after opening and saving the files return to the old format

    Q:

         What other files need to be changed specifically transaction names? (if possible)

          Is there any other quick way for Transaction Names changing without using a Develop Script Mode (vvery long and energy-consuming path)

  • 0   in reply to 

     ,

    Use a tool like sfk.exe to search in the folder structure of your script for files that contain the transaction names.

    TC is a bit complicated to patch. Script is stored in UTF-16le (no BOM) in default.xml and you might find more in Library folder.

    Disclaimer: You are on your own when you play these tricks, but it might work and save some time.

    How to ask questions

    Reward contributions via likes or 'verified answers'