Significance of Think time in performance testing

Client Side Definition:
It is the time taken by the users to think or to navigate to different pages in the application.

Server Side Definition:
It is the time between the completion of one request and the start of the other request.

Significance of think time:

1. As per the client side definition think time is needed to simulate real time user behavior during the performance tests.
2. It is uncertain that all the users will wait or think for the same time across the pages in the application. Hence the think time need to be randomized during the performance tests.
3. Think time should not be placed in between the start and end transactions, if kept it will add to the response time of the page, resulting in higher or improper results.
4. Think time is factor which controls the rate at which requests reach the server (hits per second). Think time is inversely proportional to hits per second (load on the server).
5. Ignoring or removing the think time during the performance tests will flood the server with lots of request and will eventually overload & break it.
6. Think time ensures that concurrency (avoiding the same transactions) is maintained between the users.

No comments:

Post a Comment