On 4 February 2011 18:04, Deepak Shetty <[email protected]> wrote:
>>No, the variable is not a list of values.
> a rose by any other name :)
>>And what would it do if some matched and some did not?
> Id expect that the new set would have only the matched multiple values (and
> default if none matched).

Not sure I follow, but it sounds like you want to filter the input
variable set and produce a smaller output set.

>  I do not know if this is a good enough use case to
> ask for an enhancement , I had a regex that extracted out multiple values
> and found I couldn't use this without additional loop constructs - but it
> looks inconsistent that the Regex PostProcessor cant deal with the format it
> returns itself.

But it can deal with single variables, exactly the same as sample data.
And it can take a single input variable and generate a set of new
variables from it if required.

Seems to me that is perfectly consistent, whereas filtering the
variable set (if that's what you want) is a completely different
operation.

But if you want to request an enhancement to allow the RE PP to deal
with sets of variables, please fill in a Bugzilla request with exact
details and a use case.

> regards
> deepak
>
>
>
> On Fri, Feb 4, 2011 at 7:04 AM, sebb <[email protected]> wrote:
>
>> On 3 February 2011 23:20, Deepak Shetty <[email protected]> wrote:
>> > Hi
>> > When we select the Apply To Jmeter Variable Option along with Regex Post
>> > processor and the variable is actually a list of values  (a previous post
>>
>> No, the variable is not a list of values.
>>
>> The RE PP creates a set of variables each with its own value.
>>
>> > processor which returned multiple matches) , then what is the expected
>> > behavior? (actual looks like it just reads the variable directly).
>>
>> Yes, it uses the variable as the source rather than the headers or
>> body or whatever.
>>
>> > I would expect it to apply the regex to each matching result.
>>
>> And what would it do if some matched and some did not?
>>
>> > regards
>> > deepak
>> >
>>
>> ---------------------------------------------------------------------
>> 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