On 21 Aug 2002 at 12:25, Jason Corbett wrote: > Hello JMeter gurus, > > I have a need to stress a mail server. I am planning on using jmeter, > as most of the framework is very well done. I have looked at the > documentation, including the developer documentation. I think I > understand how to add a protocol, but I have one problem. I did see a > mail on the user mailing list, but it didn't seem to have a resolution.
That's great. There is someone who has done this previously, but his company won't release the code to Apache. It's frustrating that someone else has to do it all over again. > Basically I have two problems: > > 1. I have to deal with unique users. > Instead of a thread group, I need a user group. Currently I can't > find the ability to specify a pattern for unique users in jmeter so I > plan on sub classing Thread Group object to add this. Is this the right > plan, I looked at the feature requests, and didn't see anything about > this so I assume there aren't any current plans to add this. Thread Group = User Group. When you say you need unique users, I'm not exactly sure what you mean. Each user/thread in JMeter gets its own thread, and runs independently of the other users/threads. If you need each user to do different things, there are ways to do that too, though they are more limited. There have been some recent enhancements that have improved this ability. You should, at least, describe more fully what you mean before jumping into this one. > > 2. Because of the size of the stress test, I will need to use several > machines simultaniously to generate the needed load. I saw an emial on > the user list about how JMeter will only alow running a test on one > remote machine at a time, I would like to distrubute the load generating > to several machines. How hard will it be to do this, are there current > plans to do so? It's already been fixed. It was just a GUI problem. > > > I appreciate any answer you have to this and any tips you might have / > places to start. I've looked over the code and I think I can implement > most things just fine. One of the protocols I plan on implementing is > IMAP, but IMAP clients typically keep the connection open and rescan > for new mails. I am planning on writing an IMAP connection manager > similar in purpose to the JDBC connection manager, I think a very basic > one wouldn't be hard to implement. Yes, you have the right idea. Good luck! Feel free to ask as many questions as you need. -Mike > > Thanks in advance, > Jason Corbett > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>