Рет қаралды 13,937
This is the twelveth video of JMeter Tutorial series which covers how to use timers in JMeter
Learning:
We need to add think time/ timers in Jmeter to simulate real life scenario so that:
• JMeter waits for some time before proceeding to next request
• Not to hammer the application at a one go
If we don’t add think time/ timers, JMeter does the execution very fast; which is not a real-life scenario
Types of Timers-
Constant timer - Add the value of Thread Delay to add think time
Uniform Random Timer - Thread delay is calculated by thread delay properties - random delay maximum, constant delay offset using the formula -
Thread Delay= 0.x * (random delay maximum) + (constant delay offset), where x varies from 0 to 9
Lets take -
random delay maximum - 100
constant delay offset - 0
Then,
thread delay = 0.x * 100 + 0
thread delay = 0.x * 100
if x=0
thread delay = 0
if x=9
thread delay = 0.9 *100 = 90 ms
Please note that Timers are scope based in Jmeter
=======================================================================
Automation Anywhere Tutorial Playlist:
• Automation Anywhere A1...
Git and GitHub Tutorial Playlist:
• Git and GitHub Tutorial
Subscribe for more tutorials - / @qualityassurancelab7764