On 14/10/2009, The_S <[email protected]> wrote:
>
>  Hi,
>
>  how could I loop over a sampler (WebService-Request), until the request
>  returns a specified value?

Sounds like a job for the While Controller:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller

>  Example:
>
>  Step1: send request
>  Step2: if request equal to 'abc'
>  |--- throw an error and go to next sampler

If the request is wrong, why generate it in the first place?
Perhaps you meant "response", in which case:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Response_Assertion

>  Step3: else if request equal to 'xyz'
>  |--- success, go to next sampler
>  Step4: else
>  |--- wait 5 seconds and go to Step1

>  thanking you in anticipation
>
> --
>  View this message in context: 
> http://www.nabble.com/Loop-over-a-sampler-until-return-message-equal-to-%27X%27-tp25887777p25887777.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to