You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Flavio Arruda <fl...@promon.com.br> on 2002/10/21 23:45:35 UTC
Trouble with User Parameters
Hello All!
I´m trying to use JMeter1.8 to simulate multiple logins from diferent
users. I´ve created an User Parameters containing the following:
Variable User1 User2
login one two
passwd one1 two2
The HTTP request POST is a php script that reads HTTP_POST_VARS 'login'
and 'passwd' and tries to authenticate the user.
The ThreadGroup is as follows:
ThreadGroup
User Parameters = above
HTTP Request (POST) = the php script
As you can imagine, its not working.
Anyone could help me, please?
TIA,
Flavio Regis
Re: Trouble with Downloading File
Posted by khaing nyunt <kh...@yahoo.com>.
Do you suggest, that the content of this file is not received by jMeter? Or do
you want jMeter to save it on disk?
(Ans) It is downloaded from server. And I want Jmeter to save this file into disk.
Kai
---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
Re: Trouble with Downloading File
Posted by Michal Kostrzewa <M....@pentacomp.com.pl>.
> and I do not know how to handle to save "v" file in this case.Please help
Do you suggest, that the content of this file is not received by jMeter? Or do
you want jMeter to save it on disk?
Michal Kostrzewa
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trouble with Downloading File
Posted by Michal Kostrzewa <M....@pentacomp.com.pl>.
Hello ;),
> When I put in browser:
>
> http://localhost:8080/kailittle/v/?k=site.mp/page&MSISDN=123456. Just
> site.mp/page changes as different content viewed. Save Dialog comes up and
> save as v.mp file in disk. In jmeter, I have http request, and put
>
> name value
>
> k site.mp
>
> page home
>
> MSISDN 123456 and I do not know how to handle for "v" in this case.Please
> help me to get right one.
>
Hmmm... I wonder what do you want to do... I would do this that way:
path to sample = /kailittle/v
parameters:
name value
k site.mp/page
MSISDN 12341234
then your application should return content-type = whatever-it-wants and all
the content of selected file enclosed in response... jMeter will receive that
and you will be able to see it in listeners (e.g. result tree)
Do you want to save that file? What about v? v is a part of you path, isn't
it?
best regards
Michal Kostrzewa
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trouble with Downloading File
Posted by khaing nyunt <kh...@yahoo.com>.
Hello,
I have a problem with downloading file in Jmeter.
When I put in browser:
http://localhost:8080/kailittle/v/?k=site.mp/page&MSISDN=123456. Just
site.mp/page changes as different content viewed.Open Dialog comes
up with " you are downloading file v from ../kailittle.com. Would you like to open or save in disk". Then I can save the file v.mp in disk.
In Jmeter: I have http request, and put
name value
k site.mp/home
MSISDN 123456
and I do not know how to handle to save "v" file in this case.Please help me to get right one.
Thanks in advance.
Kai
---------------------------------
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
Re: Trouble with User Parameters
Posted by Mike Stover <ms...@apache.org>.
Yes, also see:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#User_Para
meters
-Mike
On 21 Oct 2002 at 23:48, Michal Kostrzewa wrote:
> > I´m trying to use JMeter1.8 to simulate multiple logins from diferent
> > users. I´ve created an User Parameters containing the following:
> >
> > Variable User1 User2
> > login one two
> > passwd one1 two2
>
> well, it looks, like you didn't add parameter to your request (at least you
> didn't mention about this)
> In your sampler, please add parameter "login" containing value ${login}
> Then it should work.
>
>
> best regards
> Michal Kostrzewa
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Trouble with User Parameters
Posted by Michal Kostrzewa <M....@pentacomp.com.pl>.
> I´m trying to use JMeter1.8 to simulate multiple logins from diferent
> users. I´ve created an User Parameters containing the following:
>
> Variable User1 User2
> login one two
> passwd one1 two2
well, it looks, like you didn't add parameter to your request (at least you
didn't mention about this)
In your sampler, please add parameter "login" containing value ${login}
Then it should work.
best regards
Michal Kostrzewa
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>