What Is Throughput In JMeter
Posted By : Ruhi Chauhan | 30-May-2018
What is Throughput?
Here we will understand what is throughput in the Jmeter.
Throughput is one of the components in the JMeter of non-functional requirement which we can consider under the perfromance testing category and its formula to calculate is:-
Total number of requests in a given time or TPS (transaction per second)
It is the term in the JMeter we use it to measure the performance on the server by putting the load on the server or in another way we can say it is the term which tells us the ability of the application to handle the load.
Throughput is the significant way of finding the performance of the application, higher the throughput good result is considered although throughput may vary from the number of threads per second.
Throughput is considered as the number of requests sent to the server per second.
There are different ways to consider the performance of the application like response time, Latency etc.
Let’s take an example to understand the throughput in detail:-
Let's suppose we have a test plan with the 100 threads with the Ramp up 5 seconds
Here we will calculate the throughput with the help of the below formula:-
Throughput = (Total no. of threads * Loop count)/Ramp up time, we can check throughput with this calculation
What is Ramp up?
Ramp up will tell us how much time the chosen number of threads will run on the server.
If we are using the 10 threads example here and Ramp up period is 100 seconds, then in JMeter will take 100 seconds to get all 10 threads up and running
Each thread will start running 10 (100/10) seconds after the previous thread was begun.
Basically, Throughput is one of the important performance indicators when we are evaluating the application performance. It signifies the number of transactions or requests that can be made in a given period of time. It is a useful measurement to check the load capacity of the server when we are putting the load in the application with some users.
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Ruhi Chauhan
Ruhi is a QA Engineer with expertise in manual testing and she loves Travelling and Dancing.