jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: wait time for response
Date Wed, 24 Jun 2009 20:02:57 GMT
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.jethi@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message