Why do you create parameters?
Answers were Sorted based on User's Feedback
Answer / charan
Parameterization is the process of sending different values
to different Vusers..
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / chethana
1.Right click on a value we want to parameterize (in our
case this is a username - "load1") and select "Replace with
a parameter" menuitem
2.Name the new parameter as "UserName" and click OK btn
3.the value "load1" will be changed with a UserName
parameter
4.Right click on the just added parameter and
select "Parameter properties"
5.By the way, this menu allows others operations with
parameters. You can:
"Restore original value (load1)"
In other words, rollback your changes
"Replace more occurrences" This menuitem will find for the
initial string ("load1") in the script and will propose to
replace it with the new parameter ({UserName}).
Tips: Please, use this feature carefully. For example,
let's there is "http://server/load1.htm" link in the
script. Here, "load1.htm" is a name of page, but
user. "Replace All" will produce incorrect link -
"http://server/{UserName}.
6.Parameter properties" will be shown.This dialog is
a "heart" of any parameter. You can here:
specify the type of the parameter
create the pool of values for any parameter (add new values
for any parameter)
specify, how the parameter will be changed against
interations and users
and other different settings...
7.After that perform the similar procedure for "Password"
parameter
8.Parameterizing allows simplify load/performance testing:
Instead of writing a separate LoadRunner VuGen script for
each virtual user, we added parameters for specific
information (username & password) and used the one script
for all users.
Parameterizing allows decrease maintenance cost. If
application under test is changed, one test should be
updated for 100 (e.g.) users, but 100 tests for each user
Supporting of tests is a real pleasure :) To add new user,
a test has to update dat-files only.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dillesh
Parameter is nothing but script veriable. this variable is
store those values which is user know.in loadRunner we will
do parameterization to those data which are Unique,
Dependent, Date&Time and User defined data.
Unique Data means those data which are unique like Username.
Ex: if you are executing the scenario for 60 users but the
username is same so no need to do parmeterization, but if
there is different user names so we should do
parameterization for those uniq values.
Dependent Data: password is dependent data, because it is
depending upon Username.
Date&Time: we should do parameterization for Date&Time
because time is dinamically changing, there is lenghtly
explanation about time&Date but i think you can think that
why.
Dinamic Data: some of the peoples think that dynamic data
will do correlation, that is right but we will do dynamic
data also to parameterization. parameterization will do
those dinamic data which is user defined dynamic data. not
server generated dynamic data. server genarated dinamic
data we will do correlation and user defined dynamic data
we will do parameterization.
now i think you can understand that why we do
parameterization in LoadRunner Scripts.
Thanks
Dillesh
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vinod
To perform the script’s actions (query, submit, and so
forth) using different values from those recorded.
When you replay the script using multiple Vusers and
iterations, if we do not want to repeatedly use the same
value we replace the recorded constant value with a
parameter
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sivaramaraju vuyyuri
THE SIMPLE USE IS TO HOLD A VALUE THAT IS OBTAINED IN A
PROCESS OR TASK TEMPORARLY AND USE THE VALUE IN THE NEXT
ACTIONS OR PROCESSES
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / suresh kumar perikala
we can pass the test data to the v users in the execution
by using parameters option only either by using
sequential,random or unique options.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / venurao
TO test the funcunality with multifulm tst data(input) we
will create parameters
Is This Answer Correct ? | 0 Yes | 2 No |
How to get the intermediate results from Controller, for example, when a 10 hours execution is going on in Controller, before the execution is completed how we can get the results at some 5 hours. Is it possible? (Not through graphs)
differance between "lr_output_message" and "lr_error_message"?
What is the advantage of using loadrunner?
How can we know now we counduct load testing?
how can i capture the elapsed time of a scenario in a script?
What are the major challenges u faced in performance testing ?
Can We record the Desktop application or windows application in Load Runner(A simple VB application) If yes which mode we have to select while recording in Load Runner?
What is the purpose of selecting ‘show browser’ during replay in the general options settings?
how to handle the dynamic left and right boundaries are numeric
How to schedule a scenario?
Can we run the Qtp Scripts in Load Runner?
What is visual recorder in Load Runner?