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
Answers were Sorted based on User's Feedback
Answer / anjaan
we can use ordinal...we can insert "ORD=All".hence all the
values will get captured and then we can identify at wat
ordinal the value which we required is coming ...so next
time we will use that ordinal and capture the value.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / 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 |
Answer / shanmukha
Just use the correlation with the ORD=ALL option
try to get the count of the occurences using lr_eval_string("{variable_count}").
try to save the n-1 value using lr_save_string
| Is This Answer Correct ? | 2 Yes | 0 No |
A good link for loadrunner scripting ?
how much memory will allocate for 1 vuser?
What is user defined functions in Load Runner ? Give some Examples ?
Hi all, I am new to Load Runner. I have run the load runner and i got analyzed reports/graphs. But i am very much confused about how to analyze those graphs. Can any one help me out this problem?
What is the load runner testing process?
What is pause command?
When do you disable log in Virtual User Generator?
which browsers versions are supported in loadrunner 8.1?if any patches are required for browsers?
3 Answers Prodigy Technologies, TCS,
how do u analyze result & what r analze results in load runner?
What is planning for the test?
why do u need a parameterize fields in ur virtual user script ?
In a web server, database and network are all working fine and now, where could be the problem?