Relation between throughput and hits per second
From below two scenarios which can be happen and which cannot? Please help me understand:
Scenario 1: Throughput is very high and hits per second is very low
Scenario 2: Hits per second is high and throughput is less
Throughput: This is the number of requests that are successfully executed/serviced per unit of time. For example, if the throughput is 50/minute, this means that on your server, per minute, 50 requests are executed successfully (accepted, processed and responded properly).
Hits per second: This is the load with which the server is being hit. It means x number of hits are sent to the server every second.
Both the scenarios you have mentioned may require thinking for a moment that there's something fishy if they both use a different unit of time. Because JMeter sometimes displays throughput in per minute and sometimes in per second, whereas the hits per second is always per second.
In case of throughput; the higher the better. This means that your server is capable of successfully executing that many number of requests per unit of time.
Lower the difference between throughput and hits per second (in same unit of time) the better for your system. If the difference is high that means that your server isn't performing well enough.
In short hits per second is the total load on system and throughput is part of that load going successfully and the difference is the failed requests.