In this video, Mike Smith explains why timers are needed and shows how to add them to the load test.
- [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 I've only got a small test,…
- What is load testing and why do we do it?
- Creating and running load tests
- Improving a test by adding timers and assertions
- Running your load test through the CLI
- Saving CLI results to a .jtl file
- Importing a .jtl file to JMeter graphs
- Creating an HTML dashboard at CLI runtime