1. Which thread - add *${__threadNum}* <https://jmeter.apache.org/usermanual/functions.html#__threadNum> function to the HTTP sampler label 2. Which iteration - add *${__groovy(vars.getIteration(),)}* <https://www.blazemeter.com/blog/apache-groovy>*<https://www.blazemeter.com/blog/apache-groovy> *function to the HTTP sampler label 3. Which sampler - add a JSR223 PreProcessor <https://jmeter.apache.org/usermanual/component_reference.html#JSR223_PreProcessor> and use the following code in the script area: *println('Starting sampler: ' + sampler.getName())*
On 7/28/2022 4:13 PM, Ashuthosh Bhat wrote:
Dear Group, How to know which thread is executing which iteration and at which http sampler? I am running the script from command prompt and not GUI. Thanks, Ashu