When signup using jmeter it redirects to login page in magento 2?



  • 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



  • 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.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2