jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Re: [JMeter] Issue 51861 - Improve HTTP Request GUI to better show parameters without name (Raw Body)
Date Sun, 09 Oct 2011 09:41:06 GMT
Hello Sebb,
Regarding this, if we add a checkbox in Request Sampler GUI to indicate to
user that merge will occur on request.
This would be checked by default unless user switches to RAW body, if switch
is accepted, checkbox is unchecked

So we would have this behaviour:

   - RAW body used, no merge
   - Post Parameter , merge occurs


What's your opinion, do you see other issues ?
Thanks

Regards
Philippe

On Wed, Sep 28, 2011 at 4:52 PM, sebb <sebbaz@gmail.com> wrote:

> If HttpDefaults and HttpRequest both use Parameters, then the body is
> created from both sets of parameters.
>
> When the body is being built, if any of the parameters have names,
> only named parameters are kept.
> Any unnamed parameters are ignored.
> It's not possible to mix named and unnamed parameters; named
> parameters take precedence.
>
> If both test elements have unnamed variables only, then the body is
> created from the merging of the two sets of values.
>
> That is existing behaviour, and cannot be changed without potentially
> affecting users.
>
> Now the raw body option is currently handled as an un-named parameter.
> This means that the a Raw HTTP Request will be ignored if there is a
> named default parameter, and unnamed default parameters will be
> appended to the body.
>
> That does not seem right; I would expect the raw option to provide the
> complete body.
>
> This will mean a change to the way defaults are handled.
>
> I think this needs more discussion.
>
> It could take a while to resolve the issues and debug the code, so I
> think it will have to wait for a later version of JMeter; I've held up
> the current one long enough!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: dev-help@jakarta.apache.org
>
>


-- 
Cordialement.
Philippe Mouawad.

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