jmeter get the total number of threads

 

String threads="${__BeanShell(ctx.getThreadGroup().getNumThreads())}";
vars.put("threads",threads);

 

Guess you like

Origin www.cnblogs.com/linbo3168/p/11277423.html