I want to changing test tool from postman to jmeter.
Usual body format was raw-json, I did well without any problems. But this case I should change form-data.
First, Postman confirmed response(return 200) and data check in db(maria-db). But it continues to fail in jmeter.
Below is the data I saved in postman. enter image description here
I configured jmeter as shown in the picture, but it doesn't work. Help me enter image description here
I changed config many time.
Your Postman example is not a raw\JSON request.
It's a form that has an JSON string in the value.
If needed, the header needs to be set to "multipart/form-data".
You add the elements to the request using the "Use multipart/form-data" option (as you have selected in your second screenshot) and then use the parameter tab (with the name being the key, and the value being the JSON) rather than the "Body Data" tab.
Here is my example, sending data to Postman Echo.
Using the JMeter proxy as a way of recording a Postman request is a decent way of working out what a request needs if you are not sure.
You can also use the code snippets options in Postman which will show you the code for different programming languages included CURL (which will show something like the following)
You can then import that into JMeter using "Import from cURL" under the tools menu.
This created an nearly identical request to the one I setup manually.