You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Peter Lin <wo...@gmail.com> on 2004/07/28 14:44:14 UTC
Re: Java Request with multiple different logins
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
<jy...@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
Re: Java Request with multiple different logins
Posted by Yongyut Chumpoo <jy...@yahoo.com>.
Thanks a lot. I 've got it done
Juth
David Makepeace <da...@yahoo.com> wrote:
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 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
> 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
---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
Re: Java Request with multiple different logins
Posted by David Makepeace <da...@yahoo.com>.
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 <wo...@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
> <jy...@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