It is handled the exact same way with the java sampler as it is with http. Add a userName parameter in the getDefaultParameters() and pass it what ever you want.
--- Peter Lin <[EMAIL PROTECTED]> wrote: > have you tried using the standard Http sampler to do > a basic smoke test? > > to get the username & password, your sampler has to > get them from the > config element. I don't know the java sampler stuff, > so maybe jordi or > sebastian can answer your question. > > peter > > > On Tue, 27 Jul 2004 21:14:16 -0700 (PDT), Yongyut > Chumpoo > <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I am developing IM server that serves J2ME chat > client. > > I 'd like to simulate say around 100 different > users with different username and > > password > > connecting to the server by using > HttpURLConnection. > > I 've used Java Request Sample by extending > AbstractJavaSamplerClient. > > But I don't know how to get username & password > from User Parameters > > and get those thread to fire request with > different username & password. > > > > Any direction is much appreciated. > > Thanks > > > > Juth > > > > > > --------------------------------- > > Do you Yahoo!? > > Y! Messenger - Communicate in real time. Download > now. > > --------------------------------------------------------------------- > 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]

