Jmeter does not send JSON data in POST

To send a POST HTTP Request with the JSON Data inside the body, need to add,

  • HTTP Header Manger into your request and set the name as ‘content-type’ and value as ‘application/json’ this will attached into HTTP request header and what ever the data inside your request body will send as json format.

Image 1:Set HTTP Header Manager,
enter image description here

Image 2:Set HTTP Request Body Data
enter image description here

Leave a Comment