Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occuran..

Answer / 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

U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occuran..

Answer / maheshkumar

Using ORD=ALL will capture an ARRAY WITH ALL
MATCHING VALUES.

1. case where you want only 3rd value use can use ORD=3
2. If you want to capture all values and then you want to
make use of 3rd value of the captured array, you will have
to use "PARAM_NAME_3"

For example you have used:
web_reg_save_param
("Array","LB=abc","RB=xyz","ORD=All",LAST);
and it give results a1,a2,a3,....
Now you want to place "a3" in web_submit_data then you
should use:
{Array_3}

Is This Answer Correct ?    15 Yes 1 No

U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occuran..

Answer / narayana

maheshkumar is correct


if u want particular occurrence we need to write like this

paramname_no

if paramname is param and if u want 3 occ

then we can write like this:param_3

if u want to get count of all occ then param_count need to be used

Is This Answer Correct ?    7 Yes 0 No

U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occuran..

Answer / bala

if u want a perticular value from a list of matches which
having the same LB and RB then we go for ORD=3

e.g:

abc234xzc
abc456xzc
abc789xzc
abc980xzc
abc567xzc

if u want the value 789 from that list
then u set as ORD=3
it will returns that value
this concept is used for corelation

Is This Answer Correct ?    6 Yes 3 No

U r taken ORD=All in correlated function.What it represents.Now i want to capture the ORD=3 occuran..

Answer / hussain

Narayana,


where to write this :param_3 in function


Thanks,
Bhasheer

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Load Runner Interview Questions

What is a correlation?

0 Answers  


what is the difference between the cookies and cacheing

1 Answers  


Suppose you are not using Web server (But using Application Server and DB server). Then what are the graphs available in LoadRunner?

0 Answers  


Explain performance testing life cycle.

0 Answers  


How do you debug a LoadRunner script?

2 Answers  


What is a scenario?

3 Answers   Accenture,


What is gui vuser and on which platform it will run?

0 Answers  


What is the difference between manual and auto correlation? Why we need Manual correlation? what is the main Drawback in auto correlation?

1 Answers   Honeywell,


What is the process for developing a vuser script?

0 Answers  


what is scalability testing, and how will u perform in real time.

2 Answers   Nous,


In correlation(web_reg_save_param) function,i need to display the last but one value(n-1) value if the boundary values keeps on changing. For example : At the time of recording,the n value is 3 and at the time of playback, the n value is 4. then how can i display the n-1 value

4 Answers   Sabre,


what r the major concepts in C are very much used in load run script?

1 Answers  


Categories