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
Add a comment
|
2 Answers
CSS selector should be input[name="form_key"]
. You have input[name=form_key]
.
Double check that the form_key
element is present in the response using View Results Tree listener:
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.