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...


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

Answers were Sorted based on User's Feedback



In correlation(web_reg_save_param) function,i need to display the last but one value(n-1) value if ..

Answer / anjaan

we can use ordinal...we can insert "ORD=All".hence all the
values will get captured and then we can identify at wat
ordinal the value which we required is coming ...so next
time we will use that ordinal and capture the value.

Is This Answer Correct ?    4 Yes 2 No

In correlation(web_reg_save_param) function,i need to display the last but one value(n-1) value if ..

Answer / ravichandra

Step 1: Use "ORD = ALL" in web_reg_save_param() function to capturae all the values.
In the response of the request "param_count" will let you know how many values are captured in an array.

Step 2: Get the n-1 value by using lr_eval_string("{param_count_n-1}")

Step3: Save the value using lr_save_string() function.

Example :
If param_count = 10 in step1
Then
Write lr_eval_string("{param_count_9));

Is This Answer Correct ?    3 Yes 1 No

In correlation(web_reg_save_param) function,i need to display the last but one value(n-1) value if ..

Answer / shanmukha

Just use the correlation with the ORD=ALL option
try to get the count of the occurences using lr_eval_string("{variable_count}").

try to save the n-1 value using lr_save_string

Is This Answer Correct ?    2 Yes 0 No

In correlation(web_reg_save_param) function,i need to display the last but one value(n-1) value if ..

Answer / naveenkumar

Can you please explain it in detail.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Load Runner Interview Questions

can you tell some load testing tools?

12 Answers   Infosys,


How can you set the number of vusers in loadrunner?

0 Answers  


What are the components of LoadRunner?

21 Answers  


how can u see agent process in controller?

5 Answers   AZTEC,


what usually indicates that ur virtual user script has dynamic data that is dependent on u parameterized fields?

2 Answers   IBM,


Do we consider firewall in performance testing? If so where and why and what we will do with firewall in testing?

1 Answers  


How are concurrent users differing from simultaneous users?

0 Answers  


Correlation without manually how u can do? i.e Automation correlation option where it is?

3 Answers   Amdocs,


on what monitoring tools have u worked on?

1 Answers   Accenture,


types of servers?Explin me plz(chandana)

3 Answers   IBM,


lr_debug_message ?

1 Answers  


Hi I urgently need a substantial answer for one Q on Vusers - Performance Center. Hope you could help me. Q : My application is intended to undergo soon the load testing with performance center. The Vusers we planned are 100. But the dev team says that we should use 100 different UserID/Password's & each Virtual user should login into a different account while testing. Firstly, is this required ? my application can handle multiple logins for the same userid/password, hence is it mandatory to use 100 different account when we can do the same test with one account. If so, for 1000 Vusers we cannot use 1000 logins right ? I need substantial info to prove my point. Secondly, is this possible to assign a different userid/pwd to each Virtual user ? Thanks in advance & awating your reply Harsha

11 Answers   Polaris, Verizon,


Categories