Editorial / Best Answer
Charles E Aron
1) Select the load Runner from the Start menu.
2) From the Load testing Tab, click on "Create/Edit Scripts"
3) Once the Virtual User generator is opened, select "New" and select the protocol based on
your project requirement or for a sample application select "Web(HTML/HTTP)" protocol from the Available protocols and click "ok"
4) Enter the URL of the application which you are going to test.
5) Give the Working Directory path in which
your script need to be saved.
6) In Record to Action you have three options
i) vuser_init -> record the login part
ii) Action -> record the transaction or the body part.
iii) vuser_end -> record the sign off
Note: for your sample login to action and record all the script.
7) Once the url is opened start entering the username and password and do the other transaction process. Once finish, log off and stop the record session by click the stop icon.
8) Correlate the script, parameterize the
URL, username and password if required other variables too and check whether the the script runs without any errors
Note: Before running check the run time settings and run for atleast three to five iterations.
9) Create more scripts according to
your requirement and check they should run without errors.
10) Open the scenario, pull all the scripts add the number of users
you want to run, set the rampup and duration of the run. Runtime settings and Generators you are using to run the load should be given. see that you connected the generators and Start running the scenario.
11) Analyse the graph for the performance.
What are the steps for doing load and performance testing using Load Runner?
Editorial / Best Answer
Charles E AronProfile Answers by Charles E Aron Questions by Charles E Aron
1) Select the load Runner from the Start menu.
2) From the Load testing Tab, click on "Create/Edit Scripts"
3) Once the Virtual User generator is opened, select "New" and select the protocol based on your project requirement or for a sample application select "Web(HTML/HTTP)" protocol from the Available protocols and click "ok"
4) Enter the URL of the application which you are going to test.
5) Give the Working Directory path in which your script need to be saved.
6) In Record to Action you have three options
i) vuser_init -> record the login part
ii) Action -> record the transaction or the body part.
iii) vuser_end -> record the sign off
Note: for your sample login to action and record all the script.
7) Once the url is opened start entering the username and password and do the other transaction process. Once finish, log off and stop the record session by click the stop icon.
8) Correlate the script, parameterize the URL, username and password if required other variables too and check whether the the script runs without any errors
Note: Before running check the run time settings and run for atleast three to five iterations.
9) Create more scripts according to your requirement and check they should run without errors.
10) Open the scenario, pull all the scripts add the number of users you want to run, set the rampup and duration of the run. Runtime settings and Generators you are using to run the load should be given. see that you connected the generators and Start running the scenario.
11) Analyse the graph for the performance.
Related Answered Questions
Related Open Questions