|
||||||||||||||||||||||||||||||||||
|
Create New Script Virtual User Generator (VuGen): VuGen component of load runner is used to create load testing script via recording the script from application, script is recorded for single user but after tuning it can be use for multiple users in controller. Client Server Protocol supported by VuGen:
How to record Script in VuGennnnn: 1. Click New Vuser Script in the Scripts tab in the VuGen Start Page. The New Virtual User dialog box opens, displaying the options for a new single protocol script. It shows the list of all protocols supported by VuGen. Make sure the Category type is All Protocols. VuGen displays a list of all of the available protocols for a single protocol script. Scroll down the list, select Web (HTTP/HTML), and click OK to create an empty Web script. 2. Choose Vuser > Start Record or click the Start Record button in the Toolbar at the top of the page. 3. Browse steps which you want test for load testing and click stop button, VuGen automatically generate the Virtual user Script for You, Script Tuning Once script is recorded then it needs to be tuned for all user, to tune script one should perform: Parameterization- Replace all static value with multiple data by useing parameterization. Transaction Naming: Enter transaction for each business flow. Think Time: To emulate actual user load on server script should have think time in between two transactions. Correlation: if thare are some dynamic or session related values return by web server then that also be handle by using web reg save param function. Check Point: To verify if request response is coming as required, script should have check point for every request, by adding web reg find function. Pacing: To emulate actual user load on server script should have correct pacing to handle user load on web server. Once all above point are implemented in VuGen script then script is ready for load test. |
|
||||||||||||||||||||||||||||||||
FIND MORE ON LOAD RUNNER TIPS
| About Load Runner | Creating scripts in Load Runner | Load Runner scenario | LR Analysis | Performance Tuning | Performance Testing | LR Errors | Interview Question | Load Runner Tool | Correlation Practice | Site Map | |