apache / apache/jmeter

Allow Thread scheduler to be enabled/disabled from property

Open
#4,804 1 comment 0 reactions 0 assignees View on GitHub
enhancement need info os: All P2
Dominant language
Java
Stars
9.5k
Forks
2.3k
Avg merge
1d 22h
Merged PRs (30d)
5

Description

**matthew** ([Bug 62475](https://bz.apache.org/bugzilla//show_bug.cgi?id=62475&redirect=false)):
For the THREAD properties:

Number of Threads (users): ${__P(T1.threads)}
Ramp-Up Period (in seconds): ${__P(T1.rampup)}
Loop Count: ${__P(T1.loop)}
Scheduler <check box> can't set from property
Duration (seconds): ${__P(T1.durationn)}
Startup delay (seconds): ${__P(T1.delay)}
Start Time: ${__P(T1.start)}
End Time: ${__P(T1.end)}

I use external property files to control configuration. The above works great for anything that I either always want a schedule for or don't ever want a schedule for. However in many cases I want to run the same test using a schedule and in another case without one.

Currently I cannot enable a schedule with a property so I have to modify the jmx file any time I want to use or not use the schedule in a test.

It would be nice if I could define the Scheduler value through a property.

Scheduler: ${__P(T1.schedule)}

Then

T1.schedule=true

or

T1.schedule=false

OS: All

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.