loadrunner Looking for inputs to generate a random string...

  • Thread starter NaveenKumar Namachivayam
  • Start date
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

N

NaveenKumar Namachivayam

Guest
Looking for inputs to generate a random string using below regular expression in LoadRunner. [0-9A-Fa-f]{8}(-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}
 
Well, Let's see if I have a set of parameters that are set for the pick random on each use, lr_message( lr_eval_string( "[{param1}{param2}{param3}]{8}(-[{param1}{param2}{param3}]{4}){3}-[{param1}{param2}{param3}]{12} ") ) ; Where each of the param[1-3] is previously defined for the series to pick randomly from for each pick
 
Thanks James. I already implemented similar kind of approach. But I am looking to have one param instead of creating multiple params.