jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheetal Jharia Baru <sheeta...@gmail.com>
Subject Re: How can I make different threads use different values?
Date Mon, 07 Mar 2016 18:18:27 GMT
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 <prakash.palnati@snapwiz.com
> 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" <sheetal93@gmail.com> 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 !
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message