Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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

When do you disable log in Virtual User Generator?

1 Answers  


There is scenario. Total no. of transaction you have to done 1,00,000 in 8 Hour duration. One transaction taking time to complete 6 mins. how many Vusers you will run on this test.

3 Answers   IBM, Microsoft,


Where you insert the rendezvous point?

0 Answers  


What is the advantage of running the Vuser as thread?

3 Answers   Patni,


Events are generated, but the script is not generating? Why?

2 Answers   HP,






what is the difference between the HTML and URL based recording in load Runner?

14 Answers   TCS,


How to modify the script?

0 Answers  


Generally LoadRunner uses to test the load. ( client- server, webbased applications,... etc). Shall we use LoadRunner instead of WinRunner or some other tools?

8 Answers   Ness Technologies,


How to debug Load Runner Script using Vugen?

5 Answers   Huawei,


What is maximum No of Vusers that we can load using LoadRunner8.0 and how should we connect to database using loadrunner

4 Answers   HP,


for suppose if you are selected for individual project, how will you manage the project like, how will you find critical scenario's in your project ?

1 Answers   HCL,


What is Latency and Bandwidth

1 Answers   HP,






Categories