Whenever a team of performance testers grows larger than three people, then it is time to assemble the team and create some LoadRunner scripting standards (or guidelines if you prefer to be less strict).
Documenting your team’s scripting standards helps junior performance testers avoid common mistakes and follow best practices. Experienced performance testers benefit from having consistency between scripts, so there is less confusion when work is transferred between team members.
I have developed a short quiz so you can test your knowledge of some of the VuGen scripting best practices.
Before you attempt the quiz, you should read the following articles:
[iframe_loader width=’100%’ height=’500′ frameborder=’0′ src=’http://www.myloadtest.com/resources/articulate_uploads/loadrunner-scripting-standards/quiz.html’]
I have worked at some big companies that had clear LoadRunner scripting standards but still had teams of performance testers writing really bad VuGen scripts. Defining a scripting standard is a futile task unless there is a way to measure and encourage compliance with the standard. The only practical way to do this is with an automated checking tool.
I have developed the VuGen Validator, which checks scripts as they are uploaded to Performance Center and helps testers write better scripts. The quiz contains a small number of the guidelines that are checked by the Validator.
If you have your own best practice suggestions for VuGen scripting, please leave a comment.