[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: How can I make different threads use different values?
From:       Prakash Palnati <prakash.palnati () snapwiz ! com>
Date:       2016-03-08 1:40:44
Message-ID: CAFiqXCCUszrmZepvwGQzCGsHi=Hp7ixQeQvnc6OupVPjpPuUnw () mail ! gmail ! com
[Download RAW message or body]


Hi,

Use counter and increment the variable.

-Prakash
On 07-Mar-2016 11:48 pm, "Sheetal Jharia Baru" <sheetal93@gmail.com> 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 <
> 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 !
> > >
> >
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic