jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ambrosetti Brolin <ambrosetti.nic...@gmail.com>
Subject assertion after module controller
Date Tue, 10 Dec 2013 09:20:18 GMT
Hi,

I'm trying to apply an assertion after a Module controller that runs a test
fragment with several samplers (two in fact). The assertion is applied to
all the samplers in the included test fragment, whereas I'd like to apply
it only to the last one.

I have tried saving the response of the last sampler in a variable and
asserting on that variable, but of course as the assertion is applied to
every sampler and the variable is undefined before the last sampler, the
previous samplers fail the assertion.

To summarize the structure of the test plans is as follows:

Thread group
    module controller -> test fragment
    assertion
Test fragment
    sampler 1
    sampler 2
        post processor saving response in variable

Any thoughts?

/Nicola

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