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 Wed, 28 Sep 2011 18:59:42 GMT
Hello Sebb,
Thanks for the analysis.
I agree with you and will try to handle these cases, do you prefer a
discussion in mailing list or in issue ?

No problem for me if it is not taken into account in this release provided
it is in next or not too far in the future so that patches are still valid
:-)
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.
Ubik-Ingénierie

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