• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread Group

 
ravi java
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi can any one help me how to create a thread group with some examples ?
And will it work in real time consistently?


ravi
 
Peter Chase
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To create a ThreadGroup, you just construct one. You can pass in another ThreadGroup, if you want a parent-child relationship; otherwise, you get a top-level ThreadGroup.

To make a Thread in a ThreadGroup, simply pass the ThreadGroup in when constructing the Thread.

Not too hard, I'd think.

The tough bit could be deciding how you should organise your Threads in ThreadGroups, to achieve your objective ... which is what?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!