jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: Sending Body with PUT
Date Fri, 10 Feb 2012 22:59:57 GMT
Hello,
CAN you open jmeter.log and search for this exception full stack trace ?

Maybe you should open à bug in Bugzilla attaching your most simple test
plan showing thé issue + jmeter.log and if public the Website you're
testing.
Please remove any confidential data.
Regards
Philippe

On Friday, February 10, 2012, Eric Olson <galactoise@gmail.com> wrote:
> 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
>

-- 
Cordialement.
Philippe Mouawad.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message