Search code examples
jmeterweb-api-testing

"Post" method test result error in JMeter API testing


I tried to run a POST method for API testing in JMeter, I have sent the parameters as needed, but still it shows cannot post.

What should I do to make it work?

user add post request

response message


Solution

  • In the post request, you need to provide server name or IP address and port number respectively. If it still doesn't work, try changing the path by adding /api then /user/data. it works in some cases. Hope this works out!