Re: How to configure test plan to run for "x" seconds with Jmeter 5.2.1?
Am 06.01.21 um 21:34 schrieb ohaya:
> I recently started migrating to Jmeter 5.2.1 (from Jmeter 4.x) and I am unclear how to configure a test plan with a thread group that would cause the test to run for 'x' seconds?
> In V4.x, I would configure the thread group:
> - Check the "infinite" check box
> - Set the Duration to 'x' msecs
> But V5.2.1 has 3 check boxes and 2 field to enter:
> - Checkbox: Same user on each iteration
> - Checkbox: Delay thread creation until needed
> - Checkbox: Specify Thread Lifetime
> The 2 text boxes appear to be grayed/locked out until you check the last checkbox?
> The 2 fields are:
> - Duration (seconds)
> - Startup Delay (seconds)
> So which checkboxes should I check in order to just have the test plan to run for the Duration?
If you want to setup a duration for the test plan, you have to check
"Specify Thread Lifetime" to enable scheduled test runs. The duration is
then the time span the test plan will be allowed to run and the delay is
the time after which the test plan will start.