Hi Dmitri, By "adding to the HTTP sampler label", do you mean its "Name"?
[image: image.png] Else, how to add to the HTTP sampler label? Thanks On Thu, Jul 28, 2022 at 11:13 AM Dmitri T <glin...@live.com> wrote: > 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 > >