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

How can we edit the vuser script?

0 Answers  


HI GUYS ... GOOD NEWS PERFORMANCE TESTING INSTITUTE IN HYD IS.KEYLABS , SOMAJIGUDA...EXLENT TEACHING

1 Answers  


How To Identify Performance Testing Requirements ?

5 Answers   Polaris,


ur using the internet with same bandwidth & others also use internet by sharing the bandwidth there exist the traffic in between how u calculate this?

0 Answers   ITC Infotech,


I have one Scenario login then bookcoffee then logout explain test plan for above scenario?

0 Answers   HP,






What is scenario wizard?

0 Answers  


What is Differed Bug?

3 Answers   IBM,


How does caching affect performance testing results?

0 Answers  


what all the bottle necks can occur in real time, can any one tell me what all u have faced, thanks in advance

1 Answers  


What is the difference between overlay graph and corelated graph?(Chandana)

1 Answers   TCS,


I need to have a price list for HP loadRunner tool (Analysis, Controller, VU generator) for different number of VU (for example 100 VU,200Vu ,500VU) for performing stress testing. and if there is any mandatory support fees or anything related. i know that companies might get discounts but i need the standard price list as i am planning to purchase the loadrunner but i need to know the price list before ,which will be very helpful if anybody can help. //Hint I need the protocol which contains Oracle web application and Siebel-web i think which is Oracle E-business protocol Thanks

1 Answers  


What is extended log?

0 Answers  


Categories