I am working on Jmeter for testing a Magento application while using the CSS selector extractor and providing the following information. Please let me know if the parameters are correct. In the post request, I have replaced the form_key as ${form_key}. Please help.Reference link for the steps followed enter image description here

2 Answers 2


CSS selector should be input[name="form_key"]. You have input[name=form_key].

  • I tried but it didn't work.
    – Arul
    Jan 10, 2020 at 14:35

Double check that the form_key element is present in the response using View Results Tree listener:

enter image description here

Check out How to Debug your Apache JMeter Script for more information on getting to the bottom of your JMeter test problem.

It might be the case you're being redirected to a page which doesn't have this form_key parameter.

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.