Sunday, 22 February 2015

Using CSV file in LaoadRunner(Parameterization)

Using CSV file in LaoadRunner(Parameterization)

Steps

1.Go to step navigator, then argument properties. 



 2. Give the path of CSV file as shown in below image,






close and open it again your parameters data automatically get reflected.  

Wednesday, 18 February 2015

LoadRunner Functions | lr Functions in loadrunner



Load-Runner Functions (View >Steps Toolbox):

1. lr_start_transaction:   used to measure the duration of a business process. Lr_start_transaction is inserted at the beginning of any request. Each lr_start_transaction is should have lr_end_transaction after the request or any process for which you want to measure or analysis duration or any other parameters.
2. lr_end_transaction: used to make end of loadRunner transaction.
Example.
    lr_start_transaction ("Transaction Name _1");
web_custom_request ("parse_6", "URL=https: //localhost:26143/skypectoc/v1/pnr/parse",
                            "Method=POST", "Resource=0", "RecContentType=application/json",
                            "Referer=", "Snapshot=t9.inf",
           "Mode=HTML",
             "EncType=application/json",LAST):

   lr_end_transaction ("Transaction Name _1", LR_AUTO);