You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Bhadauria, Tarun Kumar" <ta...@zalando.de> on 2015/07/10 15:45:08 UTC

Login post request does not work

I had a look at similar questions here, but did not find any dynamic
parameter, session information etc which I need to get around using regular
expression extractor to login post request. The Network traffic on chrome
seems same. JMeter seems to pass all required parameters and and I also
have HTTP cookie manager set up (as depicted in snapshot).

here is the JMX script <http://justpaste.it/zalandoLogin>. I have struggled
with this seemingly simple use case for 1 day have been clueless so far.

[image: enter image description here]
Thanks
Tarun K

Re: Login post request does not work

Posted by "Bhadauria, Tarun Kumar" <ta...@zalando.de>.
extracting dynamic parameters did the trick. thanks

Thanks
Tarun K

On Sat, Jul 11, 2015 at 12:47 PM, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

>
>
> Am 10. Juli 2015 15:45:08 MESZ, schrieb "Bhadauria, Tarun Kumar" <
> tarun.kumar.bhadauria@zalando.de>:
> >I had a look at similar questions here, but did not find any dynamic
> >parameter, session information etc which I need to get around using
> >regular
> >expression extractor to login post request. The Network traffic on
> >chrome
> >seems same. JMeter seems to pass all required parameters and and I also
> >have HTTP cookie manager set up (as depicted in snapshot).
>
> I can't see an image. It was probably stripped of the mail.
>
> >
> >here is the JMX script <http://justpaste.it/zalandoLogin>. I have
> >struggled
> >with this seemingly simple use case for 1 day have been clueless so
> >far.
>
> There seem to be quite a few hardcoded parameters, that might be generated
> dynamically by the webapp. I think you will habe to extract those out of
> the earlier responses. To extract those values (__fp for example) you might
> use a regular expression extractor or a xpath extractor.
>
> Regards,
> Felix
> >
> >[image: enter image description here]
> >Thanks
> >Tarun K
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: Login post request does not work

Posted by Felix Schumacher <fe...@internetallee.de>.

Am 10. Juli 2015 15:45:08 MESZ, schrieb "Bhadauria, Tarun Kumar" <ta...@zalando.de>:
>I had a look at similar questions here, but did not find any dynamic
>parameter, session information etc which I need to get around using
>regular
>expression extractor to login post request. The Network traffic on
>chrome
>seems same. JMeter seems to pass all required parameters and and I also
>have HTTP cookie manager set up (as depicted in snapshot).

I can't see an image. It was probably stripped of the mail. 

>
>here is the JMX script <http://justpaste.it/zalandoLogin>. I have
>struggled
>with this seemingly simple use case for 1 day have been clueless so
>far.

There seem to be quite a few hardcoded parameters, that might be generated dynamically by the webapp. I think you will habe to extract those out of the earlier responses. To extract those values (__fp for example) you might use a regular expression extractor or a xpath extractor. 

Regards, 
Felix 
>
>[image: enter image description here]
>Thanks
>Tarun K


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