Test Scheduler

How do I plan a test using JMeter?

No one wants to work late into the night or spend a sleepless night before an exam. Test scheduling is a feature offered by many software testing platforms and can help people struggling with insomnia. This feature, which improves the lifetime of performance testers, is also present in Apache JMeter.

The JMeter Thread Group element provides the flexibility to schedule tests. The ‘Specify thread lifetime’ checkbox appears when you add a Thread Group element to the ‘Test Plan’; is unchecked by default, and the “Duration” and “Start Delay” options are grayed out.

How to schedule a test in JMeter?

1. The total time of the test is indicated in seconds by the word ‘duration’. When running a test with a specified duration value, the drawback is that the test ends immediately without completing the loop (iteration), which can lead to some variations in the number of transactions.

Note: Select the ‘Infinite’ option for ‘Loop Count’ when ‘Duration’ is selected.

2.Launch Delay (seconds): If you enter a value for “Start Delay”, JMeter adds the required delay before starting the test when you press the “Run” button. After selecting the run test command in non-GUI mode, JMeter delays startup requests until the set delay time has elapsed. In plain language: the test starts at a specific time (ie the current system time plus the start delay).

How do you schedule Apache JMeter tests?

  • Choose the ‘Specify thread lifetime’ option in the Thread Group.
  • Choose ‘Duration (seconds)’, the duration of the test, or ‘Loop Count’.
  • Set the value of “Startup delay (seconds)”.
  • Execute the test run command by pressing the ‘Run’ button (in GUI mode).
Scroll to Top