jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: assertion after while controller with embedded http sampler?
Date Thu, 10 Dec 2009 20:39:01 GMT
On 10/12/2009, Dirk Olmes <dirk@xanthippe.ping.de> wrote:
> Hi,
>
>  I'm setting up load test scenario for a web app that does HTTP meta
>  refresh. The user enters search criteria into a form and upon submit a
>  page is returned that has a refresh header, causing the browser to reload.
>
>  I'm using a while controller that has a child http sampler to poll the
>  refresh URL. I'm using a regex expression extractor to retrieve the
>  updated refresh URL from the previous sample.
>
>  Now my question: when the "refresh loop" ends and the result page is
>  displayed I want to add an assertion that the right page is displayed.
>  While I can identify the results page, I have no idea where to put the
>  assertion.
>
>  Any ideas?

...
Simple Controller
+ While Controller
+ Assertion

This should limit the Assertion to the previous sampler.


>  -dirk
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message