In
our daily routine, we forget a lot of things like forgetting keys, forgetting
to set alarm, but my favourite is forgetting my access card ;). The best part of
this is you can learn move a step ahead towards perfection. I believe you are
perfectionists. Coming straight to the point following are a few things we must
keep in mind to avoid such mistakes while running load tests:
- When a script is opened in Controller, run-time settings are copied from VuGen to controller.
- Any changes done in the script and run-time settings done on VuGen after loading in controller are not reflected in the controller unless you refresh them.
- Refresh in controller can be done by going to Design tab > Scenario Groups pane >Details >Refresh a drop down will come with options for Scripts and Runtime Settings. So when controller asks to load new script iteration settings do the refresh. Click here to know more
- You have option while doing Save
As:
- The Default directory in VuGen
can be changed by going to vugen.ini file located
under C:\Program Files\HP\Loadrunner\config
and
appending the required file path to LastScriptPath, as shown below.
- While debugging scripts in VuGen ignore
the think time but while playing back in Controller use as recorded or as
per requirement of test. Because while load testing purpose is to emulate
real world users and not to held a competition to find a super user who
completes the Business scenario in one breath.
Hope
you will keep this in mind. VuGen scripting best practices coming soon. Stay
Tuned!!
No comments:
Post a Comment