Neither variable nor property is supported there as of JMeter 5.5
<https://www.blazemeter.com/blog/jmeter-5-5>
The only way I can think of is either using an editor like sed
<https://www.gnu.org/software/sed/manual/sed.html> on the .jmx script
<https://cwiki.apache.org/confluence/display/JMETER/JmxTestPlan> before
running the test to substitute the placeholder with the actual file name
or using Taurus <https://gettaurus.org/>tool as a wrapper which has
Modifications for Existing Scripts
<https://gettaurus.org/docs/JMeter/#Modifications-for-Existing-Scripts>
feature.
On 9/5/2022 9:58 PM, Tong Sun wrote:
Hi,
Is it possible to use variables as the choice of include controller?
I.e., what jmeter script to include is based on the content of the variable.
Seems not possible, right?