Skip to main content

Goal of Performance Testing

In my today's blog, user can find interesting discussion on performance testing and its approaches. Please go through my posting and next time we can share some interesting more stuffs. Enjoy testing:) The goal of performance testing is not finding bugs, but to remove the bottlenecks from the application and improve the efficiency. Before doing a performance testing we basically need to know the following points
    1. Expected no of concurrent users or HTTP connections with your application 2. Acceptable response time for your pages
For performance tuning basically we have two approach. In Approach1(white-box), we can do the following,
    Code Analysis, We can search for poor algorithms or looping which is the reason for inefficiency. Database Analysis, We can use query optimizers and profilers to optimize the database. Hardware & Network, We can use utilities such as top, iostat to monitor hardware resources and ntop, netstat to monitor the network and Sockets.
In Approach2(black-box), for a Web application, testers will use tools that simulate concurrent users/HTTP connections and measure the response times automatically. If the response time does not meet your expectations tuning has to be done at application/hardware/database level. In Tuning, First we need to enhance the application code efficiency, then we can optimize the database. If still your application doesn't meet your requirements then the following steps will help you.
    1. Using cache mechanisms. 2. Publish highly requested pages statically, so that they don't hit the database. 3. Scaling Web servers horizontally via load balancing. 4. Scaling database servers horizontally and split them into read/write servers and read-only servers. 5. Scale the servers vertically by adding more hardware resources (CPU,RAM)
 


 Points to remember, We should take care such that one variable is modified at a time and redo the measurements. Functionally the application should be well tested and must be in good quality. i.e., the software under test is already stable enough so that performance testing process can proceed smoothly.

Comments

Popular posts from this blog

Hon. Finance Minister Appreciation Letter for Budget Draft 2019 participation

Highlight's  From shared draft with Hon. Finance Minster and team below top points for your review, which need special attention in budget to build strong nation with inclusive growth: 1.       Lower tax rates 2.       Dividend Distribution Tax (DDT) Issues : For the corporates, there are suggestions that the DDT be reduced from 20 per cent to 10 per cent. 3.       Personal tax Reform and honest tax payer benefit scheme. 4.       Senior Citizen Benefit : Give a special rate of interest to Senior Citizens with a minimum of 9% to 10% and fix that limit to 25 lakhs to help people elder people. 5.       Land reforms : Industry groups have asked for sweeping land reforms in India that allows for land aggregation and private sector investment in agriculture. 6.       Export incentives : While India...

MoD / Raksha Mantralaya / Government Recommendation and Appreciation Letter

SHRI SHIVAJI EDUCATION SOCIETY, AMRAVATI: Vidarbha Backward Region Education Development

Dr. Panjabrao alias Bhausaheb Deshmukh FOUNDER PRESIDENT Mission of Society To build a network of school and colleges for educating the masses To undertake rural development programme for the upliftment of villages and the rural areas with such instruments like the rural development institutes and its like. To establish farmers association for safeguarding their interests and for ventilating their grievances. To disseminate the latest knowledge and technology in farming, so that the people of this region are always in the flow of the latest currents worldwide. To open Shri Shivaji Loka Vidyapeeth to speed up the programme of cultural renaissance and advancement of knowledge. To undertake exclusive programme for caste eradication, social reformation and freedom from debt of the farmers and peasants.