Sunday, January 11, 2009

LoadRunner Parameter Simulation

Lot of LoadRunner script issues are due to incorrect parameter settings. Most of the times when we run the script with VUGen, it works fine. However, while running the script in a controller scenario, we face issues such as sending wrong data for multiple users, running out of values (for unique data settings), etc.

So, to avoid these issues use the "Simulate Parameter" feature available for the File type parameters. You can validate the use of the different parameter values for multiple Vusers and iterations before running the script in a scenario. The parameter settings can be changed if there are any issues with the parameter usage and again validated.


For example, in the above images, it can be observed that the settings for the "NewParam" are set to "Unique, Once" and has only 3 data rows in the table. So if we try to simulate running the script with 4 Vusers, the fourth user does not have any values left in the table for its use and will fail. These kind of issues can be rectified with the help of the "Simulate parameter" feature.

No comments:

Post a Comment