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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

1000


What are different types of vuser logs which can be used while scripting and execution? What is the difference between these logs? When you disable logging?

1097


How can we find database related issues?

1079


How will you handle the situation in scripting where for your mailbox you have to select any one mail randomly to read?

1171


What is the advantage of running vuser as a process than a thread?

1153


How can we invoke a parellel process in load runner using C or perl language?

2286


How is each step validated in the script?

1156


What is stand-alone mode?

1108


What is the think time? What is the threshold level for think time and how can be this changed?

1049


What is the benefit of running a vuser script as a thread?

1054


What is protocol function?

1175


What is the latest version and language used in load runner?

1074


Which loadrunner component does the recording of performance test scenario?

1110


What is a correlation? Explain the difference between automatic correlation and manual correlation?

1290


How can we perform functional testing under load?

1079