Different Ways To Do Correlation In Loadrunner You Must Know
By Sam Z // Wednesday, May 07, 2014
1. Generation Log
One of the common options in loadrunner is generation log. You will take the left and right boundary and search in the generation log and use CTRL+F and find the request name and place the web_reg_save_param before that request.
2. Replay Log
Sometime you do not find correlation value in generation log than the alternative way is go to run time settings and click on Log->Extended Log-> "Data Returned by Server" option and replay the script. Once you replay the script you will useCTRL+F and find the left and right boundaries. Sometimes replay log may fail or it will take a long time if you select “data returned by server” as it is printing all the response to the replay log then the alternate method to use is lr_set_debug_message as shown in this link.
3. Redirection
If you are not able to find the value in generation log and replay log then there might be 301 or 302 redirection. Find out the pages that have 301 or 302 redirection. Once you find the pages that have 301 redirection go to that page manually in your browser, try to find the left and right boundary values by using view source (Left Click on the page -> "View Page Source" in chrome and "View Source" in internet explorer).
4. Text Flags:
Sometime you find the value, but the left and right boundaries will by changing dynamically then the alternate option is using text flags SaveLen and SaveOffset.
5. Automatic Correlation (Design Studio):
One of the best method that has from loadrunner 11.5 and loadrunner 12 is updated automatic correlation called design studio. It has improved a lot from this version. You can do the scripting at a faster pace by using this option. Once you record the application go to Design-> Design Studio. The Design Studio will highlight the different values that need to be done correlation. Based on our requirement, we will select the value click on correlate value. We can also add it as “Add as Rule”. It will be easy if we are reusing the correlation in other scripts. Note: Make sure you select the following option: Go to Recording Options ->Correlation->Configuration-API and select web_reg_save_param_ex. You can also use web_reg_save_param_regexp as well. I prefer using web_reg_save_param_ex. At last please add up if you know any other option to get a correlation value that helps other readers.
Performance Testing And Types Of Performance Testing
By Sam Z // Saturday, April 19, 2014
The importance of performance testing to a business cannot be underrated. It can save you from unforeseen bottlenecks and system failures that would be too expensive to recover from. Software applications need to be tested in order to determine whether they can perform as expected. This is referred to as performance testing, and it's importance can never be emphasized enough. It is a form of quality assurance that involves many aspects. These aspects include: the software application's performance in terms of response time, and the features and functionality that a software application supports. The ultimate goal of performance testing is to identify bottlenecks, and come up with solutions. A software application will be tested for speed, stability and scalability. Speed refers to how fast the software application will respond, and stability refers to how the application handles varying workloads. Scalability is the total amount of workload the software application can handle.