What is correlation?

March 14, 2008 by Ankur · 24 Comments
Filed under: correlation 

I trust you have followed my earlier posts on this blog to get yourself started on LoadRunner. If not you can find them here

Ok, so now we come to one of the most important topics in LoadRunner — Correlation. I would recommend you to understand each and every aspect around this topic.

If you simply record and playback a script in VuGen, you might encounter errors in your playback. Often, those errors are related to the session values which are sent by the server to the client to identify that particular session.

Why error? Well, session values will change with every playback of the script.

To overcome this we need a way which can capture these dynamically generated session values and pass it subsequently to any part of the script, wherever required. This method to identify and set the dynamic generated value is known as correlation.

If your new to loadtesting, don’t confuse this term with parameter which you might have used in tools like QTP to pass varying values. Parameter is not a dynamic value captured from server response but it is something for which the user has predefined data values available.

LoadRunner use three functions to correlate scripts:

  1. Web_reg_save_param
  2. Web_create_html_param
  3. Web_create_html_param_ex

The last two are just used for backward compatibility. The first function is used often. We will touch upon details of this function in the next post

VuGen Controller and Analysis

March 13, 2008 by Ankur · 19 Comments
Filed under: introduction 

As I have written earlier, the three main parts of LoadRunner are VuGen, Controller and Analysis.

HP user guides, which comes with LoadRunner installation, have very nicely explained the basics of these three parts.I think, I wouldn’t do any justice to the introduction writing my own when it is already explained. We will probably touch upon the finer details of these parts in the posts to come.

So to get an idea on basics refer:

  • Virtual User Generator User Guide.pdf for VuGen
  • Controllers Users Guide.pdf for Controller
  • Analysis.pdf for Analysis

Feel free to post a comment below if you have any questions.

From the next part onwards, we will start a series on correlation.

« Previous Page

  • Subscribe to this blog

    Enter your email address:

    Delivered by FeedBurner