Two tasks for Parametrization in LoadRunner:
- Replacing the constant values with parameters (in Vuser script)
- Setting the properties and data source for the parameters
Limitation of Parametrization in LoadRunner – Text strings that are not function arguments can not be parametrize.
Creating Parameters:
- In the script View, select the string and right click on it. Then, select the replace with parameter.
- Type the Name of the parameter in the new opened small window / popup. You can also select it from drop down. Then, select parameter type from the parameter type list. You may select any of the available types: Date/Time, file, Group Name, Random number, Unique number, User defined function, or Vuser ID (whichever is appropriate). Next, you may select next row as:
- Sequential
- Random
- Unique
- Same line as <Pameter_Name>
- At last, you will need to update values on:
- Each iteration - It instructs the Vuser to use a new value for each iteration
- Each occurrence - It instructs the Vuser to use a new value for each occurrence of the parameter
- Once - It instructs the Vuser to update the value of the parameter only once during the execution
Data wizard is a great option for Parametrization in LoadRunner.
Popularity: 97% [?]















Be The First To Comment
Related Post
Please Leave Your Comments Below