You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Manish Sapariya <ms...@gmail.com> on 2014/05/28 14:10:20 UTC

not able to login to wordpress using jMeter

<http://stackoverflow.com/questions/23910677/jmeter-not-able-to-login-to-wordpress#>

I am trying to create a jMeter test to login to wordpress and post a new
blog on a local installation of wordpress.

Recorded wordpress login sequence using the recorder. Added cookie manager
to the test plan.

However I am not able to login to wordpress. I tried all the possible of
combination of Cookie policy and Implementation settings for Cookie
manager, but it did not help.

When I recorded against the publicly hosted wordpress, the login did not
succeed, but the response had an error saying that your browser have not
enabled cookies.

I am using jMeter 2.11 on Windows 7.

Does wordpress login need more than cookies, may be some kind
of server generated token. But I do not see any such information in
any of the responses to login request.


Thanks and Regards,
Manish

Looking ahead to a fantastic 2014! Here is a *short video
<http://showcase.kpoint.com/kapsule/gcc-ea0610d2-e2f0-4169-87c4-140225a5c230>*about
how far we came in 2013.
*Create Discoverable Videos <http://www.kpoint.com/plans/>* |
@manishsapariya

Re: not able to login to wordpress using jMeter

Posted by Manish Sapariya <ms...@gmail.com>.
Ahh.. Perfect.

Thanks a lot.

Regards,
Manish

Looking ahead to a fantastic 2014! Here is a *short video
<http://showcase.kpoint.com/kapsule/gcc-ea0610d2-e2f0-4169-87c4-140225a5c230>*about
how far we came in 2013.
*Create Discoverable Videos <http://www.kpoint.com/plans/>* |
@manishsapariya


On Wed, May 28, 2014 at 7:15 PM, Shmuel Krakower <sh...@gmail.com> wrote:

> From my experience using JMeter 2.10 I've done the following to make it
> through the WP SAML authentication.
> It will apply to your case if when running the test you see in the jmeter
> logs an error of invalid cookies.
>
> If you do, that's what I've added to my user.properties file:
>
> # Workaround for invalid cookies set during SSO in single site installation
> # As described in:
>
> http://jmeter.512774.n5.nabble.com/cookie-manager-not-working-td4430955i20.html
> CookieManager.check.cookies=false
>
> Shmuel Krakower.
> www.Beatsoo.org - re-use your jmeter scripts for application performance
> monitoring from worldwide locations for free.
>
>
> 2014-05-28 15:10 GMT+03:00 Manish Sapariya <ms...@gmail.com>:
>
> > <
> >
> http://stackoverflow.com/questions/23910677/jmeter-not-able-to-login-to-wordpress#
> > >
> >
> > I am trying to create a jMeter test to login to wordpress and post a new
> > blog on a local installation of wordpress.
> >
> > Recorded wordpress login sequence using the recorder. Added cookie
> manager
> > to the test plan.
> >
> > However I am not able to login to wordpress. I tried all the possible of
> > combination of Cookie policy and Implementation settings for Cookie
> > manager, but it did not help.
> >
> > When I recorded against the publicly hosted wordpress, the login did not
> > succeed, but the response had an error saying that your browser have not
> > enabled cookies.
> >
> > I am using jMeter 2.11 on Windows 7.
> >
> > Does wordpress login need more than cookies, may be some kind
> > of server generated token. But I do not see any such information in
> > any of the responses to login request.
> >
> >
> > Thanks and Regards,
> > Manish
> >
> > Looking ahead to a fantastic 2014! Here is a *short video
> > <
> >
> http://showcase.kpoint.com/kapsule/gcc-ea0610d2-e2f0-4169-87c4-140225a5c230
> > >*about
> > how far we came in 2013.
> > *Create Discoverable Videos <http://www.kpoint.com/plans/>* |
> > @manishsapariya
> >
>

Re: not able to login to wordpress using jMeter

Posted by Shmuel Krakower <sh...@gmail.com>.
>From my experience using JMeter 2.10 I've done the following to make it
through the WP SAML authentication.
It will apply to your case if when running the test you see in the jmeter
logs an error of invalid cookies.

If you do, that's what I've added to my user.properties file:

# Workaround for invalid cookies set during SSO in single site installation
# As described in:
http://jmeter.512774.n5.nabble.com/cookie-manager-not-working-td4430955i20.html
CookieManager.check.cookies=false

Shmuel Krakower.
www.Beatsoo.org - re-use your jmeter scripts for application performance
monitoring from worldwide locations for free.


2014-05-28 15:10 GMT+03:00 Manish Sapariya <ms...@gmail.com>:

> <
> http://stackoverflow.com/questions/23910677/jmeter-not-able-to-login-to-wordpress#
> >
>
> I am trying to create a jMeter test to login to wordpress and post a new
> blog on a local installation of wordpress.
>
> Recorded wordpress login sequence using the recorder. Added cookie manager
> to the test plan.
>
> However I am not able to login to wordpress. I tried all the possible of
> combination of Cookie policy and Implementation settings for Cookie
> manager, but it did not help.
>
> When I recorded against the publicly hosted wordpress, the login did not
> succeed, but the response had an error saying that your browser have not
> enabled cookies.
>
> I am using jMeter 2.11 on Windows 7.
>
> Does wordpress login need more than cookies, may be some kind
> of server generated token. But I do not see any such information in
> any of the responses to login request.
>
>
> Thanks and Regards,
> Manish
>
> Looking ahead to a fantastic 2014! Here is a *short video
> <
> http://showcase.kpoint.com/kapsule/gcc-ea0610d2-e2f0-4169-87c4-140225a5c230
> >*about
> how far we came in 2013.
> *Create Discoverable Videos <http://www.kpoint.com/plans/>* |
> @manishsapariya
>