Once you have defined a test, you can schedule it to run whenever you need as either a once-off test or as a recurring test. You'll then receive an email summary of your test results and a link to the full report.
How to schedule tests
Under the Tests menu in your LoadForge control panel you will see the Schedule option.
Here you can choose to create a schedule for any of your Tests, and fill in the four simple options required to save the schedule:
- Cron: Enter a cron expression for what times of the day, week or month the test should run
- Test: Any existing test you have created
- Once Off: Should this schedule run once and then stop, or repeat?
- Run Duration: How long should the test run for?
All of the above are quite simple and easy to provide, however, the cron expression can be confusing. There is a dropdown selection which will provide you commonly used expressions, such as daily or once a week.
Useful cron examples
Cron is relatively easy to understand, and there is a huge range of examples on the internet if you need help.
Learn more about cron with this resource.
Below are some basic examples:
0 */6 * * * # Run every 6 hours 15 3 * * * # Run every day at 3:15am 0 0 1 * * # Run once a week at midnight
And here are some more powerful examples:
# At 1:15 p.m. and 1:45 p.m. every Tuesday in the month of June 15,45 13 ? 6 Tue # Every five minutes starting at 1 p.m. and ending # at 1:55 p.m. and then starting at 6 p.m. and # ending at 6:55 p.m., every day 0/5 13,18 * * ?