I create some features/functions from first Thread Group and put them into a JMeter Property:
props.put("FUNCTIONS", new function());
Then I would like to call those features/functions in WebDriver Sampler of the other Thread Groups.
In normal way (BSF, Beanshell or JSR223), just using:
props.get("FUNCTIONS")
But how to do this in WebDriver Sampler?
There is the same question related to vars
here :
Could anyone please help me?
Thanks in advance.
Something like:
var props = org.apache.jmeter.util.JMeterUtils.getJMeterProperties()
will provide you read/write access to JMeter Properties.
References: