Krishna Logo
Divied
Call: Sana @ (571) 386-2972

 

Loading
Latest News
Home Navigation Divied
INTERVIEW Navigation Divied LOADRUNNER Navigation Divied How to save parameter value to other parameter in LoadRunner?
How To Save Parameter Value To Other Parameter In LoadRunner?
How to save parameter value to other parameter in LoadRunner?

How to save parameter value to other parameter in LoadRunner?

"How to save parameter value to other parameter in LoadRunner?". OK, there is a simple solution.

To save parameter value to other parameter you have to:

  1. Evaluate value of initial parameter
    Use lr_eval_string LoadRunner function.
  2. Save the evaluated string to a second parameter
    Use lr_save_string LoadRunner function.

Please, check the following code:

// save string value to initial parameter
lr_save_string("some string value", "prmStr1");
lr_output_message(lr_eval_string("Value of prmStr1: {prmStr1}"));

// save the evaluated value to second parameter
lr_save_string(lr_eval_string("{prmStr1}"), "prmStr2");
lr_output_message(lr_eval_string("Value of prmStr2: {prmStr2}"));

 


Shadow Bottom
 
 
© 2005 - 2018 Krishna Training.
Designed & Developed By BitraNet