Hi All,
i want to call org.apache.jmeter.threads.JMeterContextService.get NumberOf Threads() method in Jmeter.
I read someone call like ${__BeanShell(org.apache.jmeter.threads.JMeterCont extService.getNumberOf Threads())}.But it not works for me.
i created one userdefined variable and give the values = ${__BeanShell(org.apache.jmeter.threads.JMeterCont extService.getNumberOf Threads())}
Am i going right?
if no then How i call this method and where?
Can i use this in Beanshell Preprocessor to print active thread count to command prompt in nongui mode?.

Plz suggest me the way to sort out same.


Best Regards [img]/images/graemlins/confused.gif[/img]