Tutorials
Testing
Performance Testing is the process by which software is tested and tuned with the intent of realizing the required performance.
The performance testing part of performance engineering encompasses what's commonly referred to as load, spike, and stress testing, as well as validating system performance. Performance can be classified into three main categories:
• Speed — Does the application respond quickly enough for the intended users?
• Scalability — Will the application handle the expected user load and beyond?
• Stability — Is the application stable under expected and unexpected user loads?
A well-constructed performance test answers questions such as:
• Does the application respond quickly enough for the intended users?
• Will the application handle the expected user load and beyond?
• Will the application handle the number of transactions required by the business?
• Is the application stable under expected and unexpected user loads?
By answering these questions, automated performance testing quantifies the impact of a change in business terms. This in turn makes clear the risks of deployment. An effective automated performance testing process helps you to make more informed release decisions, and prevents system downtime and availability problems.
LoadRunner contains the following components:
• The Virtual User Generator captures end-user business processes and creates an automated performance testing script, also known as a virtual user script.
• The Controller organizes, drives, manages, and monitors the load test.
• The Load Generators create the load by running virtual users.
• The Analysis helps you view, dissect, and compare the performance results.
• The Launcher provides a single point of access for all of the LoadRunner components.
A scenario is a file that defines the events that occur during each testing session, based on performance requirements.
In the scenario, LoadRunner replaces human users with virtual users or Vusers. Vusers emulate the actions of human users working with your application. A scenario can contain tens, hundreds, or even thousands of Vusers.
The actions that a Vuser performs during the scenario are described in a Vuser script. To measure the performance of the server, you define transactions. A transaction represents end-user business processes that you are interested in measuring.
Load testing typically consists of five phases: planning, script creation, scenario definition, scenario execution, and results analysis.
Plan Load Test: Define your performance testing requirements, for example, number of concurrent users, typical business processes and required response times.
Create Vuser Scripts: Capture the end-user activities into automated scripts.
Define a Scenario: Use the LoadRunner Controller to set up the load test environment.
Run a Scenario: Drive, manage, and monitor the load test from the LoadRunner Controller.
Analyze the Results: Use LoadRunner Analysis to create graphs and reports, and evaluate the performance.
Load Runner has good reporting features with which the user can easily analyze the performance test results.
| Ok...The intro is cool but it would be nice if some1 gave a detailed account on LoadRunner....... |
| :) Way of explaning the thing is good. I would be better if u will add more information . |
| After 7 years with LoadRunner I can improve on this introduction, |
|
Hi Martin, Can you provide more details on how to work with loadrunner in a real time environment?Also , How do you how many number of Vusers to emulate for a application? |
|
HI, I am new for LR, can any body help to learn the Load Runner, pls provide me the resoure, steps, proces, tutorial links. I will be thankfull to u, thx in advance. |
| hi there i got an question for you can any one clear my doubt for example there is an web application and i want to test the performance, coustmer says that there will be 2000 coustmers who will be using the application at a time can you please suggest me how to handel this scenario using load runner |
|
Harish, in Load Runner first you take 50 users at time and proceed to run the build it will run and in the mean while it will give the time at time the current users logging and doing the process and signouting it record all the time. If the gap between the users more than five seconds you can derive the perfromance test for 2000 users or else the application has go under rebuilding and Where as in JMeter developed by Jakara Apache developers in this you have to specify the no of users and you have to specify the time at what time the process has to start and end accoreding to the time it will run the application and gives the performance of the application in graphical reperesentation. If you want details about the the JMETER http://jakarta.apache.org/jmeter/usermanual/test_plan.html visit the site if you have any questions pls mail to me my id is dsrinivas1982@gmail.com and ican answer you and I can enrich my self about the subject.Pls. |
|
Using Load Runner, how do we check the performance of the application. How do we know the performance of the application. Kindly send me the solution, its very urgent my mail id is preveencts@gmail.com |
|
I need to learn load runner.Can any body help to learn the Load Runner, pls provide me the resoure, steps, proces, tutorial links. I will be thankfull to u, thx in advance. |