jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Makepeace <david_makepe...@yahoo.com>
Subject Re: Java Request with multiple different logins
Date Wed, 28 Jul 2004 13:20:50 GMT
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 <woolfel@gmail.com> 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
> <jytchmp@yahoo.com> 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:
> jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message