How about just the numeric portion of the thread number ??  Threads are
named Thread-<number>
(unless explicitly named), and most folks are going to want to strip out
the leading "Thread-".

        Kate

"Stover, Michael" wrote:
> 
> I agree in principle.  Rather than attach an arbitrary number, I'd rather
> attach the thread name.  That way it is unique to the thread, even across
> threadgroups, and your modifier can track unique user's using these values.
> Would that satisfy your requirement?
> 
> -Mike
> 
> -----Original Message-----
> From: Skogmar, Klas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 4:31 AM
> To: 'JMeter Developers List'
> Subject: RE: IRC
> 
> Considering the time difference between us, I've never been able to talk to
> you on IRC...
> 
> I've got a suggestion on an enhancement:
> 
> It's a good id� to give each Thread a number, since in many cases you want
> to log in (or create) many people with different userids (and passwords). We
> needed that for our wap-games so I added some code to the JMeterThread
> class:
> 
>         static int nbrThreads = 0; // used for assigning thread numbers
>         private int thread_nbr = nbrThreads++; // used for identifying the
> Thread
> 
> and in the run()-method:

>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to