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 transaction per second graph(pass)?
How to configure yahoo cookies in load runner?
How is automated correlation configured?
What is host?
If we want to know the size of each component in system how?
What is ms-windows?
How you identify performance test use cases of any application?
How can we perform functional testing under load?
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?
Which loadrunner component does the recording of performance test scenario?
What are the element in the loadrunner controller?
What are the capabilities exactly you look for while selecting the performance testing tool?
For what purpose, user will be using ‘continue on’ error?
How you develop the database vuser script?
You have an application which shows the exam results of the student. Corresponding to name of each student its mentioned whether he passed or failed the exam with the label of “pass” and “fail”. How will you identify the number of passed and failed student in vugen script?