Typically you use Equals when you are asserting a response code or response
message (and rarely response text unless it just returns something like
success/false)
So if you had a test that accesses a secured page without logging in you say
in the Assertion
choose Response Code , Equals and 401 in the Patterns to test.

For the difference between matches and contains you need to read up on
regular expressions. (equals and substrings are not regex based comparisons
, but contains and matches are regex based)

Contains is any match anywhere in the value being tested . Matches is the
test must match the while string
If you are testing the string Ankush
k.?s will satisfy contains but fail matches.
.*?k.?s.*? will satisfy both

regards
deepak






On Wed, Jun 24, 2009 at 11:58 AM, ankush jethi <ankush.je...@gmail.com>wrote:

> Hi all,
>
> How much is the default wait time for jmeter when it executes the script.
> Means for how long by default i waits for the response. also is there any
> option to change that.
>
> --
> Regards
> Performance learner
>

Reply via email to