You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Mishra, Ajay" <Aj...@gs.com> on 2008/12/01 11:40:14 UTC

RE: How to identify threads in Jmeter test uniquely.

Hi,

Please see enclosed the details of a run. I am getting some "Thread
Name" as repeating for eg. 1-4, 1-3, 1-7. Is there a way to avoid it.
Also to confirm my last query i.e. I am getting the Thread name beyond
1-10 but only issue now id repetitions. Is there any setting to get rid
of that.

version	t	lt	ts	s	lb	rc	rm	tn
dt	by
1.2	705	705	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-4
text	147
1.2	17299	2238	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-7
text	2266719
1.2	21813	2221	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-5
text	3222100
1.2	29832	2836	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-10
text	4555592
1.2	55734	4352	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-8
text	9095611
1.2	357	357	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-4
text	147
1.2	346	346	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-7
text	147
1.2	351	351	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-5
text	147
1.2	95659	6564	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-3
text	16215790
1.2	96238	8351	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-2
text	16215790
1.2	137762	9359	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-6
text	23604447
1.2	157976	12038	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-9
text	27075483
1.2	182840	13055	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-1
text	30454734
1.2	16675	2078	1.22779E+12	TRUE
http://.../.../client/intraday/viewer3	200	OK	Intraday 1-3
text	1762881

Regard's
Ajay Mishra 

-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com] 
Sent: Friday, November 28, 2008 7:12 PM
To: JMeter Users List
Subject: Re: How to identify threads in Jmeter test uniquely.

On 28/11/2008, Mishra, Ajay <Aj...@gs.com> wrote:
> Hi,
>
>  I am using version 2.3.2 of Jmeter.
>  Also the thread name is extracted directly from the .jtl file as
below
>
>  <httpSample t="1145" lt="0" ts="1227870337076" s="true"
>  lb="http://xxx/xxx/main.html" rc="302" rm="Moved Temporarily"
>  tn="Intraday 1-2" dt="" by="0"/>
>
>  The entry "tn" denotes the "Thread Name". Is there a way to change
it.
>

Works fine for me:

<httpSample t="79" lt="79" ts="1227879345311" s="true" lb="HTTP
Request" rc="302" rm="Moved Temporarily" tn="Intraday 1-10" dt="text"
by="221"/>
<httpSample t="47" lt="47" ts="1227879345405" s="true" lb="HTTP
Request" rc="302" rm="Moved Temporarily" tn="Intraday 1-11" dt="text"
by="221"/>

What does the View Results Tree or Table Listener show for the Thread
name?

Are you sure that you are looking at the correct samples?

>
>  Ajay
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>  Sent: Friday, November 28, 2008 6:57 PM
>  To: JMeter Users List
>  Subject: Re: How to identify threads in Jmeter test uniquely.
>
>  On 28/11/2008, Mishra, Ajay <Aj...@gs.com> wrote:
>  > Hi All,
>  >
>  >  I wanted to know if there is way to uniquely identify each thread
>  >  elements of a test run i.e. When I am runnning a test with 30
>  different
>  >  threads the thread name currently shows the value as xxx 1-1, xxx
1-2
>  >  and it goes tisll xxx 1-10 and then repeats again with xxx 1-1 for
>  the
>  >  11th thread and so on.
>
>  How are you extracting the thread name?
>  Which version of JMeter?
>
>  >  I want this thread name for each thread to be
>  >  identified separately somehow as I am trying to get the results
into
>  >  Excel and then generating graphs.
>  >
>  >  Also is there a way to change the Timestamp from Milliseconds to
say
>  >  Seconds or Minutes directly in the result.
>
>  No.
>
>  >  Let me know if there is way to achieve this.
>  >
>  >  Regard's
>  >  Ajay Mishra
>  >
>  >
---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: How to identify threads in Jmeter test uniquely.

Posted by sebb <se...@gmail.com>.
On 01/12/2008, Mishra, Ajay <Aj...@gs.com> wrote:
> Hi,
>
>  Please see enclosed the details of a run. I am getting some "Thread
>  Name" as repeating for eg. 1-4, 1-3, 1-7. Is there a way to avoid it.
>  Also to confirm my last query i.e. I am getting the Thread name beyond
>  1-10 but only issue now id repetitions. Is there any setting to get rid
>  of that.

