'How to set limit for particular no. of sample in jmeter

example ,i want JMeter to run for 100 samples only on 100 thread.



Solution 1:[1]

Each JMeter thread (virtual user) executes Samplers upside down for the defined number of iterations.

  • If you have 1 Sampler, 100 users and 1 iteration - you will have 100 executions
  • If you have 1 Sampler, 100 users and 2 iterations - you will have 200 executions
  • If you have 1 Sampler, 200 users and 2 iterations - you will have 400 executions
  • If you have 2 Samplers, 200 users and 2 iterations - you will have 800 executions
  • etc

The number of users and iterations can be set in the Thread Group.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Dmitri T