In Load Runner we have multiple actions. We can make one long script but break it upinto “Action1”, “Action2 etc. to make our job easy. Every time we start a new actionwhile recording that we can click on to the icon “New action” and start another action init.Vuser_init = Vuser initialization. It logs on procedure to the server.Vuser_end = Logs off procedures to the server.In between the Vuser_init & Vuser_end the “Action” is included.An example of multiple actions:In VUGEN open a new file
Click on “Record”
Click on “Autos”
Click on “New cars”
Click on “BMW”
Click on to the icon “New action” and it becomes “Action1”
Click on “Used cars”
Click on “Acura”
Click on to the icon “New action” and it becomes “Action2”
Click on “Sell my car”
Click on “Blue book”
StopTo give a name to the “Action”, highlight, right click, delete and type the new name.
Integration Testing
To integrate tests:
Click on “Action”
“Import action into the Vuser” and you get the window
Click on “Browse”
Highlight the Vuser script you want and
Click “Open”
Highlight the “Action” name and click “OK” and it will come there.Keep doing until you have integrated all the “Actions” and then “Run”.
Parameterization
Definition:Replacing the original value with a different value and the value that you arereplacing has to be in the database.
Leave a Comment