From the course: JMeter: Performance and Load Testing

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Adding timers

Adding timers - Apache JMeter Tutorial

From the course: JMeter: Performance and Load Testing

Start my 1-month free trial

Adding timers

- [Instructor] One easy way to improve this load test is to introduce Timers. Timers are ways of pausing a load test. Now I wouldn't expect a group of five users, virtual or otherwise, to perform the same action at precisely the same time. There needs to be some element of randomness to the test, so that it appears more human. This is important because emulating human interaction is what we're trying to achieve. This is not Test automation, in Test automation we want the test to complete as quickly as possible to check something that you'd otherwise have to do manually. I want to simulate a large amount of load on the system so that I can replicate known errors, or find new ones that otherwise wouldn't get found until hundreds or thousands of users start using the software. To add a Timer, I'm going to right click on my Test Plan. I can either add a Timer to the overall Test Plan, and then effect everything within it, or I can add it to individual samples within the plan. Right now…

Contents