You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Felix Schumacher <fe...@internetallee.de> on 2019/01/05 20:39:26 UTC

search and replace feature

Hi all,

while looking after Bug 63025 I saw, that the only samplers that are 
"Replaceable" are HTTPSamplerBase and HeaderManager.

Shouldn't we extend the set of samplers further?

The second thing I noticed was the repetitive code that is used to do 
the replacement of the values. I think the new code in HTTPSamplerBase 
could be moved somewhere else (into the interface Replaceable?) and be 
reused from HeaderManager. What do you think?

Regards,

  Felix


Re: search and replace feature

Posted by Philippe Mouawad <ph...@gmail.com>.
On Saturday, January 5, 2019, Felix Schumacher <
felix.schumacher@internetallee.de> wrote:

> Hi all,
>
> while looking after Bug 63025 I saw, that the only samplers that are
> "Replaceable" are HTTPSamplerBase and HeaderManager.
>
> Shouldn't we extend the set of samplers further?


There are 2 reasons if I remember :

- it was an expertiment and intention was to have something working and
useful even if not complete and a basis to see if feature would be useful.
In my usage and feedback it ended up being useful
- My intention was to center the feature on correlation, that’s why it
concerns more http related elements



> The second thing I noticed was the repetitive code that is used to do the
> replacement of the values. I think the new code in HTTPSamplerBase could be
> moved somewhere else (into the interface Replaceable?) and be reused from
> HeaderManager. What do you think?


Yes, feel free to improve

>
> Regards,
>
>  Felix
>
>

-- 
Cordialement.
Philippe Mouawad.