Hi,

Use counter and increment the variable.

-Prakash
On 07-Mar-2016 11:48 pm, "Sheetal Jharia Baru" <[email protected]> wrote:

> Hi Prakash ,
>
> Using getThreadNum , I could get the thread number. I am running my threads
> in loop. Is there a way I can get the loop number also ?
> Thanks.
>
> On Thu, Mar 3, 2016 at 6:30 AM, Prakash Palnati <
> [email protected]
> > wrote:
>
> > You can use ctx.getThreadNum which will return the current thread number
> > and use that variable to differentiate which image to point/download.
> >
> > -Prakash
> > On 03-Mar-2016 1:40 am, "Sheetal Jharia Baru" <[email protected]>
> wrote:
> >
> > > I am using OS Sampler to execute a shell script on my local ubuntu
> > system.
> > > This script in turn downloads a image from remote repository. As
> > expected ,
> > > when the script is run multiple times, same image is downloaded. Is
> > there a
> > > way that each thread can download a different image (can image become
> > some
> > > sort of variable and I can give different image name via this variable
> to
> > > each thread ?
> > > Any help is appreciated.
> > > Thanks !
> > >
> >
>

Reply via email to