Which of the following approaches is better to make sure a system can handle many users hitting one small area of a web app at the same time:
1. Insert enough sleep time to simulate real-world use, keeping the number of VUs to a realistic level and running many transactions through
2. Insert enough sleep time to simulate real-world use, using an exaggerated number of VUs
3. Insert no sleep time (or almost none), keeping the number of VUs to a realistic level and running many transactions through
4. Insert no sleep time (or almost none), using an exaggerated number of VUs
I'm sure there is more in the above forum and the FAQ there... Here is a quote from a good resource.
[ QUOTE ]
While it is certainly true that simulating unrealistic workload models can provide a team with valuable information when conducting performance testing, you can only make accurate predictions about performance in a production environment, or prioritize performance optimizations, when realistic workload models are simulated.
[/ QUOTE ]
The ideal option is 1 unless you are trying to stress some component.
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)