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

What is parameterization?

638


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

582


How we tested remote servers if client is installed in another place

1703


What is the think time?

583


What is action section?

609






How will you divide your script into multiple actions? Why?

776


What the host attributes determine?

628


How can correlation be performed?

549


How to record the desktop application in Loadrunner 12.53 version 64 bit window.

1575


What is the process for developing a vuser script?

540


During run time where the hosts saves the files?

604


How is automated correlation configured?

581


How will you stop the execution of a script on error?

625


What is the difference between performance testing and performance engineering?

579


What is the significance of “vuser-init “?

791