How do you count how many matches are returned by ORD=ALL in web_reg_save_param?

Please Like Us!!!

LoadRunner Interview Questions

Q: How do you count how many matches are returned by ORD=ALL in web_reg_save_param?
A: To retrieve the total number of matches you can use the following term: ParamName_count. For example, to retrieve the total number of matches saved to the parameter array, use:
TotalNumberOfMatches=atoi(lr_eval_string(“{ParamName_count}”));

Reviews & Comments

Enjoy!