2

I tried multiple user sign ups using Sign-up API (POST Method) with parameterization. But It's not working.

  1. I have set the CSV Data set Config enter image description here

  2. Added the variable names in Param value enter image description here

  3. Added a HTTP Header Manager to define the content type (application/json) enter image description here

  4. My CSV sheet: enter image description here

  5. Added Cookie Manager: enter image description here

  6. The error shows Param not found enter image description here

  7. Output in Debug Sampler: enter image description here

enter image description here

Will be much appreciated If anyone could help me find the mistake I am making. I am new to JMeter so It's fairly possible I am missing out something.

1 Answer 1

1

Most probably you need to add HTTP Header Manager and configure it to send Content-Type header with the value of application/json, it might be the case that your API treats the request body as the plain text hence cannot parse the provided data.

enter image description here

2
  • Hi, Can you please tell me how to do that? I mean sharing a short example/reference would be great! Thank you. Apr 2, 2021 at 11:07
  • Hi, In step-3 (Shared the screenshot) I did the same. But, If I need to configure anything there further, Can you please tell me how to do that? I mean sharing a short example/reference would be great! Thank you. Thank you. Apr 2, 2021 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.