On 24 April 2014 21:26, mpistella <[email protected]> wrote: > sebb-2-2 wrote >> On 24 April 2014 20:13, mpistella < > >> mpistella@ > >> > 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: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
