I am using LoadRunner version 12.02 - Build 2739
Looking at an old, yet correct \'guide\' shows that I have used the statements correctly (3rd Point, around 1/3rd of the
The problem is that you use a soon to be deprecated API web_reg_save_param
which does not support the ParamName
syntax. In this API the second parameter is always the parameter name and therefore the correct use would be:
web_reg_save_param(
"rotaPeople",
"LB=someText",
"RB=\")",
"Ord=ALL",
LAST);
The proper API to use is web_reg_save_param_ex
which does support the syntax you used so the call should look like:
web_reg_save_param_ex(
"ParamName=rotaPeople",
"LB=someText",
"RB=\")",
"Ord=ALL",
LAST);
Then the rest of your code should work properly.
I am not sure what you are doing but you might want to take a look at the somewhat unknown API lr_paramarr_random
which will automatically pull a random value from the parameters array.