Hi,

I'm trying to use an HTTP sampler to send a PUT request, but I can't get it
to accept my payload, nor can I get it to accept an empty body.  In both
cases I get the following error:

Response code: Non HTTP response code: java.lang.NullPointerException
Response message: Non HTTP response message: charsetName

This same request works fine when switched to POST - it seems to only be
PUT that won't work.  I did some quick googling and found an article from
2008 claiming PUT doesn't work in JMeter (unless you load body from a file,
but I need the ability to dynamically alter the body).  That can't possibly
still be the case, can it?  I'm trying to send a json payload, and I've set
a header to override content type to application/json.

-Eric

Reply via email to