You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by shirodkar8_8_8_8 <sh...@gmail.com> on 2007/02/13 07:05:05 UTC
authentication testing for jmeter
i have a simple struts application.
as soon as we start the application the control is passed to the index page
which has two input fields 1) username 2) password . only if the username
and password are correct them the home page is displayed . if the login
parameters are incorrect then the index page is displayed back to the user..
now my question is how do i test the authentication index page in JMeter?
(is there any way i can pass the login parameters to the index page in
jmeter and check if it recognises the correct parameters)
--
View this message in context: http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8939022
Sent from the JMeter - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: [Bug 33964] authentication testing for jmeter
Posted by sebb <se...@gmail.com>.
On 15/02/07, shirodkar8_8_8_8 <sh...@gmail.com> wrote:
>
> how do i pass the login parameters ( login and password)?
> i tried passing them as send parameters with the request
>
> here is the screenshot image:
>
> http://www.nabble.com/file/6497/untitled.bmp
>
> sebb-2 wrote:
> >
> >
> > here is the response assertion window screenshot:
> > http://www.nabble.com/file/6498/untitled1.bmp
> >
> > here is the assertion result window which shows me the login page as the
> > url sampled instead of showing the wellcome page...
> >
> > http://www.nabble.com/file/6499/untitled2.bmp
> >
> > is this the right way of doing this?
> >
> > please help....
Please post such questions on the JMeter user list.
> >
> >
> >
> >
> >
> > Use a Response Assertion to check the page that is returned.
> >
> > On 13/02/07, shirodkar8_8_8_8 <sh...@gmail.com> wrote:
> >>
> >> i have a simple struts application.
> >>
> >> as soon as we start the application the control is passed to the index
> >> page
> >> which has two input fields 1) username 2) password . only if the
> >> username
> >> and password are correct them the home page is displayed . if the login
> >> parameters are incorrect then the index page is displayed back to the
> >> user..
> >>
> >> now my question is how do i test the authentication index page in JMeter?
> >> (is there any way i can pass the login parameters to the index page in
> >> jmeter and check if it recognises the correct parameters)
> >> --
> >> View this message in context:
> >> http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8939022
> >> Sent from the JMeter - Dev mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> >> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8980467
> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: [Bug 33964] authentication testing for jmeter
Posted by shirodkar8_8_8_8 <sh...@gmail.com>.
how do i pass the login parameters ( login and password)?
i tried passing them as send parameters with the request
here is the screenshot image:
http://www.nabble.com/file/6497/untitled.bmp
sebb-2 wrote:
>
>
> here is the response assertion window screenshot:
> http://www.nabble.com/file/6498/untitled1.bmp
>
> here is the assertion result window which shows me the login page as the
> url sampled instead of showing the wellcome page...
>
> http://www.nabble.com/file/6499/untitled2.bmp
>
> is this the right way of doing this?
>
> please help....
>
>
>
>
>
>
> Use a Response Assertion to check the page that is returned.
>
> On 13/02/07, shirodkar8_8_8_8 <sh...@gmail.com> wrote:
>>
>> i have a simple struts application.
>>
>> as soon as we start the application the control is passed to the index
>> page
>> which has two input fields 1) username 2) password . only if the
>> username
>> and password are correct them the home page is displayed . if the login
>> parameters are incorrect then the index page is displayed back to the
>> user..
>>
>> now my question is how do i test the authentication index page in JMeter?
>> (is there any way i can pass the login parameters to the index page in
>> jmeter and check if it recognises the correct parameters)
>> --
>> View this message in context:
>> http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8939022
>> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8980467
Sent from the JMeter - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
Re: authentication testing for jmeter
Posted by sebb <se...@gmail.com>.
Use a Response Assertion to check the page that is returned.
On 13/02/07, shirodkar8_8_8_8 <sh...@gmail.com> wrote:
>
> i have a simple struts application.
>
> as soon as we start the application the control is passed to the index page
> which has two input fields 1) username 2) password . only if the username
> and password are correct them the home page is displayed . if the login
> parameters are incorrect then the index page is displayed back to the user..
>
> now my question is how do i test the authentication index page in JMeter?
> (is there any way i can pass the login parameters to the index page in
> jmeter and check if it recognises the correct parameters)
> --
> View this message in context: http://www.nabble.com/authentication-testing-for-jmeter-tf3218805.html#a8939022
> Sent from the JMeter - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org