Search code examples
scriptingperformance-testingload-testingcorrelationloadrunner

Handling Multiple Correlation IDs in Load Runner


I am a beginner in Load Runner V 11.50. I was scripting a login page and then logout under Action. I applied the correlation from Design Studio. But the problem is, a single ID value is applied to all requests having the ID as parameter. In reality, the ID value generated from 1 request is passed in other and from the later request another ID value is getting generated in passed in rest all requests. So the replay status is failed. I guess multiple correlation is required in this case. Anyone can suggest anything on this?

Thanks in advance.


Solution

  • What you are likely referring to is a state variable, which is generated on page A and passed back on page A+1. You will need to handle this with manual correlation.

    Automation in correlation is not meant to replace manual correlation, only to improve the efficiency of the developer when the pattern is well known. In this case because of the constantly changing nature of when a value is populated and used you will need to address this manually.

    As you are a beginner, this is an opportunity for your mentor to reground the material from your classroom training and work with you to reinforce your manual correlation processes and skills. If you are being asked to perform without a mentor then your management is setting you up to fail as a new person in this field.

    Here is a podcast which should help you on the identification front for manual correlation.

    http://www.perfbytes.com/dynamic-data-correlation