by Chandrakant

Categories

  • Performance Testing

Tags

  • LoadRunner
  • LoadRunner Scripting Tricks
  • Loadrunner Correlation

Loadrunner Correlation of dynamic boundary

LoadRunner Correlationis one of the most important concept in loadrunner, especially when you are working on web protocols in loadrunner like web(http/html), sap web or Oracle web applications. When dealing with complex scripts, we encounter scenarios where the usual web_reg_save_param function is not able to solve the purpose.

You can use following regular expression attributes  in your script to deal with correlation of dynamic boundary :-

  1. LB/DIG - This attribute interprets the # sign as a wildcard for single digit. eg:-  “Error5##” matches for “Error500”, “Error501” till “Error599”.
  2. LB/ALNUM - This attribute interprets the ^ sign as a wildcard for single US-ASCII alphanumeric character.
  3. L B/ALNUMIC -  This attribute interprets the  ^  sign as a wildcard for single US-ASCII alphanumeric character, this regular expression is case insensitive. eg:- “Er^^r” matches for “Error”, “ErRor”, “ErrOr”, “ErROr”, “Er12r”, Err1r” etc.
  4. LB/ALNUMLC -  This attribute interprets the  ^  sign as a wildcard for single US-ASCII alphanumeric character and lower case.  In this case “Er^^r” will not match for “ErROr”, “ErRor”, “ErR1r” and others with an uppercase alphabet present.
  5. LB/ALNUMUC -  This attribute interprets the  ^  sign as a wildcard for single US-ASCII alphanumeric character and upper case.

Read for basic correlation tips :-
LoadRunner Correlation