Jmeter counter function value to be displayed in Benashell Post Processor or sampler
问题 And I would like to evaluate i.e. ${productId_1} ${productId_2} It should be as simple as: ${__V(productId${counter})} Same approach applies to __counter() function: ${__V(productId_${__counter(,)})} How can I display the value in Beanshell processor/sample instead of the thread name 回答1: This is how one can display or use the counter function value or counter in conjunction with variable I am using this inside the Beanshell sample under the for each controller Product = vars.get("Product_" +