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

How can you test the global servers with using loadrunner

2871


What is loadrunner controller?

1160


How do you decide the number of load generator machine required to run a test?

1342


Which loadrunner component does the recording of performance test scenario?

1111


What is host?

1146


Suppose ur app server is .net server. In that connection pool is related to memory ?explain how?

2352


What is transaction per second graph(pass)?

1288


What is vugen recording and scripting?

1141


How can we develop the database vuser script?

1041


What is protocol function?

1185


What is the loadrunner start-transaction and its syntax?

1142


In a web server, database and network are all working fine and now, where could be the problem?

1060


What is ms-windows?

1145


when i run start senario for different process it always completed at elapsed time 6.32 sec. i don't understand why it happens.. can we set elapsed time ? plz answer.... pratik196@gmail.com

2166


What do you mean by remote command launcher(rcl)?

1289