jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Assert Regular Expression Extractor result
Date Wed, 23 Mar 2011 19:29:40 GMT
On 23 March 2011 17:02, sebb <sebbaz@gmail.com> wrote:
> On 23 March 2011 15:40, Andrei Ghimus <ghimus@gmail.com> wrote:
>> I replied too soon.
>>
>> The "Size in bytes:" field doesn't accept a variable as input.
>
> It should do. Are you sure you entered the correct variable name(s)?
>
> What error message are you getting?

It looks like there is validation on the field after all, so you will
have to use a BSF or BSH Assertion.

>> Is there any way around this?
>>
>> On Wed, Mar 23, 2011 at 5:35 PM, Andrei Ghimus <ghimus@gmail.com> wrote:
>>
>>> Thank you, sebb!
>>>
>>> On Wed, Mar 23, 2011 at 4:56 PM, sebb <sebbaz@gmail.com> wrote:
>>>
>>>> On 23 March 2011 14:54, Andrei Ghimus <ghimus@gmail.com> wrote:
>>>> > Hi all.
>>>> >
>>>> > There's something I don't understand how to do in JMeter.
>>>> >
>>>> > I have a Regular Expression Extractor:
>>>> >
>>>> > Ref name: folderItemsCount
>>>> > Regex: folderItemsCount=(.*)
>>>> >
>>>> > Assuming ${folderItemsCount} is an integer,
>>>> > how can I verify that it is greater than 20 (or any other value), and
if
>>>> > not, fail the sample?
>>>> >
>>>>
>>>> http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Size_Assertion
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>>
>>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message