1

When I am signup/register using JMeter proxy it redirects to the login page in Magento 2. Previously I am having the issue when login but it gets solved(ref link: Login doesn’t work and it redirects again to login page in magento 2 using jmeter).

enter image description here

enter image description here

I followed the same procedure what I did for login but it doesn't work.

If I use signup for proxy, do I need to change any parameter for signup in JMeter when I run the record

1 Answer 1

2

Your "doesn't work" statement doesn't work for us as it doesn't provide enough details so we cannot come up with the comprehensive answer.

Most probably your request doesn't work due to the same form_key correlation problem, double check that it:

  1. Exists
  2. The value is the same as in the response for the /account/create request

I also don't know where did you get these phone_number and tcagreecreateaccount parameters, for my Magento 2 deployment they are not required, but the request is being sent in multipart form so try ticking Use multipart/form-data box:

enter image description here

the account is being created normally:

enter image description here

If this helps going forward consider Recording Tests instead of trying to copy paste requests from weird sources.

2
  • Thank you for your input.
    – Arul
    Commented Jan 10, 2020 at 6:28
  • In the above picture did you give the following value in the css selector extractor: Name of created variable: form_key CSS Selector expression:input[name=form_key] Attribute:value Match No (0 for Random) Default Value
    – Arul
    Commented Jan 17, 2020 at 9:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.