On 29/09/2008, Fabien D. <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
>  I'm using jmeter to test REST WebService. I have done HTTP Request with
>  "get" method to view data, with "post" method to insert data.These two
>  methods are working well.
>
>  I want to update my data with "put" method, like "post" behavior excepted
>  the method (post -> put). And it's not working : the parameter send is null.

Are you expecting the parameters to be sent as the body of the put or
as part of the URL?
If the latter, you can add them to the path.

>  I  have searched and found that there were a problem with put method for
>  hold jmeter version. But i have the last one : 2.3.2.
>
>  So there is something special to do for put method???

PUT works OK in 2.3.2 provided you either:

* define the body as a file
* define the body as a parameter value with no name

If you define any parameters with a name in either the sampler or Http
defaults then nothing is sent.

This needs documenting or fixing for the next release ...

>  thank you in advance
>
>
>
>  --
>  View this message in context: 
> http://www.nabble.com/HTTP-PUT-problem-with-parameters-tp19720980p19720980.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to