jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: Global response assertion?
Date Thu, 14 Jul 2005 17:13:34 GMT
Assertions are applied to *every* sampler that is in scope:

Although it is only possible to *add* an Assertion as the child of a
sampler, once added it can be moved elsewhere.


Sample 1
-- assertion
Sample 2

could be changed to

Sample 1
Sample 2

or indeed

Sample 1
Sample 2

Assertions usually only make sense for one Sampler, which I guess is
why they are not available in the drop-down list elsewhere in the test

To restrict the Assertion to a set of Samplers, put them all under the
same Controller (e.g. a Simple Controller)

On 7/14/05, Curelea, Alexandru <> wrote:
> Hi,
> Is it possible to add a "global" response assertion in JMeter?  By this I mean a single
assertion per test plan, that is checked for every single (in my case) HTTP Request?
> For example, I would like to add an assertion that checks that "Internal error" never
shows up on any of the pages returned by the server (rather than adding this assertion to
every single request).
> I've gone through the documentation, tried to search the mailing list archive, and tried
to figure out a way to do it in JMeter itself, and it doesn't seem possible, but I'm hoping
I missed something.
> Thanks,
> Alex
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message