How to correlate the server side data, when u r getting
more than one dynamic data which keeps on suffel during
replay?
Answer Posted / dillesh
server side data correlation we will do manually. first we
follow the bellow algorithm of manual correlation.
1.Find a dynamic value to capture.
2.Find server's response, containing the dynamic value.
3.Capture the dynamic value.Special parameter will be used
instead of dynamic value.
4.Replace every occurrence of dynamic value in script with
the parameter.
5.Check changes.
Find each step describe in details:
1.Find a dynamic value to capture: I recommend to record
and save two equal VuGen scripts. After that, open menu
item "Tools / Compare with Scripts" and you can compare
both recorded scripts in WDiff.
2.The differences are highlighted by yellow. This
highlighting means that lines (parameters values) change
from run to run. So, most probably, these values should be
correlated.
3.Find server's response, containing the dynamic value
Before script executing, please enable extended logging
from "Vuser / Run-Time Settings...":
4.Then execute script.Open Replay (Execution) log and find
server's response, which contains dynamic values.
5.Capture the dynamic value
I will show two ways how to capture a dynamic value:
o Automatic capturing from Tree-view
o Manual from Script-view
These ways are similar enough. Also, they use the same
function - web_reg_save_param.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What the vuser script contain?
What is report header and what are the information contains?
How does caching affect performance testing results?
How is each step validated in the script?
How to create a scenario?
What do you mean by remote command launcher(rcl)?
How to create a host list for a scenario?
What in percentile graph?
What are the different sections of the script? In what sequence do these sections run?
What is the difference between web_reg_find and web_find?
In a web server, database and network are all working fine and now, where could be the problem?
What is the difference in running the vuser as a process and as a thread? Which is more advantageous way of running vuser?
Can anyone please mention what are the common errors that we can see while replaying the Vugen script and also while running the controller scneraio and How to handle them with a few examples. This will be greatly helpful.
What is scenario default?
What is the latest version and language used in load runner?