0

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

IAmMilinPatel
7,7667 gold badges44 silver badges68 bronze badges
asked Jan 10, 2020 at 6:42

2 Answers 2

0

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

Kate Paulk
31.5k8 gold badges56 silver badges109 bronze badges
answered Jan 10, 2020 at 9:17
1
  • I tried but it didn't work. Commented Jan 10, 2020 at 14:35
0

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.

answered Jan 13, 2020 at 9:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.