You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by "Skogmar, Klas" <kl...@picofun.com> on 2002/04/17 16:33:07 UTC
Thread-id:s
Hello,
I would like to have the ability to get unique id:s from the threads, so
that each Thread can log in as a unique person without having to specify the
log-in page for everyone. I will try to do it myself, but I would appreciate
if any of you could explain how the flow occurs, or if you have any sequence
diagrams to aid me.
I think the id should be put in the SampleQueue class. Then I could pass it
on to the SampleEvent in some way. Any suggestions?
Besides, you should include the remove-part, ( event =
(SampleEvent)occurredQ.remove(0); ), in the wait-method (or make it a
synchronized block, since the current solution could make the program to
stop (or be delayed) in a case like this:
remove (which fails->going to catch)
(context switch)
add
notify
waitForSamples()
(this is not a big deal, but anyway...)
/Klas
(maybe I'll join in the development)
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>