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
What is stand-alone mode?
What are the information contain by script windows for each script in the list?
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
What is lr-function?
How to upload media use loadrunner? I record the script but it fail because the top of document is invalidation.How to solve the problem?Which one know the answer please tell me. Thanks!
How will you handle the situation in scripting where for your mailbox you have to select any one mail randomly to read?
When loadrunner is used?
How many types of vuser are available?
What are the information crating for each host?
What are all the reasons to use the server resources monitor?
How is each step validated in the script?
During run time where the hosts saves the files?
What is the configuration of systems when using load runner?
What is the difference between load, performance testing?
How can correlation be performed?