Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Timers in Apache JMeter

4,867 views

Published on

This presentation helps to understand about timers in apache jmeter. Visit www.QAInsights.com for more such tutorials on Apache JMeter.

Published in: Technology, Education
  • Be the first to comment

Timers in Apache JMeter

  1. 1. Timers in Apache JMeter NAVEENKUMAR NAMACHIVAYAM Founder – QAInsights.com http://QAInsights.com
  2. 2. What is Timers? • By default, Jmeter doesn’t pause the requests while sending. • In real time, users spend time while browsing i.e. during check out, before clicking on Submit etc. • It is best practice to include some delay between requests. • Timers in Jmeter induces delay in sending samplers. • There are different types of Timers in Jmeter: • Constant Timer • Gaussian Random Timer • Uniform Random Timer • Constant Throughput Timer • Synchronizing Timer • BeanShell Timer • BSF Timer • JSR223 Timer • Poisson Random Timer
  3. 3. Constant Timer • To induce each thread pause for the same amount of time between requests, use Constant timer. • Below Constant Timer induces 3 seconds delay between
  4. 4. Gaussian Random Timer • This timer pauses each thread request for a random amount of time, with most of the time intervals occurring near a particular value. • Gaussian means with most of the time intervals ocurring near a particular value i.e. constant interval & varying between constant interval + deviation.
  5. 5. Uniform Random Timer • This timer pauses each thread request for a random amount of time, with each time interval having the same probability of occurring. • The total delay is the sum of the random value and the offset value (Number of milliseconds to pause in addition to the random delay.)
  6. 6. Constant Throughput Timer • This timer introduces variable pauses, calculated to keep the total throughput (in terms of samples per minute) as close as possible to a give figure.
  7. 7. Synchronizing Timer • The purpose of the SyncTimer is to block threads until X number of threads have been blocked, and then they are all released at once. • It is similar to Rendezvous Point in LoadRunner. • It will create large load at various points in Jmeter plan.
  8. 8. Poisson Random Timer • This timer pauses each thread request for a random amount of time, with most of the time intervals occurring near a particular value. • The total delay is the sum of the Poisson distributed value, and the offset value.
  9. 9. Thank you Please visit http://qainsights.com/services for more training programs.

×