Load Testing with Example

What is Load Testing ?


 Load testing is a types of performance testing used to determine performance of an application under a expected load. The main purpose of doing load testing is to determine the behavior of application when no of user use the application simultaneously.By doing load testing we can estimate that " how many user can access the application 
Performance tester do the load testing to determine the simultaneously" We do Load testing to ensure that functionality of application working fine or not when system under the real load . Load testing is a non-functional testing .

Load Testing Example 
Following are the example of load testing.

amazon: 
suppose we want to test the amazon to see the response time for every user click.
: Login in amazon with thousand of concurrent user.
: Adding the product in cart with thousand of concurrent user.
: Searching of product with thousand of concurrent user.
: Making payment with thousand of concurrent users.
: Logging Out from the application with thousand concurrent user. 
Testing the load of application manually is not a easy task we can manage the 100, 200 max concurrent user manually somehow .but for more concurrent user we have to use the load testing tool to determine the response time of application for design number of concurrent user .

Why Load Testing ?
  • To determine that how many simultaneous user can application or software able to handle.
  • Load testing determine that how many transaction can handle in given period of time .
  • Load testing help to identify where are the bottlenecks in the system.
  • Load Testing helps to determine the breaking point of application.
Load Testing Goals
Goal of load testing given below
  • Response Time : To determine the response time for transaction. response time measure how much time application takes to respond .
  • Resource Utilization : To measure the cpu and memory uses for application and to determine cpu maximization , memory limitations.
  • Workload : To measure the performance of system under the various load.
  • To determine the network delay between server and client .
  • To determine the server configuration issues .
  • To determine the design issues in application .
 Load Testing Tools
Here list of top 10 load testing tools given

  • LoadNinja
  • WebLOAD
  • LoadUI Pro
  • LoadView
  • NeoLoad
  • LoadRunner
  • Silk Performer
  • SmartMeter.io
  • Apache Jmeter
  • AppLoader 

Advantage of Load Testing 
 load testing advantage given below
  • We can check performance bottlenecks identification before launching through load testing.
  • We can improves the scalability of the system by load testing.
  • We can minimize risk related to system downtime by load testing.
  • we can reduced costs of failure by load testing .
Disadvantage of Load Testing 
load testing disadvantage given below 
  • Tools increase the cost .
  • To do load testing required programming knowledge .
Difference Between load Testing and Stress Testing
 The basic difference between stress testing and load testing given below .

Stress Testing :Stress testing Basically determines the application on its robustness and error handling when there is heavy load condition . stress testing even test beyond the normal load and analyses how the application works when there is extreme conditions. it is performed to ensure that the system would not crash  when there is crunch situations.

Load Testing  : The main purpose of doing load testing is to determine the behavior of application when no of user use the application simultaneously.

Hope the above tutorial of load testing helpful for you...
Team,
QA acharya

Tags:
Load Testing with example , load testing tools , why we do load testing , advantage of load testing , disadvantage of load testing , example of load testing . load testing in software testing

Load Testing with example

Post a Comment

0 Comments