Correlation is one of the fundamental LoadRunner scripting skills; and LoadRunner novices are usually not very good at it (which is expected), but people who think they are LoadRunner experts are sometimes not very good at it either.
Mercury has done just about everything it can to remove the need for complicated correlation (correlation rules, the “scan script for correlations” option in VuGen, HTML mode recording, the Click and Script vuser type), but there will always be web applications that will require you to perform manual correlation when scripting.
Mercury’s training material kind of glosses over correlation, and makes it look overly easy – the correlation exercise from the training material never gives any of my students any problems; but if the training material were to include difficult exercises, it would be necessary to spend another day, and more people would be unable to complete the exercises.
I usually tell my students that they will encounter some much more difficult to correlate applications than the Mercury Tours website, and they will need to spend some time improving their manual correlation skills using WDiff .
This exercise should really test your correlation skills. Every problem (or something very similar) has been seen “in the wild” while I have been creating scripts for LoadRunner.
The Correlation exercise is available here.
Also, you should have a go at the previous scripting exercises:
7 Comments
Comments are closed.
challenge still in the workshop?
After recording my script on application, it is capturing one dynamic value, but when i go to correlate this value i get unluck. But it is showing me the transaction is “Pass”. Actually the value is application generated and in the hidden field of database, everytime when a new thing has to be enter it provide a dynamic no. that is in sequence, in my script what i captured, the other part is using that application generated value. So i manually correlate this as the automatic corellation was not detecting it.
Please help.
Where is the challenge? 🙂
Hi,
I am recording “Yahoo finance” page with web(HTML/HTTP) protocol. I have to fetch ‘last trade’ and the ‘Headlines’ for few comapnies.
1) for ‘Last Tade’ I correlated data and got the value.
2) But for ‘Headlined’ , as I have to extract all the headlines from the page so I am not sure If I have to use correlation or something else.
I have checked server response as well, but the LR and RB boundaries are dynamic so I cant even capture using correlation.
Please suggest me how to do that.
Hi,
I am facing an issue with correlation in LR11.04 as I am using SAP-Web protocol for an application developed in ‘SAP WebDynpro’. Please help as the queries mentioned below.
1. Do I need to correlate ‘SAPEventQueue’?
2. How can I handle Jsession IDs (I found the boundaries in the treeview but unable to identify the dynamic values during replay)
Thanks,
SaiHari
Your question is very off-topic. You might find this useful: http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/
Hi,
I am facing an issue to correlate set of values, The set of values below,
{‘option’:123′,’n’:’Jhon’,’tr’:’ae’,’tp’:’576′,’emt’:1},
{‘option’:1234′,’n’:’Raj’,’tr’:’ae’,’tp’:’576′,’emt’:1}
from the above i have to capture Jhon and Raj but when correlating i have one more dynamic value as 123 and 1234. Those are dynamic and no of digits also different. One is 3 digit and one is four digit. Do we have any ways to correlate this kind of formats?
please help me in this case if you can.
Thanks,
Chelladurai.