loadrunner Is there a way to specify the number of iterations in LoadRunner?...

  • 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
Is there a way to specify the number of iterations in LoadRunner? Here is my requirement: If the number of records in my parameter file is 10, script should run 10 times. I don't want to use Runtime settings.
 
Unique. Exist when complete. Schedule a long duration in the scheduler. You are still going to have to configure items. Not sure I understand at all the aversion to run time settings for they either have to be set in VUGEN and then imported at their initial setting or touched in the controller. Either way you cannot simply ignore them
 
Hi James Pulley. I am not using controller or PC. I am just creating an utility script in LoadRunner.
 
Read license very carefully in this case. There is no provision in mdrv command line for iterations. You could modify the number of iterations with SED (included with LoadRunner) against the files which contain the runtime settings. See default.cfg and default.usp
 
Can still try using a program code... But not sure if this actually can be considered a solution... Please add your user actions in a .c file and iterate it using a loop.. The number iterations should be based on a fileline count-2(header and new line)... With this you can still make your script work for only for the defined number of iterations as per parameter file numbers... If executing thru a PC or Controller again the Run until completion is enough to achieve the target..
 
Hi Naveen,If you are nt going to use the script in controller only on Vugen pls use the Loop statement.....no need to use Run time settings.......