jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: response assertion: using multiple patterns
Date Thu, 24 Apr 2014 21:42:45 GMT
On 24 April 2014 21:26, mpistella <mpistella@kingsisle.com> wrote:
> sebb-2-2 wrote
>> On 24 April 2014 20:13, mpistella &lt;
>
>> mpistella@
>
>> &gt; wrote:
>>
>> Then there's something else wrong.
>>
>> Two adjacent "|" chars will match everything if using "Contains" and
>> the empty string if using "Matches"
>
> Aha! you are correct!
>
> I had it set to "contains" so it was just accepting everything.

It's always worth checking for both match and non-match.
The Java Sampler can be very useful for this, as it allows one to
return arbitrary strings in the response data.

> Regards
>
>
>
>
> --
> View this message in context: http://jmeter.512774.n5.nabble.com/response-assertion-using-multiple-patterns-tp4442287p5719888.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>

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


Mime
View raw message