If there is more than one sample in the thread (or the thread loop
count > 1), then obviously the thread name will be repeated.

>  version t       lt      ts      s       lb      rc      rm      tn
>  dt      by
>  1.2     705     705     1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-4
>  text    147
>  1.2     17299   2238    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-7
>  text    2266719
>  1.2     21813   2221    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-5
>  text    3222100
>  1.2     29832   2836    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-10
>  text    4555592
>  1.2     55734   4352    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-8
>  text    9095611
>  1.2     357     357     1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-4
>  text    147
>  1.2     346     346     1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-7
>  text    147
>  1.2     351     351     1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-5
>  text    147
>  1.2     95659   6564    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-3
>  text    16215790
>  1.2     96238   8351    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-2
>  text    16215790
>  1.2     137762  9359    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-6
>  text    23604447
>  1.2     157976  12038   1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-9
>  text    27075483
>  1.2     182840  13055   1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-1
>  text    30454734
>  1.2     16675   2078    1.22779E+12     TRUE
>  http://.../.../client/intraday/viewer3  200     OK      Intraday 1-3
>  text    1762881
>
>  Regard's
>
> Ajay Mishra
>
>
>  -----Original Message-----
>  From: sebb [mailto:sebbaz@gmail.com]
>
> Sent: Friday, November 28, 2008 7:12 PM
>  To: JMeter Users List
>  Subject: Re: How to identify threads in Jmeter test uniquely.
>
>  On 28/11/2008, Mishra, Ajay <Aj...@gs.com> wrote:
>  > Hi,
>  >
>  >  I am using version 2.3.2 of Jmeter.
>  >  Also the thread name is extracted directly from the .jtl file as
>  below
>  >
>  >  <httpSample t="1145" lt="0" ts="1227870337076" s="true"
>  >  lb="http://xxx/xxx/main.html" rc="302" rm="Moved Temporarily"
>  >  tn="Intraday 1-2" dt="" by="0"/>
>  >
>  >  The entry "tn" denotes the "Thread Name". Is there a way to change
>  it.
>  >
>
>  Works fine for me:
>
>  <httpSample t="79" lt="79" ts="1227879345311" s="true" lb="HTTP
>  Request" rc="302" rm="Moved Temporarily" tn="Intraday 1-10" dt="text"
>  by="221"/>
>  <httpSample t="47" lt="47" ts="1227879345405" s="true" lb="HTTP
>  Request" rc="302" rm="Moved Temporarily" tn="Intraday 1-11" dt="text"
>  by="221"/>
>
>  What does the View Results Tree or Table Listener show for the Thread
>  name?
>
>  Are you sure that you are looking at the correct samples?
>
>  >
>  >  Ajay
>  >
>  >
>  >  -----Original Message-----
>  >  From: sebb [mailto:sebbaz@gmail.com]
>  >  Sent: Friday, November 28, 2008 6:57 PM
>  >  To: JMeter Users List
>  >  Subject: Re: How to identify threads in Jmeter test uniquely.
>  >
>  >  On 28/11/2008, Mishra, Ajay <Aj...@gs.com> wrote:
>  >  > Hi All,
>  >  >
>  >  >  I wanted to know if there is way to uniquely identify each thread
>  >  >  elements of a test run i.e. When I am runnning a test with 30
>  >  different
>  >  >  threads the thread name currently shows the value as xxx 1-1, xxx
>  1-2
>  >  >  and it goes tisll xxx 1-10 and then repeats again with xxx 1-1 for
>  >  the
>  >  >  11th thread and so on.
>  >
>  >  How are you extracting the thread name?
>  >  Which version of JMeter?
>  >
>  >  >  I want this thread name for each thread to be
>  >  >  identified separately somehow as I am trying to get the results
>  into
>  >  >  Excel and then generating graphs.
>  >  >
>  >  >  Also is there a way to change the Timestamp from Milliseconds to
>  say
>  >  >  Seconds or Minutes directly in the result.
>  >
>  >  No.
>  >
>  >  >  Let me know if there is way to achieve this.
>  >  >
>  >  >  Regard's
>  >  >  Ajay Mishra
>  >  >
>  >  >
>  ---------------------------------------------------------------------
>  >  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  >  For additional commands, e-mail:
>  jmeter-user-help@jakarta.apache.org
>  >  >
>  >  >
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >  ---------------------------------------------------------------------
>  >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org