0

I am new to JMeter. I tried to record login or sign-up using the JMeter proxy in Magento 2.2.7 and I tried to view the result in the JMeter, but in JMeter. I'm unable to get the response of the login page success. Please find the screenshot:

enter image description here

1 Answer 1

1

Most probably you sending incorrect (recorded?) form_key parameter.

You need to extract this form_key from the previous response using i.e. CSS Selector Extractor:

enter image description here

and replace recorded value of the form_key request parameter with the appriate JMeter Variable:

enter image description here

Don't forget to add HTTP Cookie Manager to your Test Plan

Once done you should be able to log in successfully:

enter image description here

More information: How to Load Test CSRF-Protected Web Sites

1

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.