LoadRunner script completion checklist

Many years ago I had a team member who would always answer "yes" when I asked if he had finished the LoadRunner script he was working on. Invariably he had not finished the script.

So I sat down and wrote a checklist for him, and told him that he should only answer "yes" if he had been through the checklist and completed every item.

The checklist didn't stop him always insisting that he had finished his work when he hadn't, so I fired him and wrote the script myself. :)

Perhaps you will find the checklist useful, even if he didn't...

Note that this checklist has some items that only apply to web-based scripts.

  • All values that should be correlated have been correlated
  • Text checks (using web_reg_find) have been added before each web_url and web_submit_data function
  • ContentCheck Rules have been added for all known error messages
  • All server requests (web_url, web_submit_data) are being measured with a transaction (lr_start_transaction, lr_end_transaction, lr_set_transaction)
  • Script runs without causing errors, and any warnings are due to legitimate reasons (e.g. download filters)
  • File-based parameters have the correct "select next row" and "update value on" settings
  • Correct runtime settings have been set. This means:
    • Action blocks have been weighted with correct percentages in Run Logic
    • Pacing intervals have been set to the correct value that will achieve target throughput with the given number of vusers
    • Full logging has been disabled, and size of "send messages only when an error occurs" lgo cache has been increased
    • Think time set to replay as a random percentage, and think time values in script are not ridiculously large. No think time inside transactions.
    • Any needed download filters have been set
    • All other runtime settings have been set as per internal standards

Tech tips from JDS