U r taken ORD=All in correlated function.What it
represents.Now i want to capture the ORD=3 occurance& place
it in web_submit_data of vu gen script. How can u do it?
Answer Posted / selva
ORD in web_reg_save_param or ORDINAL represents the position
of the desired data in a list of matching output values that
have passed the left and right boundary test.
For e.g., let us assume your server output looks like this :
the table value created is: 1234 and can be used
the table value created is: 1235 and can be used
the table value created is: 1236 and can be used
Here the LEFT and RIGHT boundaries are same for all the
three values 1234, 1235 and 1236. But you need only the
value 1236. If this is the case, you need to use the OPTION
'ORD' in this method. ORD indicates which value among the
matching ones must be retrieved
If you specify ALL, it will return an ARRAY WITH ALL
MATCHING VALUES in the array. Hence, your array will have
1234, 1235, 1236.
For capturing ORD=3 occurrence and using it in
web_submit_data, store ORD=3 occurrence in a PARAMETER
through web_reg_save_param.
Replace the data in the web_submit_data with the PARAMETER
CREATED.
| Is This Answer Correct ? | 24 Yes | 0 No |
Post New Answer View All Answers
What should be done to view parameter substitution in the execution log?
What are all the important protocols that load runner supports?
You have an application which shows the exam results of the student. Corresponding to name of each student its mentioned whether he passed or failed the exam with the label of “pass” and “fail”. How will you identify the number of passed and failed student in vugen script?
In a web server, database and network are all working fine and now, where could be the problem?
How do you enable text and image checks in vugen?
What is protocol function?
What is the difference between overlay graph and correlate graph?
While the script is running we find some values that may need to be correlated? Is it possible to do manual correlation for those values?
How to create a scenario?
How you set maximum number of vuser that a host can run?
What is Standard deviation? How it will use in Lr?
What is the difference between hits/second and requests/second?
What are the section contain by the vugen while creating a vuser script?
How many vusers are required for load testing?
How does loadrunner execute a performance scenario?