You can also use the __log() function to print a message in the jmeter.log
file (or on System.out/System.err in recent versions). If this does not
include the thread name (*), you can always add it using:

${__logn(${__threadNum()})}

See the function reference for details.

The log funtions can also generate a throwable; can be useful for tracing
control flow.

(*) I don't remember if I included the thread name - I'll make this an
option if not...

S.
-----Original Message-----
From: Johnson, Tommy [mailto:[EMAIL PROTECTED]
Sent: 30 June 2004 02:05
To: JMeter Users List; [EMAIL PROTECTED]
Subject: RE: how can i see which thread is currently being run?



Put something in the name of the HTTP Sampler step like ${__threadNum()} and
it will be intepreted and displayed in the Aggregate Report.  Of courser
this could result in a LOT of lines in the report, so you don't want to
leave it in there usually, but it is useful for debugging.
Best regards,
-Tommy


-----Original Message-----
From:   nlunebur [mailto:[EMAIL PROTECTED]
Sent:   Mon 6/28/2004 10:40 PM
To:     [EMAIL PROTECTED]
Cc:     
Subject:        how can i see which thread is currently being run?
hi all,
i've implemented (in theory) a way to run the http requests under the 
thread group only if the ${threadNum}
is at a particular value.
i want a way where i can see if it is really only running that 
particular thread number.
is there a way i can do this?

i have:

Thread Group
    If Controller (if threadNum = 2)
        HttpRequests

i thought perhaps i can have some sort of jmeter element where i can see 
the thread number being run.

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





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


___________________________________________________________________________

This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, the Atos Origin group liability cannot be
triggered for the message content. Although the sender endeavours to maintain
a computer virus-free network, the sender does not warrant that this
transmission is virus-free and will not be liable for any damages resulting
from any virus transmitted. 
___________________________________________________________________________


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

Reply via email to